Function at 0x6051d0
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 0x6055fa
nop
lea esi, [esi]
test ebx, ebx
je 0x6055e5
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
mov dword [ebx], 0x6dfba0
mov dword [ebx + 4], 0x6e1940
mov dword [ebx + 8], 0x6e238c
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 0x605640
cmp eax, 0x3fffffff
ja 0x60564c
mov dword [esp], edi
call fcn.0063e3f0
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 0x605276
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.0057eb20
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.0057eb20
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.0057eb20
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 0x605630
cmp eax, 0xaaaaaaa
ja 0x605683
mov dword [esp], edi
call fcn.0063e3f0
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 0x605610
mov dword [ebp - 0x2c], edi
mov edi, eax
nop
test edi, edi
je 0x6053f4
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 0x6053d0
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], 0x6e320c
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 0x605620
cmp eax, 0x4444444
ja 0x605673
mov dword [esp], edi
call fcn.0063e3f0
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 0x605604
mov dword [ebp - 0x2c], edx
mov edi, eax
nop
lea esi, [esi]
test edi, edi
je 0x605541
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 8]
mov dword [edi], 0x6e3258
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.0057eb20
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], 0x6e3378
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 0x6054a0
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 0x6055e5
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.006281a0
sub esp, 0xc
mov ecx, eax
jmp 0x6055b3
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x6055b1
mov dword [ebx + 0x88], ecx
mov ecx, eax
jmp 0x6055c6
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x6055c4
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 0x6051f0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x34]
jmp 0x605554
mov edi, dword [ebp - 0x34]
jmp 0x605403
mov dword [ebp - 0x34], 0
jmp 0x605477
mov dword [ebp - 0x34], 0
jmp 0x6053aa
mov dword [ebp - 0x2c], 0
jmp 0x60524a
call fcn.0062fae0
mov esi, eax
mov dword [esp], esi
call fcn.0063e5d0
cmp dword [ebp + 0x10], ebx
je 0x6056a4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
call dword [eax]
add dword [ebp + 0x10], 0x94
jmp 0x60565b
call fcn.0062fae0
mov esi, eax
mov ecx, ebx
call fcn.0057e6c0
jmp 0x605653
call fcn.0062fae0
mov esi, eax
mov ecx, dword [ebp - 0x38]
call fcn.0057ec30
mov ecx, dword [ebp - 0x3c]
call fcn.0057ec30
lea ecx, [ebx + 4]
call fcn.005871e0
jmp 0x605653
call fcn.0063ec40
lea ecx, [ebx + 0x48]
mov esi, eax
call fcn.0060e010
jmp 0x60568a