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

Disassembly:
push 0xffffffffffffffff
push 0x5a6500
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x48]
call fcn.00548e80
mov eax, dword [esp + 0x74]
xor esi, esi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], esi
call fcn.00548ce0
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], esi
cmp edi, esi
je 0x540280
mov esi, dword [esp + 0x70]
lea eax, [edi + 0x1c]
mov dword [esp + 0x78], eax
movzx eax, word [eax]
push eax
mov ecx, esi
call fcn.00498c00
mov ebx, eax
test ebx, ebx
je 0x540280
mov ecx, dword [esp + 0x78]
movzx eax, word [ecx]
push eax
mov ecx, esi
call fcn.00498c50
movzx eax, ax
test ax, ax
je 0x53ff60
movzx edx, ax
push edx
lea ecx, [ebp + 0xdc]
call fcn.0045b070
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
push eax
push ebx
push esi
mov ecx, edi
call fcn.0053b740
test eax, eax
movzx eax, word [edi + 0x3b]
jne 0x53ffa3
cmp ax, 5
je 0x540280
cmp ax, 6
je 0x540280
cmp ax, 7
je 0x540280
mov dword [esi + 0x9a4], 0
jmp 0x540280
cmp ax, 4
jne 0x53ffc0
mov ecx, dword [esp + 0x78]
movzx eax, word [ecx]
push eax
mov ecx, 0x6a0210
call fcn.004cd7f0
jmp 0x540280
push esi
mov ecx, edi
call fcn.0053b4e0
test eax, eax
je 0x540280
lea edx, [esp + 0x48]
push edx
push esi
mov ecx, edi
call fcn.0053b540
test eax, eax
je 0x540280
mov eax, dword [esp + 0x74]
push edi
push eax
push esi
mov ecx, ebp
call fcn.0053daf0
lea ecx, [esp + 0x48]
test eax, eax
je 0x540284
push ecx
push esi
mov ecx, edi
call fcn.0053be80
test eax, eax
je 0x540280
mov ebx, dword [esp + 0x78]
push ebx
push esi
mov ecx, ebp
call fcn.0053fd70
test eax, eax
je 0x540280
push esi
mov ecx, 0x685878
call fcn.004cccf0
cmp eax, 1
jne 0x54003f
mov ecx, 0x685878
call fcn.004ccdd0
mov al, byte [esi + 0x44b]
test al, 0x40
je 0x540093
movzx eax, word [ebx]
movzx edx, ax
push edx
lea ecx, [ebp + 0xb8]
call fcn.00467ba0
test eax, eax
je 0x5400b1
push 0x37c
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
push 0x478
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
push 0x1a
push 0x6a0f60
call fcn.004d8020
add esp, 0x10
jmp 0x540280
test al, al
jns 0x5400b1
movzx eax, word [ebx]
push eax
lea ecx, [ebp + 0x94]
call fcn.00467ba0
test eax, eax
je 0x5400b1
push 0x37a
jmp 0x540064
lea ecx, [esp + 0x48]
call fcn.00548d20
mov ebx, eax
test ebx, ebx
je 0x540280
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
mov ecx, edi
call fcn.0053bcd0
cmp eax, 1
jne 0x54021b
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x48]
call fcn.00548d20
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.005270d0
fstp st(0)
add esp, 8
mov ecx, 0x6853a0
call fcn.004c3a40
cmp word [edi + 0x41], 1
je 0x540135
mov ecx, dword [0x6a01bc]
fldz
push 0
push ecx
push ecx
fstp dword [esp]
push ebx
push esi
mov ecx, 0x6853a0
call fcn.004c3700
push 0
lea ecx, [esi + 0xa20]
call fcn.00549270
mov ecx, esi
call fcn.00498f20
cmp eax, 1
jne 0x5401df
cmp dword [edi + 0x867], 0
je 0x5401df
cmp dword [0x685d0c], 0
je 0x5401b7
cmp dword [edi + 0x65], 0
je 0x5401b7
cmp dword [edi + 0x61], 0
je 0x5401b7
push edi
push esi
mov ecx, ebp
call fcn.0053c6d0
mov eax, dword [esp + 0x78]
mov edx, dword [esi + 0x129]
movzx eax, word [eax]
mov dword [esp + 0x2c], edx
cdq
push 0x14
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x68ec10
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2e], 0x16
mov byte [esp + 0x2f], 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.00525390
push edi
lea edx, [esp + 0x4c]
push edx
push esi
mov ecx, ebp
call fcn.0053fad0
lea ecx, [esp + 0x48]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.00548c70
mov eax, esi
jmp 0x540293
cmp dword [edi + 0x65], 0
je 0x540213
cmp dword [edi + 0x61], 0
je 0x540213
push edi
lea eax, [esp + 0x4c]
push eax
push esi
mov ecx, ebp
call fcn.0053d840
lea ecx, [esp + 0x48]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.00548c70
mov eax, esi
jmp 0x540293
push edi
lea ecx, [esp + 0x4c]
push ecx
jmp 0x5401bd
lea ecx, [esp + 0x24]
mov dword [esi + 0x9a4], 0
call fcn.00549250
cmp word [edi + 0x5b], 0x64
mov byte [esp + 0x68], 1
je 0x54024f
push esi
mov ecx, ebp
call fcn.0053c570
movzx edx, ax
push edx
mov ecx, ebp
call fcn.0053d410
mov edi, eax
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00549290
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, 0x6853a0
call fcn.004c5470
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.005491b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], 0xffffffff
call fcn.00548c70
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc