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

Disassembly:
push 0x28
mov eax, 0x59b16c
call fcn.0057ba6f
lea ecx, [ebp - 0x34]
call fcn.0041c2a0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ecx + 0xa4], 1
mov dword [ebp - 4], edi
mov dword [esi + 4], 0xa
mov dword [esi + 0x6c], edi
mov dword [ebp + 0xc], 0xff
mov ebx, 0x6fa8
call fcn.0052e43c
mov ecx, 0x2f00
cmp ax, cx
jne 0x53a4e3
mov ebx, 0x2fa8
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push 0x8086
mov ecx, eax
call fcn.00440420
test eax, eax
jle 0x53a543
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call fcn.0041c240
jmp 0x53a536
push eax
call fcn.0041c3a0
mov ebx, eax
movzx eax, byte [ebx + 0x14]
push eax
call fcn.005386d7
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 0x6c], eax
jg 0x53a53c
lea ecx, [ebp - 0x18]
call fcn.0041c220
cmp eax, edi
jne 0x53a513
jmp 0x53a543
movzx eax, byte [ebx + 0x14]
mov dword [ebp + 0xc], eax
push 4
pop eax
cmp dword [esi + 0x6c], eax
jle 0x53a54e
mov dword [esi + 0x6c], eax
push 0x14
pop ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
lea edi, [ebx + 0x78]
push edi
push 2
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a585
cmp dword [ebp + 8], 0
je 0x53a585
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], ebx
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push edi
push 3
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a5b3
cmp dword [ebp + 8], 0
je 0x53a5b3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 1
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push edi
push 2
push 0x15
pop ebx
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a5e1
cmp dword [ebp + 8], 0
je 0x53a5e1
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], ebx
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push edi
push 3
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a60f
cmp dword [ebp + 8], 0
je 0x53a60f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 1
call fcn.0043b760
mov eax, dword [eax + 0x1c]
mov ebx, 0x200
test eax, eax
je 0x53a68b
call fcn.0043b760
mov ecx, dword [eax + 0x38]
call fcn.00440790
mov edi, eax
test edi, edi
je 0x53a68b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp + 0xc]
and eax, 0xff
and ecx, 0x1f
shl eax, 5
or eax, ecx
mov ecx, dword [ebp - 0x10]
and ecx, 7
shl ecx, 0xc
shl eax, 0xf
add ecx, ebx
or eax, ecx
cdq
add edi, eax
adc dword [ebp - 0x1c], edx
call fcn.0043b760
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
push 0x100
push dword [ebp - 0x1c]
mov ecx, eax
push edi
call fcn.0054f3c8
call fcn.0043b760
mov edi, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a7eb
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 9
and ecx, 0x1f
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
test ecx, ecx
jge 0x53a6cd
fadd dword [0x5dcfd0]
mov ecx, eax
fstp dword [esi + 0x18]
and ecx, 0x1f
mov dword [esi + 0x1c], ecx
mov ecx, eax
shr eax, 0x13
shr ecx, 0x1b
and eax, 0x3f
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x204
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a71e
mov eax, dword [ebp + 8]
shr eax, 0x1e
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x53a71e
mov dword [esi + 0x3c], 1
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x208
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a74e
mov eax, dword [ebp + 8]
shr eax, 0x1b
and eax, 7
add eax, 4
mov dword [esi + 0x40], eax
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x214
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a77d
mov eax, dword [ebp + 8]
shr eax, 0xf
and eax, 0x3ff
mov dword [esi + 0x2c], eax
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x290
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a7ad
mov eax, dword [ebp + 8]
shr eax, 0x1b
and eax, 7
add eax, 4
mov dword [esi + 0x48], eax
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x2a0
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a7eb
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
shr eax, 0x18
and ecx, 7
add ecx, 4
and eax, 7
add eax, 4
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], eax
call fcn.0043b760
cmp dword [eax + 0x1c], 0
je 0x53a847
call fcn.0043b760
mov ecx, dword [eax + 0x38]
call fcn.00440790
mov edi, eax
test edi, edi
je 0x53a847
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [ebp + 0xc]
and eax, 0xff
shl eax, 0x14
or eax, 0xf1098
cdq
add edi, eax
adc ebx, edx
call fcn.0043b760
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
push 8
push ebx
push edi
mov ecx, eax
call fcn.0054f3c8
call fcn.0043b760
mov eax, dword [eax + 0x38]
lea ecx, [ebp + 8]
push ecx
push 0x98
push 1
push 0x1e
push dword [ebp + 0xc]
mov ecx, eax
call fcn.004407d0
test eax, eax
je 0x53a8d2
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
and eax, 0xf
sub eax, 0
je 0x53a89a
dec eax
jne 0x53a8b8
mov eax, ecx
and eax, 0x3f
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x53a892
fadd dword [0x5dcfd0]
fmul qword [0x5dcfb0]
jmp 0x53a8b5
mov eax, ecx
and eax, 0x3f
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x53a8af
fadd dword [0x5dcfd0]
fmul qword [0x5bde00]
fstp dword [esi + 0xc]
and ecx, 0x3f
push ecx
push str.1:_d
lea eax, [esi + 0x98]
push 0x20
push eax
call fcn.00439b20
add esp, 0x10
call fcn.0043b760
cmp dword [eax + 0x1c], 0
je 0x53a916
call fcn.0043b760
mov eax, dword [eax + 0x1c]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x621
mov ecx, eax
call fcn.0054f05b
test eax, eax
je 0x53a916
mov eax, dword [ebp + 0xc]
and eax, 0x7f
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jge 0x53a913
fadd dword [0x5dcfd0]
fstp dword [esi + 0x5c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041c2c0
call fcn.0057bb47
ret