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

Disassembly:
push 0xffffffffffffffff
push 0x57f631
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x188]
push 1
mov ebp, ecx
mov dword [esp + 0x1c], eax
call fcn.0041fab0
xor ebx, ebx
push ebx
mov ecx, ebp
call fcn.0041f770
push 0xffffffffffffffff
lea eax, [ebp + 0x54]
push ebx
push eax
lea ecx, [esp + 0x44]
mov dword [ebp + 0xe4], 2
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0040a080
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x180], ebx
mov dword [esp + 0x14], ecx
xor edi, edi
lea esi, [ebp + 0x118]
lea esp, [esp]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x42087c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42087c
push edi
mov ecx, esi
call fcn.0041e330
cmp byte [eax + 0x59], 0
jne 0x420856
add edi, 1
jmp 0x420820
push edi
mov ecx, esi
call fcn.0041e330
push 0xffffffffffffffff
add eax, 0x20
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.0040a080
push edi
mov ecx, esi
call fcn.0041e330
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x18]
mov ecx, str._g0W
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4208ad
cmp dx, bx
je 0x4208a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4208ad
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x420887
xor eax, eax
jmp 0x4208b2
sbb eax, eax
sbb eax, 0xffffffff
push 0x103
cmp eax, ebx
push ebx
lea eax, [esp + 0x79]
mov byte [esp + 0x78], 0
push eax
je 0x4209c3
call fcn.00552500
mov edi, 7
mov eax, esi
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4208f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.0040c2f0
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x54]
mov byte [esp + 0x180], 1
call fcn.0041d740
cmp dword [esp + 0x34], 8
mov byte [esp + 0x180], 3
jb 0x42093b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0055215c
add esp, 4
mov eax, 0x10
cmp dword [esp + 0x6c], eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], edi
jae 0x42095b
lea ebx, [esp + 0x58]
cmp dword [esp + 0x50], eax
mov edi, dword [esp + 0x3c]
jae 0x420969
lea edi, [esp + 0x3c]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp + 0x104]
test ebp, ebp
je 0x4209ad
push str.StartFindManual
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420991
mov edx, dword [esp + 0x14]
push 0
push esi
push edx
push ebx
jmp 0x4209aa
push str.SearchExePath
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4209ad
push 0
push esi
push ebx
lea ecx, [esp + 0x7c]
push ecx
push edi
call eax
cmp dword [esp + 0x6c], 0x10
jb 0x420a24
mov edx, dword [esp + 0x58]
push edx
call fcn.0055215c
add esp, 4
jmp 0x420a24
call fcn.00552500
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x50], 0x10
jae 0x4209da
lea edi, [esp + 0x3c]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp + 0x104]
cmp ebp, ebx
je 0x420a24
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartFindManual
push ebp
call ebx
test eax, eax
je 0x420a08
mov ecx, dword [esp + 0x14]
push 1
push esi
push ecx
push 0x59642c
jmp 0x420a21
push str.SearchExePath
push ebp
call ebx
test eax, eax
je 0x420a24
push 1
push esi
push 0x59642c
lea edx, [esp + 0x7c]
push edx
push edi
call eax
cmp dword [esp + 0x50], 0x10
jb 0x420a38
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00552d63
add esp, 0x170
ret 4