Function at 0x419040
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x51e009
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x56a338]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a338]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
xor ebx, ebx
push 0x103
mov esi, edx
lea edx, [esp + 0x121]
push ebx
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x128], bl
call fcn.00435740
add esp, 0xc
push 6
mov edi, 0xf
push 0x561f8c
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.004053d0
mov dword [esp + 0x22c], ebx
push 6
push str.SHSoft
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.004053d0
mov byte [esp + 0x22c], 1
mov ebp, 0x104
mov eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
lea edx, [eax + 2]
jmp 0x419130
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419130
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x60]
call fcn.004021f0
lea eax, [esp + 0x90]
push eax
mov ecx, esi
mov byte [esp + 0x230], 2
call fcn.0040d2f0
add esp, 4
mov byte [esp + 0x22c], 4
cmp dword [esp + 0x70], 8
jb 0x419180
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042eca7
add esp, 4
mov ecx, str.PuddingZip
lea edi, [esp + 0x90]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.00408510
test al, al
jne 0x4191b4
mov ecx, str.SmartZip
call fcn.00408510
test al, al
je 0x4191c4
push 7
push str.ZhiNeng
lea ecx, [esp + 0x7c]
call fcn.004053d0
mov eax, dword [esp + 0x104]
mov edi, 0x10
cmp dword [esp + 0x118], edi
jae 0x4191e0
lea eax, [esp + 0x104]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x118]
lea ecx, [esp + 0x120]
push ecx
push edx
call fcn.0040bdf0
mov esi, 0xf
lea eax, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x419218
sub eax, edx
push eax
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x30]
call fcn.004053d0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x230], 5
call fcn.0040d240
add esp, 4
mov byte [esp + 0x22c], 7
cmp dword [esp + 0x40], edi
jb 0x41926c
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042eca7
add esp, 4
push ebp
lea eax, [esp + 0x120]
push ebx
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00435740
mov eax, dword [esp + 0x84]
add esp, 0xc
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x1c], ebp
jae 0x4192a2
lea eax, [esp + 0x78]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x120]
push edx
push ecx
call fcn.0040bdf0
lea eax, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4192d5
sub eax, edx
push eax
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x60]
call fcn.004053d0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x230], 8
call fcn.0040d240
add esp, 4
mov byte [esp + 0x22c], 0xa
cmp dword [esp + 0x70], edi
jb 0x419329
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042eca7
add esp, 4
push ebp
lea edx, [esp + 0x120]
push ebx
push edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00435740
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], edi
mov dword [esp + 0x1c], ebp
jae 0x419362
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x120]
push edx
push ecx
call fcn.0040bdf0
lea eax, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x419395
sub eax, edx
push eax
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x30]
call fcn.004053d0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x230], 0xb
call fcn.0040d240
add esp, 4
cmp dword [esp + 0x40], edi
jb 0x4193e1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042eca7
add esp, 4
lea esi, [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004117f0
mov byte [esp + 0x22c], 0xe
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x419444
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
cmp dword [esp + 0x1c], 1
lea eax, [esp + 0x14]
push eax
jne 0x4196b7
push 0xf013f
push ebx
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4195a2
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x419483
push eax
call esi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41948e
push eax
call esi
mov ebp, 8
cmp dword [esp + 0xfc], ebp
jb 0x4194ac
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0xe0], ebp
mov esi, 7
mov word [esp + 0xe8], bx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], esi
jb 0x4194e0
mov edx, dword [esp + 0xcc]
push edx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0xc4], ebp
mov word [esp + 0xcc], bx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], esi
jb 0x41950f
mov eax, dword [esp + 0xb0]
push eax
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0xa8], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x41953e
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0x8c], edi
mov esi, 0xf
mov byte [esp + 0x94], bl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], esi
jb 0x41956e
mov edx, dword [esp + 0x78]
push edx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x419813
mov eax, dword [esp + 0x104]
push eax
call fcn.0042eca7
add esp, 4
jmp 0x419813
mov eax, dword [esp + 0xb0]
mov ebp, 8
cmp dword [esp + 0xc4], ebp
jae 0x4195be
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push eax
push edx
call esi
test eax, eax
je 0x41960f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x4195fb
push eax
call esi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x419493
push eax
call esi
jmp 0x419493
cmp dword [esp + 0xe0], ebp
mov eax, dword [esp + 0xcc]
jae 0x419626
lea eax, [esp + 0xcc]
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push eax
push edx
call esi
test eax, eax
je 0x419658
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x4197b0
cmp dword [esp + 0xfc], ebp
mov eax, dword [esp + 0xe8]
jae 0x41966f
lea eax, [esp + 0xe8]
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x40]
push eax
call esi
test eax, eax
je 0x419774
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
lea esi, [esp + 0x28]
call fcn.004117d0
jmp 0x4197ce
push 0xf003f
push ebx
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419472
mov eax, dword [esp + 0xb0]
mov ebp, 8
cmp dword [esp + 0xc4], ebp
jae 0x4196f1
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push edx
call esi
test eax, eax
jne 0x4195df
cmp dword [esp + 0xe0], ebp
mov eax, dword [esp + 0xcc]
jae 0x41972d
lea eax, [esp + 0xcc]
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push edx
call esi
test eax, eax
jne 0x419641
cmp dword [esp + 0xfc], ebp
mov eax, dword [esp + 0xe8]
jae 0x419763
lea eax, [esp + 0xe8]
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push 0xf003f
jmp 0x41967b
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x4197c3
push eax
call esi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4197ce
push eax
call esi
lea ecx, [esp + 0xe4]
call fcn.004022c0
lea ecx, [esp + 0xc8]
call fcn.004022c0
lea ecx, [esp + 0xac]
call fcn.004022c0
lea ecx, [esp + 0x90]
call fcn.004058a0
lea ecx, [esp + 0x74]
call fcn.004058a0
lea ecx, [esp + 0x100]
call fcn.004058a0
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042eb95
add esp, 0x21c
ret 4