Function at 0x59e530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7933bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.004dc9b9
test eax, eax
je 0x59e57b
push 0xd1
push 0x711af8
call fcn.004e0811
test eax, eax
je 0x59e57b
int3
lea ecx, [ebp - 0x14]
call fcn.004e147d
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004e147d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
call fcn.004e6563
push eax
call fcn.004e125c
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.004db22b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
jmp 0x59e5c5
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], 0
je 0x59ee1e
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.004dcdd8
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.004db087
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.004db087
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004db087
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
call fcn.004db087
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
je 0x59e6a3
lea ecx, [ebp - 0x44]
call fcn.004e147d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004db56e
push eax
call fcn.004e6563
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x59e678
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x712c4c
lea edx, [ebp - 0x44]
push edx
call fcn.004e322d
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x59e68b
push 0
push 0x712c4c
lea ecx, [ebp - 0x44]
push ecx
call fcn.004e322d
add esp, 0xc
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x30]
call fcn.004dcc7a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.004dfd17
lea ecx, [ebp - 0x3c]
call fcn.004e147d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004e147d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004e147d
mov byte [ebp - 4], 9
push 5
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
je 0x59edc5
lea ecx, [ebp - 0x34]
call fcn.004dd37d
movzx ecx, al
test ecx, ecx
jne 0x59edc5
push 6
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jne 0x59e718
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004e34d0
push 0
push 0x20
lea ecx, [ebp - 0x34]
call fcn.004de6f6
cmp eax, 0xffffffff
je 0x59e73d
push 0xfa
push 0x711b30
call fcn.004e0811
test eax, eax
je 0x59e73d
int3
push 0
lea ecx, [ebp - 0x2c]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59e7b3
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
cmp dword [ebp + 8], 0
je 0x59e84d
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._sDefaultIcon
lea eax, [ebp - 0x10]
push eax
call fcn.004e322d
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59e84d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x6c]
call edx
test eax, eax
je 0x59e877
lea ecx, [ebp - 0x10]
call fcn.004dd37d
movzx eax, al
test eax, eax
je 0x59ea6c
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.004e322d
add esp, 0x10
push 0
push str._open___1___
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59e908
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
cmp dword [ebp + 8], 0
je 0x59ea5d
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.004e322d
add esp, 0x10
push 0
push str._print___1___
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59e9a3
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.004e322d
add esp, 0x10
push 0
push str._printto___1____2____3____4___
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59ea34
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
push str.__dde
lea ecx, [ebp - 0x20]
call fcn.004e0cc6
push str.__dde
lea ecx, [ebp - 0x38]
call fcn.004e0cc6
push str.__dde
lea ecx, [ebp - 0x28]
call fcn.004e0cc6
jmp 0x59ea6a
push str.___1_
lea ecx, [ebp - 0x20]
call fcn.004e0cc6
jmp 0x59ea99
push str.___1_
lea ecx, [ebp - 0x20]
call fcn.004e0cc6
cmp dword [ebp + 8], 0
je 0x59ea99
push str.__p___1_
lea ecx, [ebp - 0x38]
call fcn.004e0cc6
push str.__pt___1____2____3____4_
lea ecx, [ebp - 0x28]
call fcn.004e0cc6
push str.command
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.004e322d
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59eb2e
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
cmp dword [ebp + 8], 0
je 0x59ec62
push str.command
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.004e322d
add esp, 0x10
push 0
lea ecx, [ebp - 0x38]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59ebcd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
push str.command
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.004e322d
add esp, 0x10
push 0
lea ecx, [ebp - 0x28]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59ec62
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
push 4
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x6c]
call edx
lea ecx, [ebp - 0x3c]
call fcn.004dd37d
movzx eax, al
test eax, eax
jne 0x59edc5
push 0
lea ecx, [ebp - 0x3c]
call fcn.004e2189
movzx ecx, ax
cmp ecx, 0x2e
je 0x59ecae
push 0x151
push 0x711b68
call fcn.004e0811
test eax, eax
je 0x59ecae
int3
mov dword [ebp - 0x4c], 0x208
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004e58d4
push eax
lea ecx, [ebp - 0x3c]
call fcn.004db56e
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0x48], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004debe2
cmp dword [ebp - 0x48], 0
jne 0x59ed17
lea ecx, [ebp - 0x10]
call fcn.004dd37d
movzx edx, al
test edx, edx
jne 0x59ed17
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004e5082
add esp, 8
movzx edx, al
test edx, edx
je 0x59edc5
push 0
lea ecx, [ebp - 0x34]
call fcn.004db56e
push eax
lea ecx, [ebp - 0x3c]
call fcn.004db56e
push eax
call fcn.004db640
test eax, eax
jne 0x59ed8d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
cmp dword [ebp + 8], 0
je 0x59edc5
lea ecx, [ebp - 0x3c]
call fcn.004db56e
push eax
push str._sShellNew
lea eax, [ebp - 0x10]
push eax
call fcn.004e322d
add esp, 0xc
push str.NullFile
push 0x712d9c
lea ecx, [ebp - 0x10]
call fcn.004db56e
push eax
call fcn.004db640
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004dfd17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.004dfd17
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004dfd17
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004dfd17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004dfd17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dfd17
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004dfd17
jmp 0x59e5bc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004dfd17
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004dfd17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4