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

Disassembly:
push 0xffffffffffffffff
push 0x5e9a78
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x208]
mov bl, byte [esi + 8]
mov edi, dword [esp + 0x204]
shr bl, 4
and bl, 0xf
lea ecx, [esp + 0x28]
mov byte [esp + 0x13], bl
call fcn.004eff00
lea ecx, [esp + 0x84]
mov dword [esp + 0x1fc], 0
call fcn.004f1250
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.004f1250
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.004f8520
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.004f8520
push esi
lea ecx, [esp + 0xd0]
mov byte [esp + 0x200], 4
call fcn.00590fb0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x1fc], 5
cmp eax, dword [esp + 0xdc]
ja 0x543bb1
lea esp, [esp]
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x11
je 0x543b78
cmp eax, 0x16
je 0x543b10
cmp eax, 0x20
jne 0x543b91
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x24]
lea edx, [edx + edx - 4]
cmp edx, eax
jg 0x543a94
push 0
push eax
lea eax, [esp + 0x58]
push eax
mov esi, ecx
call fcn.0058ea50
push eax
add esi, 4
push esi
lea ecx, [esp + 0x78]
call fcn.00589230
push eax
push edi
mov byte [esp + 0x204], 7
call fcn.00540810
add esp, 8
test eax, eax
lea ecx, [esp + 0x68]
sete bl
mov byte [esp + 0x1fc], 5
call fcn.005892c0
test bl, bl
jne 0x543c4f
mov bl, byte [esp + 0x13]
jmp 0x543b91
test dword [ecx + 0x18], 0xfffffffd
je 0x543ade
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0058fc60
lea ecx, [esp + 0x84]
push ecx
push edi
call fcn.0050c7a0
add esp, 8
test eax, eax
je 0x543c4f
lea edx, [esp + 0xa8]
push edx
push edi
call fcn.0050c7a0
jmp 0x543b86
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0058f6c0
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0050caf0
add esp, 8
test eax, eax
je 0x543c4f
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.0050caf0
jmp 0x543b86
cmp bl, 1
jne 0x543b68
mov ecx, dword [esp + 0xec]
call fcn.004f93f0
test eax, eax
je 0x543b68
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x58]
push eax
call edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x200], 6
call fcn.004f0420
lea ecx, [esp + 0x58]
mov byte [esp + 0x1fc], 5
call fcn.00440ab0
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0050d4b0
jmp 0x543b86
mov ecx, dword [esp + 0xec]
push ecx
push edi
call fcn.00540810
jmp 0x543b86
mov edx, dword [esp + 0xec]
push edx
push edi
call fcn.005437b0
add esp, 8
test eax, eax
je 0x543c4f
lea ecx, [esp + 0xcc]
call fcn.0053b250
mov eax, dword [esp + 0xd8]
cmp eax, dword [esp + 0xdc]
jbe 0x543a00
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1fc], 4
call fcn.005902f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.004f85b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.004f85b0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.004f1b60
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.004f1b60
lea ecx, [esp + 0x28]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.004f0040
mov eax, 1
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.005c3bb6
add esp, 0x1f0
ret
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1fc], 4
call fcn.005902f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.004f85b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.004f85b0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.004f1b60
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.004f1b60
lea ecx, [esp + 0x28]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.004f0040
xor eax, eax
jmp 0x543c28