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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x220]
cmp dword [ecx + 0xc], 0
je 0x450685
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x51f154
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x51f154
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x51f154
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x51f154
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x51f154
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x51f154
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x51f154
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x51f154
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x51f154
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x51f154
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x51f154
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x51f154
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x51f154
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x51f154
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x51f154
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x51f154
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x51f154
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x51f154
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x51f154
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x51f154
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x51f154
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x51f154
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0x51f154
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x51f154
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x51f154
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0x51f154
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0x51f154
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0x51f154
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x51f154
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0x51f154
mov dword [esp + 0xfc], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x104], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x10c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x114], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x11c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x124], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x12c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x134], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x13c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x144], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x14c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x154], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x15c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x164], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x16c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x174], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x17c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x184], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x18c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x194], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x19c], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1a4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1ac], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1b4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1bc], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1c4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1cc], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1d4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1dc], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1e4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1ec], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1f4], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x1fc], 0
mov dword [esp + fcn.004041b0], 0x51f154
mov dword [esp + 0x204], 0
mov dword [esp + fcn.004041b0], 0x51f154
test ebp, ebp
mov dword [esp + 8], ebp
je 0x450691
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
xor esi, esi
mov ebx, ebp
cmp eax, edx
mov edi, edx
cmovb edi, esi
mov esi, edx
sub eax, edi
sub esi, eax
sub ebx, esi
ja 0x450697
lea edx, [eax + ebp]
jmp 0x450695
mov dword [eax + 4], 0
jmp 0x450751
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
lea eax, [edx + edx*2]
mov edx, 0xaaaaaaab
lea eax, [ecx + eax*4]
sub eax, esi
mul edx
mov eax, 0x40
shr edx, 3
add ebx, edx
cmp ebx, 0x40
cmovae ebx, eax
test ebx, ebx
je 0x450700
lea edi, [edx*4]
lea edi, [edi + edi*2]
sub ecx, edi
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edi, edx
mov ebp, ecx
cmovb ebp, esi
add ecx, 0xc
add esi, 0xc
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov dword [esp + edi*8 + 0xc], ebp
mov dword [esp + edi*8 + 0x10], eax
inc edi
cmp ebx, edi
jne 0x4506e0
mov eax, dword [esp + 8]
mov edx, 0x40
mov ecx, esp
cmp eax, 0x40
cmovb edx, eax
lea eax, [esp + 0xc]
push edx
push eax
push dword [esp + 0x230]
push ecx
mov eax, dword [esp + 0x23c]
call dword [eax + 0x10]
add esp, 0x10
movzx edx, byte [esp]
cmp dl, 4
jne 0x450756
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x224]
mov edx, ebx
call fcn.00450000
mov eax, dword [esp + 0x220]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x450777
movzx ecx, byte [esp + 3]
mov eax, dword [esp + 0x220]
movzx edi, word [esp + 1]
mov esi, dword [esp + 4]
mov byte [eax + 3], cl
mov word [eax + 1], di
mov byte [eax], dl
mov dword [eax + 4], esi
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret