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

Disassembly:
push esi
sub esp, 0x160
mov eax, dword [esp + 0x168]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0xa8], eax
cmp eax, ecx
jb 0x54fa60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edx, eax
sub edx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0xac], edx
cmp eax, ecx
jbe 0x54fa6a
jmp 0x54fa65
jmp 0x54fb06
jmp 0x54fb06
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], edx
add edx, esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov ecx, eax
add ecx, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], 4
mov al, byte [eax + 0x18]
mov byte [esp + 0xd3], al
movzx eax, al
sub eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0xd4], eax
jmp 0x54fb29
mov eax, dword [esp + 0x54]
mov edx, dword [0x607970]
mov ecx, dword [0x607974]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [eax], 0
jmp 0x54fdf3
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00541580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xd8], edx
mov dl, byte [edx + esi]
mov byte [esp + 0xdf], dl
movzx edx, dl
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00544dc0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
cmp dword [esp + 0x70], 1
jne 0x54fbae
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe0], eax
add eax, 1
add eax, dword [ecx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov cl, byte [ecx + 0x18]
mov byte [esp + 0xe6], cl
movzx ecx, cl
cmp eax, ecx
jae 0x54fbc9
jmp 0x54fbc7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x10]
mov dword [ecx + 0xc], edx
mov dword [eax], 0
jmp 0x54fdf1
jmp 0x54fc28
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov dl, byte [eax + 0x18]
mov byte [esp + 0xe7], dl
movzx edx, dl
sub ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xe8], ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x24], esi
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xfc], eax
cmp eax, ecx
jb 0x54fc4e
jmp 0x54fc2d
jmp 0x54f9f1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, eax
sub edx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x100], edx
cmp eax, ecx
jbe 0x54fc58
jmp 0x54fc53
jmp 0x54fdcb
jmp 0x54fdcb
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x104], edx
add edx, esi
mov dword [esp + 0x108], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x10c], ecx
mov ecx, eax
add ecx, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0x110], ecx
mov al, byte [eax + 0x18]
mov byte [esp + 0x117], al
movzx eax, al
mov dword [esp + 0x14], eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], 4
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], 4
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x134], 1
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x154], ecx
cmp eax, 4
jbe 0x54fd63
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 8], 0x607988
mov dword [eax + 4], 4
call fcn.005f6e60
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x88]
mov dword [esp + 0x130], edx
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00545c00
test al, 1
jne 0x54fdcf
jmp 0x54fdcd
jmp 0x54fdec
jmp 0x54fdec
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x54fdf1
jmp 0x54fc28
jmp 0x54fdf3
mov eax, dword [esp + 0x58]
add esp, 0x160
pop esi
ret