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

Disassembly:
mov eax, 0x140
call fcn.0041ba40
push esi
mov esi, dword [esp + 0x148]
push edi
test esi, esi
je 0x5658ad
mov edi, dword [esi + 0x1bc]
test edi, edi
jne 0x565511
cmp dword [esi + 0x1c0], edi
je 0x5658ad
push 0x78
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042bf30
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
test edi, edi
jne 0x56553c
mov ecx, dword [esi + 0x1c0]
jmp 0x56553f
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov byte [esp + 0xd], cl
sar eax, 8
cmp dword [esi + 0x1b8], 0
mov byte [esp + 0xc], al
lea eax, [esp + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 2
mov dword [esp + 0x94], 0
mov dword [esp + 0x18], eax
je 0x5655b7
mov al, byte [esi + 0x1b8]
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x48]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x14c]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x170]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x16c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1b4]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1a8]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0x40], eax
test edx, edx
je 0x5656b1
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x565682
sub ecx, edi
mov dword [esp + 0xe0], edx
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x5656b9
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x5656ed
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x565703
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x1e0]
mov dword [esp + 0x58], eax
test edx, edx
je 0x56574f
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x565720
sub ecx, edi
mov dword [esp + 0x100], edx
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x565757
mov dword [esp + 0x60], 0
mov edx, dword [esi + 0x194]
test edx, edx
je 0x565795
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x565766
sub ecx, edi
mov dword [esp + 0x110], edx
lea eax, [esp + 0x108]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x56579d
mov dword [esp + 0x64], 0
mov edx, dword [esi + 0x1f4]
test edx, edx
je 0x5657df
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5657b0
sub ecx, edi
mov dword [esp + 0x120], edx
lea eax, [esp + 0x118]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x5657e7
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x74], 0
test eax, eax
jne 0x565813
mov dword [esp + 0x7c], eax
jmp 0x56583d
mov dword [esp + 0x130], eax
mov eax, dword [esi + 0x1ec]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x134], 0
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 0x1f0]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x56585e
mov dword [esp + 0x84], eax
jmp 0x56588b
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x144], 0
mov dword [esp + 0x84], eax
push 0x5f1088
push dword [esp + 0x154]
lea eax, [esp + 0x18]
push eax
call fcn.0049c560
add esp, 0xc
pop edi
pop esi
add esp, 0x140
ret
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret