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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5442c7
sub esp, 0x5c
mov eax, dword [esp + 0x60]
cmp eax, 2
jne 0x543f48
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x543f37
mov eax, dword [0xa7d708]
mov ecx, dword [0xa7d70c]
mov edx, dword [0xa7d710]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0053d260
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x543e7a
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x75a600]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 4
jge 0x543e73
mov dword [esp + 0x48], eax
lea edx, [eax + 4]
mov ebx, dword [esp + 0x54]
cmp ebx, edx
je 0x543e44
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0044d1e0
lea eax, [0x7fea20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 4
jmp 0x543e25
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.0053d770
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
lea edx, [0x74c300]
mov dword [esp], edx
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x10
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x543f2a
lea ecx, [0x797a0a]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x543f14
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7fe460]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x5c
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c9e0
mov edi, edx
jmp 0x543ee9
lea eax, [0x797a0a]
call fcn.0044c9e0
jmp 0x543ed1
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
jmp 0x543dd4
cmp eax, 0x17
jne 0x54420a
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x5441b6
mov eax, dword [0xa75e7c]
mov ecx, dword [0xa75e78]
mov edx, dword [0xa75e80]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
cmp eax, 4
jne 0x54419d
movzx ebx, byte [ecx]
movzx ebp, byte [ecx + 1]
movzx esi, byte [ecx + 2]
movzx edi, byte [ecx + 3]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [0xa75e9c]
mov eax, dword [0xa75e98]
cmp edx, 0x10
jge 0x544193
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
mov byte [esp + 0x1f], bl
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x543ff6
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044d1e0
movzx eax, byte [esp + 0x1f]
mov byte [esp + 0x40], al
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x41], al
movzx eax, byte [esp + 0x1d]
mov byte [esp + 0x42], al
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x43], al
lea eax, [esp + 0x34]
mov ecx, 0x10
test eax, eax
je 0x5440d6
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
lea eax, [0xa7dd40]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0053b200
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x75fc60]
mov dword [esp], ecx
call fcn.00409d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jge 0x5440cf
mov dword [esp + 0x4c], eax
lea edx, [eax + 8]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
je 0x5440a0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0044d1e0
lea eax, [0x7fea40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 0x10
jmp 0x544081
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0053d770
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
lea edx, [0x74c300]
mov dword [esp], edx
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x10
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x544186
lea ecx, [0x797a1a]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x544170
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7fe460]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x5c
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c9e0
mov edi, edx
jmp 0x544145
lea eax, [0x797a1a]
call fcn.0044c9e0
jmp 0x54412d
mov edx, 0x10
jmp 0x543fc8
cmp eax, 0x10
jne 0x5441ad
mov eax, ecx
mov ecx, dword [esp + 0x20]
jmp 0x544023
xor eax, eax
xor ecx, ecx
jmp 0x544023
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov ebx, dword [0xa7d710]
mov ebp, dword [0xa7d70c]
mov esi, dword [0xa7d708]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.0053e440
movzx eax, byte [esp + 0x18]
test al, al
jne 0x543f5d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
jmp 0x543f6f
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.0053d770
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x74c300]
mov dword [esp], edx
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x16
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x5442ba
lea ecx, [0x79b116]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x5442a4
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x7fe460]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x5c
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c9e0
mov edi, edx
jmp 0x544279
lea eax, [0x79b116]
call fcn.0044c9e0
jmp 0x544261
call fcn.0044b280
jmp fcn.00543d90