Function at 0x4785c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d4f40
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518860]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x47860f
push 0x20000
push 0xd
lea ecx, [esp + 0x2c]
call fcn.0047da70
push 0x4fd7c4
lea eax, [esp + 0x28]
push eax
call fcn.004b3cc7
push str.APPLICATION
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0047d060
mov esi, eax
mov ecx, dword [esi]
cmp ecx, ebx
je 0x47893c
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x47893c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x47893c
mov edi, dword [esp + 0x84]
mov ebp, 0x10
mov ecx, dword [edi + 0x14]
push ebx
push 0x4d9da4
push ecx
push ebx
mov ecx, edi
call fcn.00477830
test eax, eax
mov ecx, esi
jne 0x478762
lea edx, [esp + 0x1c]
push edx
push 0x4e4328
call fcn.0047c3b0
test eax, eax
jne 0x47883b
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x1c], eax
jne 0x47883b
push str.subkey
mov ecx, esi
call fcn.0047c390
mov esi, eax
cmp esi, ebx
je 0x478855
mov edi, 0xf
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x4786d4
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.00448950
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x80], 2
call fcn.00477f80
add esp, 8
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x84], 3
call fcn.00448870
cmp dword [esp + 0x6c], ebp
jb 0x478732
mov eax, dword [esp + 0x58]
push eax
call fcn.0048efd6
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x78], 0xffffffff
jb 0x47886c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0048efd6
add esp, 4
jmp 0x47886c
push str.name
call fcn.0047c390
cmp eax, ebx
je 0x47883b
mov ecx, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x478790
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00448950
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x80], ebx
call fcn.00477f80
add esp, 8
cmp dword [edi + 0x18], ebp
mov ecx, dword [edi + 0x14]
mov byte [esp + 0x78], 1
jb 0x4787d1
mov edx, dword [edi + 4]
jmp 0x4787d4
lea edx, [edi + 4]
push ecx
mov ecx, dword [eax + 0x14]
push edx
push ecx
push ebx
mov ecx, eax
call fcn.00477830
test eax, eax
sete byte [esp + 0x84]
cmp dword [esp + 0x6c], ebp
jb 0x4787ff
mov edx, dword [esp + 0x58]
push edx
call fcn.0048efd6
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x78], 0xffffffff
jb 0x47882a
mov eax, dword [esp + 0x28]
push eax
call fcn.0048efd6
add esp, 4
cmp byte [esp + 0x84], bl
mov esi, dword [esp + 0x14]
jne 0x4786a8
mov ecx, esi
call fcn.0047bc30
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x47893c
mov esi, eax
jmp 0x478664
mov ecx, dword [esp + 0x88]
push ebx
push 0x4d9da4
call fcn.00448950
mov edi, 0xf
mov ecx, dword [esp + 0x14]
push str.folder
call fcn.0047c390
mov esi, eax
cmp esi, ebx
je 0x478928
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x478895
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.00448950
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x80], 4
call fcn.00477f80
add esp, 8
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x84], 5
call fcn.00448870
cmp dword [esp + 0x6c], ebp
jb 0x4788f3
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0048efd6
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x478912
mov edx, dword [esp + 0x28]
push edx
call fcn.0048efd6
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10
mov ecx, dword [esp + 0x8c]
push ebx
push 0x4d9da4
call fcn.00448950
jmp 0x478912
push 0x10000
push 0x65e
lea ecx, [esp + 0x48]
call fcn.0047da70
push 0x4fd7c4
lea eax, [esp + 0x44]
push eax
call fcn.004b3cc7
int3