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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec03d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10122fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
cmp byte [ebx + 0x5c], 0
jne 0x10033d11
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jae 0x10033d11
lea esi, [ebx + 0x78]
mov dword [ebp - 0x38], 0
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [ebx + 0x5c], 0
jne 0x10033cfc
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jae 0x10033cfc
mov ecx, dword [ebx + 0x34]
xor edx, edx
mov eax, dword [edi + 8]
div ecx
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
test edx, edx
mov dword [ebp - 0x24], 0
setne cl
xor edx, edx
inc ecx
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0xc]
div ecx
test edx, edx
mov edx, dword [ebp - 0x24]
setne dl
inc eax
add edx, eax
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x24], edx
ja 0x100339c2
cmp byte [ebx + 0x2d], 0
je 0x100339c2
xor edi, edi
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x10033a10
mov eax, dword [edi + 8]
lea eax, [eax + ecx*2]
cmp eax, dword [ebx + 0x24]
ja 0x10033cfc
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
call fcn.10033170
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
inc edx
inc eax
imul edx, ecx
imul eax, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
add eax, ecx
add eax, edx
cmp eax, dword [ebx + 0x28]
ja 0x10033cfc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebx + 0x60]
add eax, edx
push eax
push dword [ebp - 0x28]
push edi
call fcn.10033460
mov ecx, dword [ebx + 0x34]
mov eax, ecx
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
dec ebx
shr eax, 0x1f
dec edi
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
imul edi, ecx
addsd xmm0, qword [eax*8 + 0x100f8460]
imul ebx, ecx
mov ecx, dword [ebp - 0x30]
cvtpd2ps xmm5, xmm0
mov eax, dword [ecx + 0x24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm5, dword [0x100f8568]
addsd xmm0, qword [eax*8 + 0x100f8460]
mov eax, dword [ecx + 0x28]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8460]
mov eax, dword [ebp - 0x2c]
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
mov eax, dword [ecx + 0x44]
mov edx, eax
cvtpd2ps xmm2, xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x3c]
shl edx, 5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8460]
mov eax, dword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm5
divss xmm0, xmm1
movss dword [ecx + edx], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8460]
mov eax, dword [ebp - 0x1c]
add eax, edi
cvtpd2ps xmm0, xmm0
subss xmm0, xmm5
divss xmm0, xmm2
movss dword [ecx + edx + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8460]
mov eax, dword [ebp - 0x20]
add eax, ebx
cvtpd2ps xmm0, xmm0
addss xmm0, xmm5
divss xmm0, xmm1
movss dword [ecx + edx + 8], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8460]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm5
divss xmm0, xmm2
movss dword [ecx + edx + 0xc], xmm0
movaps xmm0, xmm3
subss xmm0, xmm5
movss dword [ecx + edx + 0x10], xmm0
movaps xmm0, xmm4
subss xmm0, xmm5
movss dword [ecx + edx + 0x14], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
addsd xmm0, qword [edi*8 + 0x100f8460]
mov edi, dword [ebp - 0x2c]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm3
addss xmm0, xmm5
movss dword [ecx + edx + 0x18], xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
shr ebx, 0x1f
addsd xmm0, qword [ebx*8 + 0x100f8460]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm4
addss xmm0, xmm5
movss dword [ecx + edx + 0x1c], xmm0
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
cmp dword [edi + 0xc], ecx
jbe 0x10033c16
mov eax, dword [edx + 0x28]
mov ebx, dword [ebp - 0x20]
sub eax, ebx
cmp ecx, eax
jae 0x10033c13
add ebx, ecx
xor ecx, ecx
imul ebx, dword [edx + 0x24]
add ebx, dword [edx + 0x38]
add ebx, dword [ebp - 0x1c]
cmp dword [edi + 8], ecx
jbe 0x10033c01
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
mov eax, dword [edx + 0x24]
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
jae 0x10033bff
mov al, byte [edi]
add edi, dword [ebp + 0x18]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, dword [esi + 8]
jb 0x10033be7
mov edi, esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
inc ecx
add dword [ebp + 0x10], eax
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0xc]
jb 0x10033bc2
mov esi, dword [ebp - 0x14]
cmp dword [edx + 0x64], 0
jne 0x10033c6a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
sub eax, dword [edx + 0x34]
lea ebx, [edx + 0x74]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [edx + 0x34]
mov dword [edx + 0x6c], eax
mov eax, dword [edi + 8]
add eax, dword [edx + 0x34]
add eax, dword [ebp - 0x1c]
cmp dword [edx + 0x24], eax
mov dword [ebp - 0x14], eax
lea eax, [edx + 0x24]
cmovb ecx, eax
mov eax, dword [ecx]
mov dword [edx + 0x70], eax
lea eax, [edx + 0x28]
mov ecx, dword [edi + 0xc]
lea edi, [ebp - 0x34]
add ecx, dword [edx + 0x34]
add ecx, dword [ebp - 0x20]
cmp dword [eax], ecx
mov dword [ebp - 0x34], ecx
cmovb edi, eax
jmp 0x10033ce4
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
sub ecx, dword [edx + 0x34]
lea ebx, [edx + 0x70]
cmp ecx, dword [edx + 0x68]
mov dword [ebp - 0x14], ecx
lea ecx, [edx + 0x68]
cmovae eax, ecx
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [edx + 0x34]
cmp ecx, dword [edx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [edx + 0x6c]
cmovae eax, ecx
mov eax, dword [eax]
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
mov eax, dword [edi + 8]
add eax, dword [edx + 0x34]
add eax, dword [ebp - 0x1c]
cmp dword [ebx], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x24]
cmovae ecx, ebx
lea ebx, [edx + 0x24]
cmp eax, dword [ecx]
cmovb ecx, ebx
lea ebx, [edx + 0x74]
mov eax, dword [ecx]
lea ecx, [edx + 0x28]
mov dword [edx + 0x70], eax
mov eax, dword [edi + 0xc]
lea edi, [ebp - 0x40]
add eax, dword [edx + 0x34]
add eax, dword [ebp - 0x20]
cmp dword [ebx], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
cmovae edi, ebx
cmp eax, dword [edi]
cmovb edi, ecx
mov eax, dword [edi]
mov dword [ebx], eax
nop
xor ecx, ecx
lea eax, [ebp - 0x14]
lock or dword [eax], ecx
inc dword [edx + 0x44]
inc dword [edx + 0x64]
mov edi, dword [ebp - 0x24]
jmp 0x10033cff
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x10033d14
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009d019
mov esp, ebp
pop ebp
ret 0x14