Function at 0x605050
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 0x60547a
nop
lea esi, [esi]
test ebx, ebx
je 0x605465
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
mov dword [ebx], 0x6df2a0
mov dword [ebx + 4], 0x6e1040
mov dword [ebx + 8], 0x6e1a8c
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 0x6054c0
cmp eax, 0x3fffffff
ja 0x6054cc
mov dword [esp], edi
call fcn.0063e270
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 0x6050f6
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.0057e8f0
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.0057e8f0
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.0057e8f0
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 0x6054b0
cmp eax, 0xaaaaaaa
ja 0x605503
mov dword [esp], edi
call fcn.0063e270
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 0x605490
mov dword [ebp - 0x2c], edi
mov edi, eax
nop
test edi, edi
je 0x605274
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 0x605250
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], 0x6e290c
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 0x6054a0
cmp eax, 0x4444444
ja 0x6054f3
mov dword [esp], edi
call fcn.0063e270
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 0x605484
mov dword [ebp - 0x2c], edx
mov edi, eax
nop
lea esi, [esi]
test edi, edi
je 0x6053c1
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 8]
mov dword [edi], 0x6e2958
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.0057e8f0
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], 0x6e2a78
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 0x605320
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 0x605465
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.00628020
sub esp, 0xc
mov ecx, eax
jmp 0x605433
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x605431
mov dword [ebx + 0x88], ecx
mov ecx, eax
jmp 0x605446
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x605444
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 0x605070
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x34]
jmp 0x6053d4
mov edi, dword [ebp - 0x34]
jmp 0x605283
mov dword [ebp - 0x34], 0
jmp 0x6052f7
mov dword [ebp - 0x34], 0
jmp 0x60522a
mov dword [ebp - 0x2c], 0
jmp 0x6050ca
call fcn.0062f960
mov esi, eax
mov dword [esp], esi
call fcn.0063e450
cmp dword [ebp + 0x10], ebx
je 0x605524
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
call dword [eax]
add dword [ebp + 0x10], 0x94
jmp 0x6054db
call fcn.0062f960
mov esi, eax
mov ecx, ebx
call fcn.0057e490
jmp 0x6054d3
call fcn.0062f960
mov esi, eax
mov ecx, dword [ebp - 0x38]
call fcn.0057ea00
mov ecx, dword [ebp - 0x3c]
call fcn.0057ea00
lea ecx, [ebx + 4]
call fcn.00586fb0
jmp 0x6054d3
call fcn.0063eac0
lea ecx, [ebx + 0x48]
mov esi, eax
call fcn.0060de90
jmp 0x60550a