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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0x10]
movsd xmm0, qword [ebp + 8]
mov ecx, dword [0x10376020]
xor ecx, ebp
mov dword [esp + 0x90], ecx
cmp eax, 2
jae 0x3c1d47
movsd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, esi
and ecx, 0xfffff
mov ebx, edx
add ebx, 0xffffffff
mov edi, ecx
adc edi, 0xfffff
add ebx, 1
adc edi, 0
test esi, 0x7ff00000
je 0x3c207b
shr esi, 0x14
and esi, 0x7ff
add esi, 0xfffffbcd
shld edi, ebx, 0xb
shl ebx, 0xb
movaps xmm1, xmmword [0x103013a0]
movups xmmword [esp + 0x80], xmm1
xor ecx, ecx
mov dword [esp + 0x88], ecx
movups xmmword [esp + 0x70], xmm1
mov dword [esp + 0x78], ecx
test eax, eax
mov dword [esp + 4], edi
jne 0x3c2099
lea ecx, [esp + 0x60]
movsd qword [ecx], xmm0
lea eax, [esp + 0x70]
lea edx, [esp + 0x80]
push eax
push edx
call fcn.003c20c0
lea ecx, [esp + 0x60]
movaps xmm0, xmmword [0x103013a0]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
mov edi, ecx
lea eax, [esp + 0x5c]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
sub ecx, esi
mov edx, 0xffffffab
sub edx, esi
push eax
push edi
push edx
push ecx
call fcn.003f3f20
add esp, 0x10
mov edi, dword [edi + 4]
mov eax, edi
mov dword [esp + 0x1c], edi
mul dword [esp + 4]
mov dword [esp + 0xc], eax
mov ecx, edx
and ebx, 0xfffff800
mov dword [esp + 8], ebx
mov eax, edi
mul ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x60]
mov ebx, dword [eax]
mov eax, ebx
mov dword [esp + 0x34], ebx
mul dword [esp + 4]
mov edi, esi
mov esi, edx
mov dword [esp + 4], eax
mov eax, ebx
mul dword [esp + 8]
xor eax, eax
add edx, dword [esp + 4]
setb al
add edx, dword [esp + 0x10]
mov ebx, 0
adc eax, ebx
lea ebx, [esp + 0x60]
add edi, dword [ebx + 8]
mov dword [esp + 4], edi
add esi, dword [esp + 0xc]
mov edi, 0
adc ecx, edi
add esi, dword [esp + 0x14]
adc ecx, edi
xor ebx, ebx
mov edi, 0x80000000
add edx, edi
adc esi, eax
mov dword [esp + 0x38], esi
adc ecx, ebx
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x84]
mov eax, edi
mov ebx, dword [esp + 0x1c]
mul ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov esi, dword [esp + 0x80]
mov eax, esi
mul ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov eax, edi
mov edi, dword [esp + 0x34]
mul edi
mov dword [esp + 8], edx
mov ecx, eax
mov eax, esi
mul edi
xor eax, eax
add edx, ecx
setb al
add edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x74]
mov eax, ecx
mov esi, ebx
mul ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x70]
mov eax, ebx
mul esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov eax, ecx
mul edi
mov esi, edx
mov ecx, eax
mov eax, ebx
mul edi
xor eax, eax
add edx, ecx
setb al
add edx, dword [esp + 0x2c]
mov ecx, 0
adc eax, ecx
mov edi, esi
add edi, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
adc esi, ecx
add edi, dword [esp + 0x1c]
adc esi, ecx
mov ebx, 0x80000000
add edx, ebx
adc edi, eax
adc esi, ecx
add edi, 1
adc esi, ecx
mov edx, dword [esp + 8]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
adc eax, ecx
add edx, dword [esp + 0x10]
adc eax, ecx
add dword [esp + 0x18], ebx
adc edx, dword [esp + 0x20]
mov ebx, edx
adc eax, ecx
mov edx, eax
mov ecx, edi
mov dword [esp + 0x28], edi
sub ecx, ebx
mov eax, esi
sbb eax, edx
add ecx, 1
mov dword [esp + 8], ecx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x10], eax
mov ecx, 0xffffffcb
sub ecx, dword [esp + 4]
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov ebx, eax
shl ebx, cl
mov eax, edi
shrd eax, esi, cl
mov edi, esi
shr edi, cl
mov dword [esp + 0x1c], ecx
test cl, 0x20
cmove edi, eax
cmovne edx, ebx
mov eax, 0
cmovne ebx, eax
mov dword [esp + 0x40], ebx
mov eax, ebx
add eax, 0xffffffff
mov dword [esp + 0x44], edx
adc edx, 0xffffffff
mov dword [esp + 0x24], esi
mov ebx, esi
mov dword [esp + 0x2c], edx
and ebx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
and edx, eax
imul eax, dword [esp + 4], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x18], edi
cmp dword [eax*4 + 0x1036138c], edi
lea ecx, [eax + 1]
cmova ecx, eax
mov esi, dword [ecx*4 + 0x10361388]
mov eax, dword [ebp + 0x20]
xor edi, edi
mov dword [eax], edi
test ecx, ecx
jle 0x3c1d26
mov dword [esp + 0xc], edx
mov dword [esp + 4], ebx
inc ecx
xor edi, edi
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
xor edx, edx
div esi
add al, 0x30
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edi], al
xor eax, eax
mov ebx, edx
mov ecx, dword [esp + 0x1c]
shld eax, edx, cl
mov edx, dword [ebp + 0x20]
mov edi, dword [edx]
inc edi
mov dword [esp + 0x18], ebx
shl ebx, cl
test cl, 0x20
cmovne eax, ebx
mov ecx, 0
cmovne ebx, ecx
add ebx, dword [esp + 0xc]
adc eax, dword [esp + 4]
cmp ebx, dword [esp + 8]
mov ecx, eax
sbb ecx, dword [esp + 0x10]
mov dword [edx], edi
jb 0x3c1cb3
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
mov esi, edx
shr esi, 3
mov ecx, dword [esp + 0x14]
dec ecx
cmp ecx, 1
ja 0x3c1a69
xor ecx, ecx
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov eax, edx
mov ecx, 0xa
mul ecx
lea ecx, [ebx + ebx*4]
lea ebx, [edx + ecx*2]
mov esi, eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ebx
shrd esi, ebx, cl
shr ebx, cl
mov eax, dword [esp + 0x18]
mov edx, 0xa
mul edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x18]
mov byte [esi + edi], bl
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x20]
lea esi, [esi + esi*4]
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + esi*2]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
lea esi, [edx + ecx*2]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ecx]
inc edi
and ebx, dword [esp + 0x2c]
and edx, dword [esp + 0x30]
dec dword [esp + 0x14]
mov dword [esp + 8], eax
cmp edx, eax
mov eax, ebx
mov ecx, esi
mov dword [esp + 0x10], esi
sbb eax, esi
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
jae 0x3c1af1
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
sbb eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov ecx, esi
imul ecx, eax
mov eax, esi
mov dword [esp + 0xc], edx
mul ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
imul ebx, eax
add ebx, edx
add ebx, ecx
mov ecx, dword [ebp + 0x18]
mov edx, edi
push eax
push esi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x24]
push ebx
push dword [esp + 0x40]
call fcn.003c22b0
add esp, 0x28
test al, al
mov esi, dword [ebp + 0x18]
je 0x3c1c2a
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ecx]
mov byte [esi + eax], 0
mov bl, 1
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.002a5ceb
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x3c1c12
mov eax, esi
mov ecx, dword [esp + 0xc]
not ecx
mov dword [esp + 0x60], ecx
mov edx, ebx
mov ecx, dword [esp + 0x18]
shl edx, cl
xor edi, edi
test cl, 0x20
mov esi, edx
cmovne esi, edi
mov dword [esp + 0xc], esi
xor esi, esi
shld esi, ebx, cl
test cl, 0x20
cmovne esi, edx
mov edx, eax
shl edx, cl
test cl, 0x20
mov edi, edx
mov ebx, 0
cmovne edi, ebx
xor ebx, ebx
shld ebx, eax, cl
test cl, 0x20
cmovne ebx, edx
add edi, dword [esp + 8]
adc ebx, dword [esp + 0x10]
lea eax, [esp + 0x60]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 4]
push eax
xor eax, eax
push eax
push 1
push esi
push dword [esp + 0x1c]
push ebx
push edi
call fcn.003c2460
add esp, 0x1c
test al, al
je 0x3c1c2a
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x70]
mov esi, dword [ebp + 0x18]
jmp 0x3c1c00
xor edx, edx
mov ecx, dword [esp + 0x1c]
shld edx, esi, cl
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov dword [esp + 4], edx
mov ecx, 0
cmovne esi, ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
sbb ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x18]
mov edx, edi
xor edi, edi
push edi
push 1
push dword [esp + 0xc]
push esi
push eax
push ebx
push dword [esp + 0x28]
push dword [esp + 0x24]
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.003c22b0
add esp, 0x28
test al, al
je 0x3c1c2a
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x5c]
add edx, 0xfffffffe
jmp 0x3c1cab
xor edi, edi
jmp 0x3c1ade
mov edx, 0xfffffbce
mov esi, ecx
mov ebx, eax
shld ebx, esi, 1
add esi, esi
dec edx
bt eax, 0x13
mov eax, ebx
jb 0x3c1d8c
jmp 0x3c1d36
jne 0x3c2076
movsd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, edx
and eax, 0xfffff
mov esi, ecx
add esi, 0xffffffff
mov ebx, eax
adc ebx, 0xfffff
add esi, 1
adc ebx, 0
test edx, 0x7ff00000
je 0x3c1d2d
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
shld ebx, esi, 0xb
shl esi, 0xb
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x103013a0]
lea ecx, [esp + 0x80]
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ecx + 8], eax
mov edi, ecx
lea eax, [esp + 0x70]
mov dword [eax], 0xffffffff
mov ecx, 0xffffff8f
sub ecx, edx
mov esi, edx
mov dword [esp + 4], edx
mov edx, 0xffffffab
sub edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x1c], esi
push eax
mov esi, edi
push edi
push edx
push ecx
call fcn.003f3f20
add esp, 0x10
mov edi, dword [edi + 4]
mov eax, edi
mul ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mul edi
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esi]
mov eax, ecx
mul ebx
mov ebx, edx
mov esi, eax
mov eax, ecx
mul edi
xor eax, eax
add edx, esi
mov edi, 0
setb al
add edx, dword [esp + 8]
adc eax, edi
mov esi, dword [esp + 4]
lea ecx, [esp + 0x80]
add esi, dword [ecx + 8]
mov dword [esp + 4], esi
add ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
adc ecx, edi
add ebx, dword [esp + 0x14]
adc ecx, edi
add edx, 0x80000000
adc ebx, eax
mov eax, ebx
mov dword [esp + 8], ebx
adc ecx, edi
mov ebx, ecx
mov ecx, 0xffffffcb
sub ecx, esi
xor edi, edi
inc edi
xor edx, edx
shld edx, edi, cl
mov dword [esp + 0x20], edi
shl edi, cl
mov esi, ebx
shrd eax, ebx, cl
shr ebx, cl
mov dword [esp + 0x18], ecx
test cl, 0x20
cmove ebx, eax
cmovne edx, edi
mov eax, 0
cmovne edi, eax
mov dword [esp + 0x24], edi
add edi, 0xffffffff
mov dword [esp + 0x2c], edx
adc edx, 0xffffffff
mov dword [esp + 0x30], edx
and esi, edx
mov dword [esp + 0x10], esi
mov esi, ebx
mov dword [esp + 0x34], edi
and dword [esp + 8], edi
xor edi, edi
imul eax, dword [esp + 4], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x1036138c], ebx
lea ecx, [eax + 1]
cmova ecx, eax
mov ebx, dword [ecx*4 + 0x10361388]
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
test ecx, ecx
jle 0x3c2066
mov edx, ecx
neg edx
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
mov eax, esi
xor edx, edx
div ebx
add al, 0x30
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 4]
mov byte [esi + edi], al
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
inc edi
mov esi, edi
mov dword [esp + 4], edi
mov dword [eax], edi
mov esi, edx
cmp ecx, 1
je 0x3c1c2e
mov eax, ebx
mov edx, 0xcccccccd
mul edx
mov ebx, edx
shr ebx, 3
mov edx, dword [esp + 0xc]
inc edx
mov eax, dword [esp + 0x14]
dec eax
dec ecx
mov dword [esp + 0x14], eax
cmp eax, 2
jae 0x3c1eef
mov eax, esi
mov dword [esp + 0x1c], ecx
neg edx
mov ecx, edx
mov edi, dword [esp + 4]
mov dword [esp + 0x60], ecx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x3c206d
mov ebx, dword [esp + 0x10]
jle 0x3c1c2a
cmp dword [esp + 8], 2
mov eax, ebx
sbb eax, 0
jb 0x3c1c2a
xor edx, edx
mov dword [esp + 4], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 8]
mov ecx, 0xa
mul ecx
lea ebx, [ebx + ebx*4]
lea ebx, [edx + ebx*2]
mov edi, eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
shrd edi, ebx, cl
shr ebx, cl
mov eax, dword [esp + 0x20]
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, edi
add bl, 0x30
mov ecx, esi
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 4]
mov byte [esi + edi], bl
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x20]
mov edi, dword [esp + 0xc]
lea edi, [edi + edi*4]
lea edx, [edx + edi*2]
mov dword [esp + 0xc], edx
mov edx, ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esi]
inc edi
mov dword [esi], edi
mov esi, dword [esp + 8]
and esi, dword [esp + 0x34]
mov dword [esp + 8], esi
and ebx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x20], eax
cmp edx, 2
lea esi, [edx - 1]
mov edx, dword [esp + 0xc]
jb 0x3c201d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 8]
mov eax, edx
sbb eax, ebx
jb 0x3c1f7a
mov dword [esp + 0x60], ecx
test esi, esi
jne 0x3c1c2a
mov eax, edx
mov esi, dword [ebp + 0x18]
mov ecx, esi
mov edx, edi
lea edi, [esp + 0x60]
push edi
push eax
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x34]
push ebx
push dword [esp + 0x20]
call fcn.003c2460
add esp, 0x1c
test al, al
je 0x3c1c2a
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x70]
jmp 0x3c1c00
mov eax, esi
jmp 0x3c1f4e
mov dword [esp + 4], edi
jmp 0x3c1c3a
call fcn.003859a0
mov esi, 0xfffffbce
mov ebx, edx
mov edi, ecx
shld edi, ebx, 1
add ebx, ebx
dec esi
bt ecx, 0x13
mov ecx, edi
jb 0x3c17c3
jmp 0x3c2084
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0x60]
movss dword [ecx], xmm0
lea eax, [esp + 0x70]
lea edx, [esp + 0x80]
push eax
push edx
call fcn.003c21d0
jmp 0x3c1811