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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5440f1
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x5440e0
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x5440be
mov ecx, dword [0x7011f8]
mov edx, dword [0x7011fc]
test ecx, ecx
jne 0x5440a9
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [0x70095c]
lea edx, [esp + 0x74]
cmp edx, ecx
je 0x543d6a
mov dword [esp + 0x30], ecx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x543ffb
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebx, esi
cmp esi, ebx
jge 0x543ff4
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ebx
cmp edi, ebp
je 0x543d44
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045eba0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
mov byte [esp + 0x74], al
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x543db1
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004d9c80
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jge 0x543e16
mov dword [esp + 0x20], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x34], eax
mov edx, dword [0x70095c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
jg 0x543d83
lea eax, [0x5abc80]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x5d83c1]
mov dword [eax], ecx
lea ecx, [0x61098c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov ecx, dword [eax]
lea edx, [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
jne 0x543fb8
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x54]
mov dword [esp], edx
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.004d9750
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004d9c80
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
xor edx, edx
jmp 0x543edb
mov ebx, dword [esp + 0x20]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmp eax, edx
jle 0x543f9b
mov dword [esp + 0x20], edx
mov eax, dword [ecx + edx*4]
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ebx, dword [0x70095c]
lea ebp, [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004d9a40
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004da000
mov eax, dword [0x70095c]
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
je 0x543ecc
lea eax, [0x5abc80]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x5d7841]
mov dword [eax], ecx
lea ecx, [0x61098c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x84
ret
lea eax, [0x5abc80]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x5d6d0f]
mov dword [eax], ecx
lea ecx, [0x61098c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov esi, ebx
jmp 0x543d25
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebp
cmp ebx, 1
jne 0x54405b
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x74]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov ebx, 1
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
jmp 0x543d1d
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call fcn.004451f0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x74]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov ebx, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
jmp 0x543d1d
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x84
ret
cmp ecx, 0x7fffffff
jle 0x5440d7
mov ecx, dword [0x7011f0]
mov edx, dword [0x7011f4]
jmp 0x543cc9
xor ecx, ecx
xor edx, edx
jmp 0x543cc9
mov ecx, dword [0x701200]
mov edx, dword [0x701204]
jmp 0x543cc9
call fcn.0045ccc0
jmp fcn.00543c80