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

Disassembly:
push 0xffffffffffffffff
push 0x5c11b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x6754d4]
push ebx
push ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x68]
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
push ebp
mov dword [esp + 0x68], ebx
call fcn.00539ea0
mov edx, dword [esp + 0x10]
push 0x66c07c
push edx
call fcn.00587e70
add esp, 0x10
test eax, eax
je 0x539f9b
lea ecx, [esp + 8]
mov dword [esp + 0x60], 0xffffffff
call fcn.0059ad3d
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 8
push esi
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.00538f90
mov edi, 0x1e
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x10]
lea eax, [edi + ebp]
push ecx
push eax
mov dword [esp + 0x38], eax
call fcn.00539ea0
mov edx, dword [esp + 0x18]
push 0x66c054
push edx
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a103
lea eax, [edi + ebp + 0x2c]
push eax
call fcn.00538f90
add esp, 4
push 1
push ebx
push ebx
push eax
call fcn.00581190
mov ebx, eax
lea ecx, [edi + ebp + 0x28]
mov dword [esp + 0x18], ebx
push ecx
mov ebx, edx
call fcn.00538f90
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
xor edx, edx
add ecx, eax
adc ebx, edx
lea edx, [edi + ebp + 0x3c]
mov dword [esi + 0x18], ecx
push edx
mov dword [esi + 0x1c], ebx
call fcn.00538f90
lea eax, [edi + ebp + 0x38]
push eax
call fcn.00538f90
lea ecx, [edi + ebp + 0x44]
mov dword [esi + 0x30c8], eax
push ecx
call fcn.00538f90
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
lea edx, [edi + ebp + 0x40]
fild qword [esp + 0x50]
push edx
fstp qword [esp + 0x48]
call fcn.00538f90
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
fild qword [esp + 0x5c]
lea eax, [edi + ebp + 0x54]
push eax
fadd qword [esp + 0x4c]
fmul qword [0x5eeb30]
fstp qword [esi + 0x30d8]
call fcn.00538f90
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
fild qword [esp + 0x68]
lea ecx, [edi + ebp + 0x50]
push ecx
fstp qword [esp + 0x50]
call fcn.00538f90
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
fild qword [esp + 0x74]
add esp, 0x1c
fadd qword [esp + 0x34]
fmul qword [0x5ee068]
fcom qword [0x5cf380]
fnstsw ax
test ah, 0x41
jne 0x53a0e4
fcom qword [esi + 0x30d8]
fnstsw ax
test ah, 1
je 0x53a0e4
fld qword [esi + 0x30d8]
fsub st(1)
fstp qword [esi + 0x30d8]
lea edx, [edi + ebp + 0x58]
push edx
fstp st(0)
call fcn.00538f90
add esp, 4
test al, 1
je 0x53a103
push 0x66c028
mov ecx, esi
call fcn.00508d80
mov eax, dword [esp + 0x10]
push 0x66c000
push eax
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x53a165
mov ecx, dword [0x6754d4]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
lea eax, [edi + ebp + 0x18]
push edx
push eax
mov byte [esp + 0x70], 1
call fcn.00539ea0
mov ecx, dword [esp + 0x20]
push 0x66bfd8
push ecx
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a157
mov eax, dword [esp + 0x14]
inc dword [eax + 0x30e0]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.0059ad3d
mov edx, dword [esp + 0x10]
push 0x66bfb0
push edx
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x53a29e
lea esi, [ebp + 0x18]
xor edx, edx
add esi, edi
xor ecx, ecx
xor ebx, ebx
mov al, byte [esi + 1]
mov dl, byte [esi + 3]
mov cl, byte [esi]
mov edi, eax
mov bl, byte [esi + 5]
mov ebp, edx
xor eax, eax
xor edx, edx
mov al, byte [esi + 2]
mov dl, byte [esi + 6]
shl ebp, 8
shl edi, 8
add ebp, eax
xor eax, eax
mov al, byte [esi + 7]
add edi, ecx
xor ecx, ecx
mov cl, byte [esi + 4]
shl ebx, 8
shl eax, 8
add ebx, ecx
add eax, edx
test edi, edi
mov dword [esp + 0x18], eax
je 0x53a20a
lea eax, [esi + 0xa]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x68], 2
mov ecx, dword [ecx + 0x310c]
test ecx, ecx
je 0x53a1fa
push eax
add ecx, 0x7e0
call fcn.0059aeed
mov eax, dword [esp + 0x34]
push eax
mov byte [esp + 0x6c], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
test ebp, ebp
je 0x53a250
lea edx, [edi + esi + 0xa]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x68], 3
mov ecx, dword [ecx + 0x310c]
test ecx, ecx
je 0x53a240
push eax
add ecx, 0x7e4
call fcn.0059aeed
mov eax, dword [esp + 0x34]
push eax
mov byte [esp + 0x6c], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53a294
add ebx, ebp
add ebx, edi
lea edx, [ebx + esi + 0xa]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x14]
mov byte [esp + 0x68], 4
mov eax, dword [eax + 0x310c]
test eax, eax
je 0x53a288
push esi
lea ecx, [eax + 0x7e8]
call fcn.0059aeed
push esi
mov byte [esp + 0x6c], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
push 0x66bf88
push ecx
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x53a423
lea edx, [edi + ebp + 0x2a]
push edx
call fcn.00538f90
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x53a423
mov eax, dword [0x6754d4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov byte [esp + 0x68], 5
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
lea esi, [ecx + ebx + 0x2e]
push esi
call fcn.00539ea0
mov eax, dword [esp + 0x2c]
push 0x66bf60
push eax
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a3f0
mov al, byte [esi + 0x55]
xor ecx, ecx
mov cl, byte [esi + 0x54]
xor edx, edx
mov dl, byte [esi + 0x57]
add esi, 0x58
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [esi - 2]
shl edx, 8
add edx, ecx
test eax, eax
jle 0x53a34d
xor ecx, ecx
xor ebx, ebx
mov cl, byte [esi + 3]
mov bl, byte [esi + 2]
shl ecx, 8
add ecx, ebx
dec eax
lea esi, [esi + ecx + 4]
jne 0x53a333
mov ebx, dword [esp + 0x28]
test edx, edx
jle 0x53a367
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x13]
mov cl, byte [esi + 0x12]
shl eax, 8
add eax, ecx
dec edx
lea esi, [esi + eax + 0x16]
jne 0x53a351
mov edx, dword [0x6754d4]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x20]
mov byte [esp + 0x68], 6
push eax
push esi
call fcn.00539ea0
mov ecx, dword [esp + 0x28]
push 0x66c000
push ecx
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a3e2
mov edx, dword [0x6754d4]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
add esi, 0x18
push eax
push esi
mov byte [esp + 0x70], 7
call fcn.00539ea0
mov ecx, dword [esp + 0x24]
push 0x66bfd8
push ecx
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a3d4
mov eax, dword [esp + 0x14]
inc dword [eax + 0x30e0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 6
call fcn.0059ad3d
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 5
call fcn.0059ad3d
mov edx, dword [esp + 0x30]
lea eax, [edx + ebx + 0x3e]
push eax
call fcn.00538f90
add ebx, eax
mov eax, dword [esp + 0x38]
add esp, 4
cmp ebx, eax
mov dword [esp + 0x28], ebx
jb 0x53a2e3
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.0059ad3d
xor ebx, ebx
mov eax, dword [esp + 0x2c]
lea ecx, [edi + ebp + 0x10]
inc eax
push ecx
mov dword [esp + 0x30], eax
call fcn.00538f90
add edi, eax
mov eax, dword [esp + 0x78]
add esp, 4
cmp edi, eax
mov dword [esp + 0x28], edi
jge 0x53a4ab
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
cmp edx, eax
jb 0x539fba
cmp edi, dword [esp + 0x74]
jge 0x53a4ab
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x30c8], ebx
ja 0x53a4ab
lea eax, [esp + 0x10]
add edi, ebp
push eax
push edi
call fcn.00539ea0
mov ecx, dword [esp + 0x18]
push 0x66bf38
push ecx
call fcn.00587e70
add esp, 0x10
test eax, eax
jne 0x53a4ab
lea edx, [edi + 0x2c]
push edx
call fcn.00538f90
add edi, 0x28
push edi
call fcn.00538f90
add esp, 8
cmp eax, ebx
jbe 0x53a4ab
mov dword [esi + 0x30c8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8