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

Disassembly:
mov eax, 0x140
call fcn.00566840
push esi
mov esi, dword [esp + 0x148]
push edi
test esi, esi
je 0x54413d
mov edi, dword [esi + 0x1bc]
test edi, edi
jne 0x543da1
cmp dword [esi + 0x1c0], edi
je 0x54413d
push 0x78
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0056c460
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
test edi, edi
jne 0x543dcc
mov ecx, dword [esi + 0x1c0]
jmp 0x543dcf
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 0x543e47
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 0x543f41
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543f12
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 0x543f49
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x543f7d
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 0x543f93
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 0x543fdf
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543fb0
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 0x543fe7
mov dword [esp + 0x60], 0
mov edx, dword [esi + 0x194]
test edx, edx
je 0x544025
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543ff6
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 0x54402d
mov dword [esp + 0x64], 0
mov edx, dword [esi + 0x1f4]
test edx, edx
je 0x54406f
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x544040
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 0x544077
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 0x5440a3
mov dword [esp + 0x7c], eax
jmp 0x5440cd
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 0x5440ee
mov dword [esp + 0x84], eax
jmp 0x54411b
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 0x5fddd8
push dword [esp + 0x154]
lea eax, [esp + 0x18]
push eax
call fcn.0047adf0
add esp, 0xc
pop edi
pop esi
add esp, 0x140
ret
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret