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

Disassembly:
push 0x28
mov eax, 0x59f90f
call fcn.00580367
lea ecx, [ebp - 0x34]
call fcn.0041c780
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 + 0x70], edi
mov dword [ebp + 0xc], 0xff
mov ebx, 0x6fa8
call fcn.005328dc
mov ecx, 0x2f00
cmp ax, cx
jne 0x53e986
mov ebx, 0x2fa8
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push 0x8086
mov ecx, eax
call fcn.00440bb0
test eax, eax
jle 0x53e9e6
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call fcn.0041c700
jmp 0x53e9d9
push eax
call fcn.0041c870
mov ebx, eax
movzx eax, byte [ebx + 0x14]
push eax
call fcn.0053cb7f
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 0x70], eax
jg 0x53e9df
lea ecx, [ebp - 0x18]
call fcn.0041c720
cmp eax, edi
jne 0x53e9b6
jmp 0x53e9e6
movzx eax, byte [ebx + 0x14]
mov dword [ebp + 0xc], eax
push 4
pop eax
cmp dword [esi + 0x70], eax
jle 0x53e9f1
mov dword [esi + 0x70], eax
push 0x14
pop ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
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.00440f60
test eax, eax
je 0x53ea28
cmp dword [ebp + 8], 0
je 0x53ea28
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], ebx
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push edi
push 3
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ea56
cmp dword [ebp + 8], 0
je 0x53ea56
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 1
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
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.00440f60
test eax, eax
je 0x53ea84
cmp dword [ebp + 8], 0
je 0x53ea84
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], ebx
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push edi
push 3
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53eab2
cmp dword [ebp + 8], 0
je 0x53eab2
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 1
call fcn.0043bf70
mov eax, dword [eax + 0x20]
mov ebx, 0x200
test eax, eax
je 0x53eb2e
call fcn.0043bf70
mov ecx, dword [eax + 0x3c]
call fcn.00440f20
mov edi, eax
test edi, edi
je 0x53eb2e
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.0043bf70
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x28]
push ecx
push 0x100
push dword [ebp - 0x1c]
mov ecx, eax
push edi
call fcn.0055385d
call fcn.0043bf70
mov edi, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
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.00440f60
test eax, eax
je 0x53ec8e
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 0x53eb70
fadd dword [0x5e2978]
mov ecx, eax
fstp dword [esi + 0x1c]
and ecx, 0x1f
mov dword [esi + 0x20], ecx
mov ecx, eax
shr eax, 0x13
shr ecx, 0x1b
and eax, 0x3f
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x204
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ebc1
mov eax, dword [ebp + 8]
shr eax, 0x1e
mov dword [esi + 0x40], eax
test eax, eax
jne 0x53ebc1
mov dword [esi + 0x40], 1
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x208
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ebf1
mov eax, dword [ebp + 8]
shr eax, 0x1b
and eax, 7
add eax, 4
mov dword [esi + 0x44], eax
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x214
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ec20
mov eax, dword [ebp + 8]
shr eax, 0xf
and eax, 0x3ff
mov dword [esi + 0x30], eax
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x290
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ec50
mov eax, dword [ebp + 8]
shr eax, 0x1b
and eax, 7
add eax, 4
mov dword [esi + 0x4c], eax
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x2a0
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ec8e
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 + 0x48], ecx
mov dword [esi + 0x50], eax
call fcn.0043bf70
cmp dword [eax + 0x20], 0
je 0x53ecea
call fcn.0043bf70
mov ecx, dword [eax + 0x3c]
call fcn.00440f20
mov edi, eax
test edi, edi
je 0x53ecea
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.0043bf70
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x28]
push ecx
push 8
push ebx
push edi
mov ecx, eax
call fcn.0055385d
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
lea ecx, [ebp + 8]
push ecx
push 0x98
push 1
push 0x1e
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00440f60
test eax, eax
je 0x53ed75
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
and eax, 0xf
sub eax, 0
je 0x53ed3d
dec eax
jne 0x53ed5b
mov eax, ecx
and eax, 0x3f
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x53ed35
fadd dword [0x5e2978]
fmul qword [0x5e2968]
jmp 0x53ed58
mov eax, ecx
and eax, 0x3f
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x53ed52
fadd dword [0x5e2978]
fmul qword [0x5c3478]
fstp dword [esi + 0x10]
and ecx, 0x3f
push ecx
push str.1:_d
lea eax, [esi + 0x9c]
push 0x20
push eax
call fcn.0043a290
add esp, 0x10
call fcn.0043bf70
cmp dword [eax + 0x20], 0
je 0x53edb9
call fcn.0043bf70
mov eax, dword [eax + 0x20]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x621
mov ecx, eax
call fcn.005534f0
test eax, eax
je 0x53edb9
mov eax, dword [ebp + 0xc]
and eax, 0x7f
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jge 0x53edb6
fadd dword [0x5e2978]
fstp dword [esi + 0x60]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041c7a0
call fcn.0058043f
ret