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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, ecx
mov ebp, dword [esp + 0x84]
lea edi, [esp + 0x7c]
mov eax, dword [0x10080800]
xor eax, esp
mov dword [esp + 0x60], eax
lea ebx, [esp + 0x48]
mov ecx, ebx
call fcn.10017d30
mov eax, 0x3000
and eax, dword [ebp + 0x14]
cmp eax, 0x3000
jne 0x10013b6b
mov ecx, 0xd
mov dword [esp + 0x20], 0xffffffff
jmp 0x10013c39
mov edi, esi
mov esi, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x1c]
mov edx, dword [0x100828d0]
lea ecx, [edx + 1]
imul ecx, edx
test cl, 1
sete dh
cmp dword [0x100828d4], 0xa
setl dl
cmp esi, 1
mov ecx, ebp
sbb ecx, 0
mov dword [esp + 0x20], esi
jl 0x10013bb3
or dl, dh
nop
test dl, dl
je 0x10013ba0
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x84]
mov esi, edi
jmp 0x10013bcc
mov ecx, 6
or ebp, esi
mov ebp, dword [esp + 0x84]
mov esi, edi
jne 0x10013bcc
xor ecx, ecx
test eax, eax
sete cl
movapd xmm0, xmmword [0x10071980]
movsd xmm1, qword [esp + 0x8c]
andpd xmm0, xmm1
ucomisd xmm0, qword [0x10071990]
jbe 0x10013c35
cmp eax, 0x2000
jne 0x10013c35
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
mov esi, ecx
call fcn.10057636
fstp st(0)
mov eax, dword [esp + 0x3c]
mov ecx, eax
neg ecx
cmovs ecx, eax
imul eax, ecx, 0x7597
shr eax, 5
mov ecx, 0xa7c5ac5
mul ecx
mov ecx, esi
mov esi, edi
shr edx, 7
add ecx, edx
lea edi, [esp + 0x7c]
add ecx, 0x32
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
jmp 0x10013cbb
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov cl, al
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.10018380
sub esp, 0x20
mov ecx, edi
call fcn.10001770
mov ecx, dword [esp + 0x28]
mov ebx, edi
mov dword [esp], ecx
mov dword [esp + 4], 0
mov ecx, ebx
call fcn.10018050
sub esp, 8
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov ebp, ebx
mov dword [esp], esi
mov dword [esp + 8], 0x4c
call fcn.100180e0
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x5c], 0x10
mov edx, ebx
jb 0x10013d02
mov edx, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0x10], xmm0
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.10015b40
mov ebp, eax
cmp dword [0x100828d8], 0xa
jl 0x10013d50
mov eax, dword [0x100828dc]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10013d7d
nop word cs:[eax + eax]
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
call fcn.10019bd0
cmp dword [0x100828d8], 0xa
jl 0x10013da0
mov ecx, dword [0x100828dc]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x10013da0
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
call fcn.10019bd0
jmp 0x10013d50
xor ecx, ecx
test eax, eax
setle al
cmp dword [esp + 0x5c], 0x10
mov edx, ebx
jb 0x10013db4
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], esi
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
mov cl, al
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
movsx esi, byte [esp + 0x88]
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
call fcn.10018380
sub esp, 0x20
mov ecx, ebx
call fcn.10001770
cmp dword [0x100828e0], 0xa
jl 0x10013f2f
mov eax, dword [0x100828e4]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10013f2f
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
mov edi, ebx
mov ecx, ebx
call fcn.10018050
sub esp, 8
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 8], 0x4c
call fcn.100180e0
cmp dword [esp + 0x5c], 0x10
jb 0x10013e79
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0x10], xmm0
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.10015b40
mov ebp, eax
cmp dword [0x100828d8], 0xa
jl 0x10013ec0
mov eax, dword [0x100828dc]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10013eed
nop
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
call fcn.10019bd0
cmp dword [0x100828d8], 0xa
jl 0x10013f10
mov ecx, dword [0x100828dc]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x10013f10
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp], xmm0
call fcn.10019bd0
jmp 0x10013ec0
xor ecx, ecx
test eax, eax
setle al
cmp dword [esp + 0x5c], 0x10
mov edi, ebx
mov edx, ebx
jb 0x10013c60
mov edx, dword [esp + 0x48]
jmp 0x10013c60
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10035778
mov eax, dword [esp + 0x78]
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c