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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword fs:[0x2c]
mov edx, dword [0x10329638]
push ebx
push esi
mov ebx, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x10336e4c]
push edi
mov dword [esp + 0x44], ebx
cmp eax, dword [edx + 4]
jg 0x1013e060
mov eax, dword [0x10336e50]
mov edi, 0xffffffff
mov dword [esp + 0x28], eax
mov al, byte [eax + 0x24]
and al, 1
mov byte [esp + 0x27], al
je 0x1013dbbb
mov esi, dword [ebx + 0x88]
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
test esi, esi
je 0x1013dbbb
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1013dbbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1013dbbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebx + 0xa0], edi
je 0x1013e059
mov eax, dword [0x103280d8]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, dword [0x103280dc]
mov edi, eax
cmp byte [ecx], 0
je 0x1013dc36
mov ecx, dword [0x103280cc]
mov ecx, dword [ecx + 4]
cmp byte [ecx + 4], 0
je 0x1013dc36
cmp byte [ecx + 5], 0
je 0x1013dc2c
mov ecx, edi
call fcn.10024220
test byte [eax], 1
je 0x1013dc36
mov eax, dword [0x103280dc]
mov esi, 0x5a
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 4]
cdq
idiv esi
shl edx, 6
test byte [edx + ecx + 0x20], 1
je 0x1013dc36
mov eax, dword [esp + 0x28]
or dword [eax + 0x24], 1
jmp 0x1013dc3a
mov eax, dword [esp + 0x28]
test byte [eax + 0x24], 1
je 0x1013e059
cmp byte [esp + 0x27], 0
jne 0x1013df58
call fcn.1012cbd0
mov esi, dword [0x103280d8]
mov ecx, eax
call fcn.10023cc0
cmp dword [ebx + 0x10], 0
mov ecx, dword [esi]
movss xmm0, dword [eax]
divss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [0x102cd2ac]
cvttss2si edx, xmm0
je 0x1013dc97
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
dec ecx
and ecx, dword [ebx + 0xc]
mov ecx, dword [eax + ecx*4]
lea eax, [edx + 1]
cmp dword [ecx + 0x3c], eax
jle 0x1013df58
movaps xmm0, xmmword [0x102cd910]
mov eax, dword [ebx + 0x88]
mov word [esp + 0x70], 0
mov byte [esp + 0x72], 0
mov dword [esp + 0x74], 0xffffffff
movups xmmword [esp + 0xa0], xmm0
test eax, eax
je 0x1013dcc8
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp + 0x6c], eax
call fcn.1012cbd0
mov esi, dword [0x103280d8]
mov ecx, eax
call fcn.10023cc0
mov ecx, dword [esi]
mov edx, dword [ebx + 0x84]
movss xmm0, dword [eax]
divss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [0x102cd2ac]
cvttss2si eax, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
movsx eax, byte [edx + 0xc]
push eax
call esi
mov esi, dword [0x103280d8]
mov ecx, eax
call fcn.100240b0
mov ecx, dword [ebx + 0x8c]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 0x50]
mov eax, dword [esi]
mov ecx, edi
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x102cd2ac]
cvttss2si eax, xmm0
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x78], eax
call fcn.10035b90
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
mov ecx, edi
movss xmm0, dword [eax]
addss xmm0, dword [esi]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
movss dword [esp + 0x20], xmm0
call fcn.100224c0
mov ecx, dword [0x103280d8]
mov ecx, dword [ecx]
movss xmm2, dword [ecx + 0x1c]
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [eax]
mulss xmm0, dword [eax + 4]
mulss xmm2, dword [eax + 8]
addss xmm1, dword [esp + 0x40]
addss xmm0, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x84]
sub esp, 0x10
movss dword [esp + 0x9c], xmm0
addss xmm2, dword [esp + 0x30]
movss dword [esp + 0x98], xmm1
mov eax, dword [ecx + 0x44]
movss dword [esp + 0xa0], xmm2
movss xmm0, dword [eax]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [ecx + 0x3c]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [0x102cd5a0]
cvtps2pd xmm0, xmm0
movss xmm1, dword [eax + 0x2c]
addss xmm1, dword [eax + 0x24]
movsd qword [esp + 8], xmm0
addss xmm1, dword [0x102cd540]
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5b60
mov eax, dword [ebx + 0x84]
add esp, 0x10
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x102cd540]
mov edx, dword [eax + 0x3c]
mov esi, dword [edx + 0x1c]
mov eax, dword [edx + 8]
mov dword [esp + 0xb8], eax
mov eax, dword [edx + 0x10]
lea ecx, [esi + esi*2]
movss dword [esp + 0xb0], xmm0
mov dword [esp + 0xb4], esi
cmp dword [eax + ecx*4], 0
jne 0x1013df16
lea eax, [esi + 1]
mov dword [edx + 0x1c], eax
cmp eax, 2
jne 0x1013df16
mov dword [edx + 0x1c], 0
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.10036e10
mov ecx, dword [0x103280dc]
mov al, 1
add ecx, 0x56
xchg byte [ecx], al
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1013df58
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1013df58
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1013df58
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebx + 0x8c]
cmp byte [eax + 0x5c], 0
jne 0x1013e059
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336a74]
cmp eax, dword [ecx + 4]
jg 0x1013e096
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ebx, dword [0x10336a78]
mov edi, eax
push 0
add ebx, 0x28
mov dword [esp + 0x40], 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x24]
mov ecx, edi
mov dword [esp + 0x24], esi
call dword [esp + 0x24]
fstp dword [esp + 0x20]
call fcn.1012c5f0
addss xmm0, dword [esp + 0x20]
push 1
mov ecx, edi
movss dword [esp + 0x24], xmm0
call esi
fadd dword [esp + 0x20]
mov edi, dword [0x103280d8]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x3c]
xorps xmm1, xmm1
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
comiss xmm1, xmm0
movss dword [esp + 0x20], xmm0
seta al
test al, al
cmove ecx, edx
comiss xmm0, dword [ebx]
seta al
test al, al
mov eax, dword [edi]
cmovne ecx, ebx
movss xmm0, dword [ecx]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x102cd2ac]
cvttss2si esi, xmm0
call fcn.1012c5f0
mov eax, dword [edi]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x102cd2ac]
cvttss2si ecx, xmm0
test esi, esi
je 0x1013e059
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0xa8]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10336e4c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336e4c], 0xffffffff
jne 0x1013db65
push 0x10336e4c
mov dword [0x10336e50], 0
call fcn.100bbd97
add esp, 4
jmp 0x1013db65
push 0x10336a74
call fcn.100bbde8
add esp, 4
cmp dword [0x10336a74], 0xffffffff
jne 0x1013df88
mov eax, dword [0x103280d8]
mov cl, 0x48
mov edx, dword [eax + 0x34]
xor eax, eax
mov dword [esp + 0x2f], 0x173e3b48
mov dword [esp + 0x33], 0x3d302925
mov dword [esp + 0x37], 0x2f292426
mov byte [esp + 0x3b], 0
jmp 0x1013e0e0
xor byte [esp + eax + 0x30], cl
inc eax
cmp eax, 0xb
jae 0x1013e0f0
mov cl, byte [esp + 0x2f]
jmp 0x1013e0e0
mov byte [esp + 0x3b], 0
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x1c]
call eax
push 0x10336a74
mov dword [0x10336a78], eax
call fcn.100bbd97
add esp, 4
jmp 0x1013df88