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

Disassembly:
push 0xffffffffffffffff
push 0x5e46f9
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x204], eax
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov edi, dword [esp + 0x22c]
mov eax, dword [esp + 0x234]
mov esi, dword [esp + 0x228]
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call fcn.00524310
cmp eax, 3
jne 0x542312
mov ecx, dword [edi + 0x10]
test byte [ecx + 2], 1
je 0x542312
lea ecx, [esp + 0x54]
call fcn.004effc0
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x224], 0
call fcn.0056ad30
test eax, eax
je 0x5422fd
mov ax, word [esp + 0x74]
test al, 2
jne 0x54229c
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5422fd
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004f41c0
push eax
lea ecx, [esp + 0x34]
call fcn.004f6030
lea edx, [esp + 0x2c]
push edx
push esi
mov byte [esp + 0x228], 1
call fcn.0053d0d0
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x220], 0
call fcn.004f6120
lea ecx, [esp + 0x54]
mov dword [esp + 0x220], 0xffffffff
call fcn.004f08d0
mov eax, esi
jmp 0x54266d
or ebp, 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x220], ebp
call fcn.004f08d0
jmp 0x542315
or ebp, 0xffffffff
mov ecx, esi
call fcn.00524310
cmp eax, 3
jne 0x5423e0
mov eax, dword [esi + 0x10]
test byte [eax + 2], 1
je 0x5423e0
lea ecx, [esp + 0x78]
call fcn.004effc0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x224], 2
call fcn.0056ad30
test eax, eax
je 0x5423d0
mov ax, word [esp + 0x98]
test al, 2
jne 0x54236d
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5423d0
mov eax, dword [esp + 0x94]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x80]
call fcn.004f41c0
push eax
lea ecx, [esp + 0x44]
call fcn.004f6030
lea edx, [esp + 0x3c]
push edi
push edx
mov byte [esp + 0x228], 3
call fcn.0053b670
add esp, 8
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0x220], 2
call fcn.004f6120
lea ecx, [esp + 0x78]
mov dword [esp + 0x220], ebp
call fcn.004f08d0
mov eax, esi
jmp 0x54266d
lea ecx, [esp + 0x78]
mov dword [esp + 0x220], ebp
call fcn.004f08d0
push esi
lea ecx, [esp + 0xa0]
call fcn.00537160
lea ecx, [esp + 0x10]
mov dword [esp + 0x220], 4
call fcn.004f8ab0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x220], 5
cmp eax, dword [esp + 0xac]
ja 0x542518
lea ecx, [ecx]
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 6
mov eax, dword [esp + 0xbc]
jne 0x54249f
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 4]
jne 0x54244e
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 8]
je 0x5424f8
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00501fa0
add esp, 8
test eax, eax
je 0x5424f8
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x220], 6
test eax, eax
je 0x542496
mov ecx, dword [esp + 0xbc]
push ecx
mov ecx, eax
call fcn.004f71f0
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
jmp 0x5424e5
mov edx, dword [esp + 0x10]
xor esi, esi
push edx
jmp 0x5424e5
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00501e20
add esp, 8
test eax, eax
je 0x5424f8
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x220], 7
test eax, eax
je 0x5424de
mov edx, dword [esp + 0xbc]
push edx
mov ecx, eax
call fcn.004f29d0
mov esi, eax
jmp 0x5424e0
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 5
call fcn.005be2d0
mov dword [eax], esi
lea ecx, [esp + 0x9c]
call fcn.00536de0
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [esp + 0xac]
jbe 0x542420
cmp dword [esp + 0x10], 0
je 0x542644
push edi
lea ecx, [esp + 0x15c]
call fcn.00537160
mov edx, dword [esp + 0x164]
mov byte [esp + 0x220], 8
cmp edx, dword [esp + 0x168]
ja 0x542627
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x542604
mov ecx, dword [esp + 0x178]
nop
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
mov ecx, dword [esp + 0x178]
cmp eax, 6
jne 0x542583
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
jne 0x542583
mov edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 8]
je 0x5425d5
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov esi, dword [eax + ebp*4]
mov eax, dword [edx + 0x5c]
mov edi, ecx
call eax
mov edx, dword [esi]
cmp eax, 6
mov eax, dword [edx + 0x5c]
mov ecx, esi
jne 0x5425af
call eax
push esi
push edi
cmp eax, 6
jne 0x5425b8
call fcn.00540000
jmp 0x5425c6
call eax
cmp eax, 6
jne 0x5425bf
push edi
push esi
call fcn.0053c760
jmp 0x5425c6
push esi
push edi
call fcn.0053c8f0
add esp, 8
cmp eax, 1
jne 0x5425de
mov ecx, dword [esp + 0x178]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x542560
jmp 0x542604
cmp eax, 2
jne 0x542694
mov ecx, dword [esp + 0x178]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00541eb0
add esp, 8
test eax, eax
je 0x542694
lea ecx, [esp + 0x158]
call fcn.00536de0
mov eax, dword [esp + 0x164]
cmp eax, dword [esp + 0x168]
jbe 0x54254c
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004f8b10
lea ecx, [esp + 0x158]
mov byte [esp + 0x220], 5
call fcn.00536d20
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 4
call fcn.004f8ae0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x220], ebp
call fcn.00536d20
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005bf276
add esp, 0x214
ret
lea ecx, [esp + 0x10]
call fcn.004f8b10
lea ecx, [esp + 0x158]
mov byte [esp + 0x220], 5
call fcn.00536d20
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 4
call fcn.004f8ae0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x220], 0xffffffff
call fcn.00536d20
xor eax, eax
jmp 0x54266d