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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
je 0x6065aa
nop
lea esi, [esi]
test ebx, ebx
je 0x606595
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
mov dword [ebx], 0x6e1ef4
mov dword [ebx + 4], 0x6e3c94
mov dword [ebx + 8], 0x6e46e0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, edi
sar eax, 2
test eax, eax
je 0x6065f0
cmp eax, 0x3fffffff
ja 0x6065fc
mov dword [esp], edi
call fcn.00640880
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
add edi, ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edi, edx
sub edi, eax
cmp edx, eax
je 0x606226
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [esi + 0x24]
add edi, dword [ebp - 0x2c]
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x10], edi
mov dword [esp], eax
call fcn.005800c0
sub esp, 4
mov eax, dword [ebx + 0x1c]
cmp dword [esi + 0x1c], eax
cmovbe eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x30], 0
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x28], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
call fcn.005800c0
sub esp, 4
mov eax, dword [ebx + 0x2c]
cmp dword [esi + 0x2c], eax
cmovbe eax, dword [esi + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x40], 0
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], 0
mov dword [ebp - 0x38], ecx
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call fcn.005800c0
mov eax, dword [ebx + 0x3c]
sub esp, 4
cmp dword [esi + 0x3c], eax
cmovbe eax, dword [esi + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x48]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x6065e0
cmp eax, 0xaaaaaaa
ja 0x606633
mov dword [esp], edi
call fcn.00640880
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add edi, eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], edi
mov edx, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
mov dword [ebp - 0x30], edx
cmp edx, edi
je 0x6065c0
mov dword [ebp - 0x2c], edi
mov edi, eax
nop
test edi, edi
je 0x6063a4
mov edx, dword [ebp - 0x2c]
lea eax, [edi + 8]
mov dword [edi], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
add ecx, eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, edi
call fcn.0042c9d0
sub esp, 8
add dword [ebp - 0x2c], 0x18
add edi, 0x18
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], eax
jne 0x606380
lea eax, [ebx + 0x5c]
mov dword [ebx + 0x4c], edi
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.0042c9d0
movzx eax, byte [esi + 0x6c]
mov edi, dword [esi + 0x74]
sub esp, 8
sub edi, dword [esi + 0x70]
mov dword [ebx], 0x6e5560
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x6c], al
mov eax, edi
sar eax, 2
imul eax, eax, 0xeeeeeeef
test eax, eax
je 0x6065d0
cmp eax, 0x4444444
ja 0x606623
mov dword [esp], edi
call fcn.00640880
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add edi, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], edi
mov edi, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov dword [ebp - 0x30], edi
cmp edi, edx
je 0x6065b4
mov dword [ebp - 0x2c], edx
mov edi, eax
nop
lea esi, [esi]
test edi, edi
je 0x6064f1
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 8]
mov dword [edi], 0x6e55ac
movzx eax, byte [edx + 4]
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov byte [edi + 4], al
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.005800c0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0xc]
sub esp, 4
cmp dword [ecx + 0xc], eax
cmovbe eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x18], 0x6e56cc
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x38], eax
add dword [ebp - 0x2c], 0x3c
add edi, 0x3c
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], eax
jne 0x606450
lea eax, [ebx + 0x80]
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov edx, dword [esi + 0x84]
test edx, edx
je 0x606595
lea edi, [ebp - 0x1c]
lea ecx, [ebx + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x1c], ecx
call fcn.00629150
sub esp, 0xc
mov ecx, eax
jmp 0x606563
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x606561
mov dword [ebx + 0x88], ecx
mov ecx, eax
jmp 0x606576
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x606574
mov edx, dword [esi + 0x90]
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x90], edx
add esi, 0x94
add ebx, 0x94
cmp dword [ebp + 0xc], esi
jne 0x6061a0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x34]
jmp 0x606504
mov edi, dword [ebp - 0x34]
jmp 0x6063b3
mov dword [ebp - 0x34], 0
jmp 0x606427
mov dword [ebp - 0x34], 0
jmp 0x60635a
mov dword [ebp - 0x2c], 0
jmp 0x6061fa
call fcn.006319a0
mov esi, eax
mov dword [esp], esi
call fcn.00640a60
cmp dword [ebp + 0x10], ebx
je 0x606654
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
call dword [eax]
add dword [ebp + 0x10], 0x94
jmp 0x60660b
call fcn.006319a0
mov esi, eax
mov ecx, ebx
call fcn.0057fc60
jmp 0x606603
call fcn.006319a0
mov esi, eax
mov ecx, dword [ebp - 0x38]
call fcn.005801d0
mov ecx, dword [ebp - 0x3c]
call fcn.005801d0
lea ecx, [ebx + 4]
call fcn.00588780
jmp 0x606603
call fcn.006410d0
lea ecx, [ebx + 0x48]
mov esi, eax
call fcn.0060efc0
jmp 0x60663a