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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x329c
call fcn.1007d430
mov eax, dword [0x1008a2c0]
xor eax, esp
mov dword [esp + 0x3298], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x94]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
push ebx
mov ebx, dword [eax + 0xc]
push esi
mov esi, dword [eax + 0x10]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x5c], edx
shr esi, 1
xor edx, edx
mov eax, 0x8000
div esi
push edi
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0x10]
shr edi, 1
mov dword [esp + 0x84], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x64], edi
sub eax, ecx
inc eax
mov dword [esp + 0x54], eax
cmp eax, 1
jge 0x10041adb
mov eax, 1
mov dword [esp + 0x54], eax
cmp eax, ebx
jle 0x10041ae5
mov eax, ebx
mov dword [esp + 0x54], eax
lea esi, [eax + ecx - 1]
lea eax, [esi + esi + 2]
lea edx, [ebx + ecx - 1]
mov dword [esp + 0x4c], edx
cmp eax, 0x640
jle 0x10041b2d
add eax, eax
add eax, eax
add eax, eax
push eax
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10041b31
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3298]
xor ecx, esp
call fcn.1007d356
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x14]
add edx, dword [ebp + 0x18]
lea ecx, [eax + esi*8]
sub dword [esp + 0x4c], edx
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], eax
cmp ebx, eax
jle 0x100426b2
mov eax, dword [esp + 0x54]
fld qword [0x1007e220]
imul eax, edi
add eax, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
cmp eax, ecx
jle 0x10041b87
mov eax, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x60], 0
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + eax - 1]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x68], 0
jle 0x10042684
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x68]
mov eax, 1
dec ecx
shl eax, cl
test dword [ebp + 0x1c], eax
je 0x10042671
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x68]
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
test ecx, ecx
jle 0x10041bf3
mov edi, dword [esp + 0x14]
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
rep stosd dword es:[edi], eax
cmp dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
jle 0x10042671
mov eax, dword [esp + 0x4c]
add eax, dword [ebp + 0x14]
mov dword [esp + 0x50], eax
add eax, dword [ebp + 0x18]
mov dword [esp + 0x6c], eax
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x20], ebx
mov ecx, edi
cmp edi, edx
jge 0x10041cf0
mov esi, edx
sub esi, edi
cmp esi, 4
mov esi, dword [esp + 0x28]
jl 0x10041cb6
mov edx, ebx
add edx, 0x10
cmp eax, dword [esp + 0x1c]
jge 0x10041cf0
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx - 0x10]
cmp eax, dword [esp + 0x1c]
jge 0x10041ce5
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx - 8]
cmp eax, dword [esp + 0x1c]
jge 0x10041ce8
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx]
cmp eax, dword [esp + 0x1c]
jge 0x10041ced
movsx edi, word [esi]
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x14]
add ecx, 4
fild dword [esp + 0x10]
add edi, 0xfffffffd
inc eax
add edx, 0x20
fstp qword [edx - 0x18]
cmp ecx, edi
jl 0x10041c48
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 0x14]
cmp ecx, edx
jge 0x10041cf0
mov edx, ecx
sub edx, edi
mov edi, dword [esp + 0x24]
lea edx, [edi + edx*8]
cmp eax, dword [esp + 0x1c]
jge 0x10041cf0
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc ecx
inc eax
fild dword [esp + 0x10]
add edx, 8
fstp qword [edx - 8]
cmp ecx, dword [ebp + 0x14]
jl 0x10041cc5
jmp 0x10041cf0
inc ecx
jmp 0x10041cf0
add ecx, 2
jmp 0x10041cf0
add ecx, 3
cmp ecx, dword [esp + 0x50]
jge 0x10041e5f
mov edx, dword [esp + 0x50]
sub edx, ecx
cmp edx, 4
jl 0x10041e03
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, ecx
sub esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
lea esi, [edi + esi*8 + 0x10]
mov edi, ecx
sub edi, dword [ebp + 0x14]
add edx, edx
mov dword [esp + 0x30], edi
imul edi, dword [esp + 0x2c]
lea edi, [ebx + edi*2]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x30]
add edi, 3
imul edi, dword [esp + 0x2c]
lea edi, [ebx + edi*2]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
add edi, 2
imul edi, dword [esp + 0x2c]
lea edi, [ebx + edi*2]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x30]
add edx, edx
inc edi
add edx, edx
imul edi, dword [esp + 0x2c]
lea edi, [ebx + edi*2]
cmp eax, dword [esp + 0x1c]
jge 0x10041e5b
mov ebx, dword [esp + 0x58]
movsx ebx, word [ebx]
mov dword [esp + 0x30], ebx
inc eax
fild dword [esp + 0x30]
fstp qword [esi - 0x10]
cmp eax, dword [esp + 0x1c]
jge 0x10041e50
movsx ebx, word [edi]
mov dword [esp + 0x30], ebx
inc eax
fild dword [esp + 0x30]
fstp qword [esi - 8]
cmp eax, dword [esp + 0x1c]
jge 0x10041e53
mov ebx, dword [esp + 0x40]
movsx ebx, word [ebx]
mov dword [esp + 0x30], ebx
inc eax
fild dword [esp + 0x30]
fstp qword [esi]
cmp eax, dword [esp + 0x1c]
jge 0x10041e58
mov ebx, dword [esp + 0x10]
movsx ebx, word [ebx]
add dword [esp + 0x58], edx
add dword [esp + 0x40], edx
add dword [esp + 0x10], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x50]
add ecx, 4
fild dword [esp + 0x30]
add ebx, 0xfffffffd
inc eax
add edi, edx
fstp qword [esi + 8]
add esi, 0x20
cmp ecx, ebx
jl 0x10041d6d
mov ebx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x50]
jge 0x10041e5f
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edx, ecx
sub edx, dword [esp + 0x3c]
add edi, edi
lea esi, [esi + edx*8]
mov edx, ecx
sub edx, dword [ebp + 0x14]
imul edx, dword [esp + 0x2c]
lea edx, [ebx + edx*2]
cmp eax, dword [esp + 0x1c]
jge 0x10041e5b
movsx ebx, word [edx]
mov dword [esp + 0x10], ebx
inc ecx
inc eax
fild dword [esp + 0x10]
add edx, edi
add esi, 8
fstp qword [esi - 8]
cmp ecx, dword [esp + 0x50]
jl 0x10041e2d
jmp 0x10041e5b
inc ecx
jmp 0x10041e5b
add ecx, 2
jmp 0x10041e5b
add ecx, 3
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x6c]
cmp ecx, esi
jge 0x10041f42
mov edx, esi
sub edx, ecx
cmp edx, 4
jl 0x10041f03
mov esi, dword [esp + 0x24]
mov edx, ecx
sub edx, dword [esp + 0x3c]
lea edx, [esi + edx*8 + 0x10]
cmp eax, dword [esp + 0x1c]
jge 0x10041f42
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
dec esi
imul esi, dword [esp + 0x2c]
lea esi, [edi + esi*2]
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx - 0x10]
cmp eax, dword [esp + 0x1c]
jge 0x10041f42
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx - 8]
cmp eax, dword [esp + 0x1c]
jge 0x10041f42
movsx edi, word [esi]
mov dword [esp + 0x10], edi
inc eax
fild dword [esp + 0x10]
fstp qword [edx]
cmp eax, dword [esp + 0x1c]
jge 0x10041f42
movsx esi, word [esi]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x6c]
add ecx, 4
fild dword [esp + 0x10]
lea edi, [esi - 3]
inc eax
add edx, 0x20
fstp qword [edx - 0x18]
cmp ecx, edi
jl 0x10041e86
cmp ecx, esi
jge 0x10041f42
mov esi, dword [esp + 0x24]
mov edx, ecx
sub edx, dword [esp + 0x3c]
lea edx, [esi + edx*8]
mov esi, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jge 0x10041f42
mov edi, dword [esp + 0x4c]
dec edi
imul edi, dword [esp + 0x2c]
movsx edi, word [esi + edi*2]
mov dword [esp + 0x10], edi
inc ecx
add edx, 8
fild dword [esp + 0x10]
inc eax
fstp qword [edx - 8]
cmp ecx, dword [esp + 0x6c]
jl 0x10041f18
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add esi, 0xfffffffc
xor edx, edx
test esi, esi
jle 0x1004202c
dec esi
mov edi, ecx
sub edi, dword [esp + 0x24]
shr esi, 2
inc esi
lea eax, [esi*4]
mov dword [esp + 0x10], eax
fld qword [ebx]
xor eax, eax
fld qword [ebx + 8]
fld qword [ebx + 0x10]
fld qword [ecx]
fld qword [ecx + 8]
fld qword [edi + ebx + 0x10]
fstp qword [esp + 0x40]
fld qword [ecx + 0x18]
fstp qword [esp + 0x58]
cmp dword [esp + 0x18], eax
jle 0x1004200d
fstp st(5)
lea edx, [ebx + 0x20]
jmp 0x10041f9c
fxch st(1)
fxch st(3)
fxch st(1)
fld qword [edx - 8]
mov ebx, dword [esp + 0x14]
fld qword [edx]
add eax, 2
fld st(4)
add edx, 0x10
fmul st(7)
fxch st(6)
fmul st(3)
faddp st(6)
fld qword [esp + 0x40]
fmul st(4)
faddp st(6)
fld qword [esp + 0x58]
fmul st(2)
faddp st(6)
fxch st(5)
fadd qword [ebx + eax*8 - 0x10]
fstp qword [ebx + eax*8 - 0x10]
fxch st(3)
fmul st(1)
fld st(5)
fmul st(3)
faddp st(1)
fld qword [esp + 0x40]
fmul st(4)
faddp st(1)
fld qword [esp + 0x58]
fmul st(5)
faddp st(1)
fadd qword [ebx + eax*8 - 8]
fstp qword [ebx + eax*8 - 8]
cmp eax, dword [esp + 0x18]
jl 0x10041f96
mov ebx, dword [esp + 0x20]
fstp st(1)
fstp st(1)
fstp st(1)
fstp st(0)
fstp st(0)
fld qword [0x1007e220]
jmp 0x10042017
fstp st(4)
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
add ebx, 0x20
add ecx, 0x20
dec esi
mov dword [esp + 0x20], ebx
jne 0x10041f6b
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x74]
sub eax, edx
xor edi, edi
cmp eax, 4
jne 0x100421d4
fld qword [ebx]
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
fld qword [ebx + 8]
fld qword [ebx + 0x10]
fld qword [ecx]
fst qword [esp + 0x30]
fld qword [ecx + 8]
fst qword [esp + 0x98]
fld qword [ecx + 0x10]
fstp qword [esp + 0x40]
fld qword [ecx + 0x18]
fstp qword [esp + 0x58]
js 0x100421a1
add ebx, 0x20
mov dword [esp + 0x10], ebx
jmp 0x10042084
fstp st(0)
fxch st(2)
fxch st(4)
fxch st(2)
mov eax, dword [esp + 0x10]
fxch st(4)
fstp qword [esp + 0x90]
mov ecx, dword [esp + 0x14]
fld qword [eax - 8]
fld qword [eax]
fld st(4)
fmulp st(6)
fld qword [esp + 0x90]
fmul st(3)
faddp st(6)
fld qword [esp + 0x40]
fmul st(4)
faddp st(6)
fld qword [esp + 0x58]
fmul st(2)
faddp st(6)
fxch st(5)
fadd qword [ecx + edi*8]
fcom st(6)
fnstsw ax
test ah, 0x41
jp 0x100420d0
fstp st(0)
mov ebx, 0x80000000
jmp 0x100420f9
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100420e8
fstp st(0)
mov ebx, 0x7fffffff
jmp 0x100420f9
fstp st(2)
fxch st(1)
call fcn.1007d380
fld qword [esp + 0x30]
mov ebx, eax
fxch st(1)
mov ecx, dword [esp + 0x14]
fxch st(3)
fmul st(1)
fld qword [esp + 0x98]
fld st(0)
fmul st(4)
faddp st(2)
fld qword [esp + 0x40]
fmul st(5)
faddp st(2)
fld qword [esp + 0x58]
fmul st(6)
faddp st(2)
fxch st(1)
fadd qword [ecx + edi*8 + 8]
fcom st(6)
fnstsw ax
test ah, 0x41
jp 0x10042136
fstp st(0)
mov eax, 0x80000000
jmp 0x10042161
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1004214e
fstp st(0)
mov eax, 0x7fffffff
jmp 0x10042161
fstp st(2)
fxch st(1)
call fcn.1007d380
fld qword [esp + 0x30]
mov ecx, dword [esp + 0x14]
fxch st(1)
mov edx, dword [esp + 0x64]
fldz
add dword [esp + 0x10], 0x10
sar eax, 0x10
sar ebx, 0x10
mov word [esi], bx
mov word [esi + edx*2], ax
fst qword [ecx + edi*8]
lea eax, [edx*4]
fst qword [ecx + edi*8 + 8]
add esi, eax
mov eax, dword [esp + 0x18]
add edi, 2
add eax, 0xfffffffe
cmp edi, eax
jle 0x1004207c
mov ebx, dword [esp + 0x20]
jmp 0x100421a9
fldz
fxch st(3)
fxch st(5)
fxch st(3)
cmp edi, dword [esp + 0x18]
jge 0x10042641
fld qword [ebx + edi*8 + 0x18]
fxch st(5)
fmulp st(2)
fxch st(2)
fmulp st(3)
faddp st(2)
fld qword [esp + 0x40]
fmulp st(4)
fxch st(1)
faddp st(3)
fld qword [esp + 0x58]
jmp 0x10042314
cmp eax, 3
jne 0x10042384
fld qword [ebx]
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
fld qword [ebx + 8]
fld qword [ecx]
fld qword [ecx + 8]
fld qword [ecx + 0x10]
fstp qword [esp + 0x40]
js 0x100422ee
add ebx, 0x18
mov dword [esp + 0x10], ebx
jmp 0x1004220c
fstp st(0)
fxch st(2)
fxch st(3)
fxch st(2)
mov eax, dword [esp + 0x10]
fld qword [eax - 8]
mov ecx, dword [esp + 0x14]
fld qword [eax]
fld st(4)
fmul st(3)
fxch st(6)
fmul st(4)
faddp st(6)
fld qword [esp + 0x40]
fmul st(2)
faddp st(6)
fxch st(5)
fadd qword [ecx + edi*8]
fcom st(6)
fnstsw ax
test ah, 0x41
jp 0x10042242
fstp st(0)
mov ebx, 0x80000000
jmp 0x10042261
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1004225a
fstp st(0)
mov ebx, 0x7fffffff
jmp 0x10042261
call fcn.1007d380
mov ebx, eax
mov ecx, dword [esp + 0x14]
fxch st(3)
fmul st(2)
fld st(1)
fmul st(4)
faddp st(1)
fld qword [esp + 0x40]
fmul st(5)
faddp st(1)
fadd qword [ecx + edi*8 + 8]
fcom st(5)
fnstsw ax
test ah, 0x41
jp 0x1004228d
fstp st(0)
mov eax, 0x80000000
jmp 0x100422ae
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100422a5
fstp st(0)
mov eax, 0x7fffffff
jmp 0x100422ae
call fcn.1007d380
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
fldz
add dword [esp + 0x10], 0x10
sar eax, 0x10
sar ebx, 0x10
mov word [esi], bx
mov word [esi + edx*2], ax
fst qword [ecx + edi*8]
lea eax, [edx*4]
fst qword [ecx + edi*8 + 8]
add esi, eax
mov eax, dword [esp + 0x18]
add edi, 2
add eax, 0xfffffffe
cmp edi, eax
jle 0x10042204
mov ebx, dword [esp + 0x20]
jmp 0x100422f6
fldz
fxch st(3)
fxch st(4)
fxch st(3)
cmp edi, dword [esp + 0x18]
jge 0x100426e3
fld qword [ebx + edi*8 + 0x10]
fxch st(4)
fmulp st(3)
fxch st(1)
fmulp st(4)
fxch st(1)
faddp st(3)
fld qword [esp + 0x40]
mov edx, dword [esp + 0x14]
fmulp st(2)
fxch st(2)
faddp st(1)
fadd qword [edx + edi*8]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x10042341
mov eax, 0x80000000
fstp st(0)
sar eax, 0x10
mov word [esi], ax
mov eax, edx
fstp qword [eax + edi*8]
jmp 0x1004264d
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10042369
mov eax, 0x7fffffff
fstp st(0)
sar eax, 0x10
mov word [esi], ax
mov eax, dword [esp + 0x14]
fstp qword [eax + edi*8]
jmp 0x1004264d
fstp st(1)
call fcn.1007d380
fldz
sar eax, 0x10
mov word [esi], ax
mov eax, dword [esp + 0x14]
fstp qword [eax + edi*8]
jmp 0x1004264d
cmp eax, 2
mov eax, dword [esp + 0x18]
jne 0x100424f6
add eax, 0xfffffffe
fld qword [ebx]
fld qword [ecx]
fld qword [ecx + 8]
js 0x10042476
add ebx, 0x10
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
fld qword [eax - 8]
mov ecx, dword [esp + 0x14]
fld qword [eax]
fld st(1)
fmul st(3)
fxch st(5)
fmul st(4)
faddp st(5)
fxch st(4)
fadd qword [ecx + edi*8]
fcom st(5)
fnstsw ax
test ah, 0x41
jp 0x100423d6
fstp st(0)
mov ebx, 0x80000000
jmp 0x100423f5
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100423ee
fstp st(0)
mov ebx, 0x7fffffff
jmp 0x100423f5
call fcn.1007d380
mov ebx, eax
mov ecx, dword [esp + 0x14]
fmul st(2)
fld st(1)
fmul st(4)
faddp st(1)
fadd qword [ecx + edi*8 + 8]
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x10042417
fstp st(0)
mov eax, 0x80000000
jmp 0x10042438
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1004242f
fstp st(0)
mov eax, 0x7fffffff
jmp 0x10042438
call fcn.1007d380
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
fldz
add dword [esp + 0x10], 0x10
sar eax, 0x10
sar ebx, 0x10
mov word [esi], bx
mov word [esi + edx*2], ax
fst qword [ecx + edi*8]
lea eax, [edx*4]
fstp qword [ecx + edi*8 + 8]
add esi, eax
mov eax, dword [esp + 0x18]
add edi, 2
add eax, 0xfffffffe
cmp edi, eax
jle 0x100423a8
mov ebx, dword [esp + 0x20]
cmp edi, dword [esp + 0x18]
jge 0x10042647
fmul qword [ebx + edi*8 + 8]
mov edx, dword [esp + 0x14]
fxch st(1)
fmulp st(2)
faddp st(1)
fadd qword [edx + edi*8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x100424b3
mov eax, 0x80000000
fstp st(0)
fldz
sar eax, 0x10
mov word [esi], ax
mov eax, edx
fstp qword [eax + edi*8]
jmp 0x1004264d
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x100424dd
mov eax, 0x7fffffff
fstp st(0)
fldz
sar eax, 0x10
mov word [esi], ax
mov eax, dword [esp + 0x14]
fstp qword [eax + edi*8]
jmp 0x1004264d
call fcn.1007d380
fldz
sar eax, 0x10
mov word [esi], ax
mov eax, dword [esp + 0x14]
fstp qword [eax + edi*8]
jmp 0x1004264d
add eax, 0xfffffffe
fld qword [ecx]
mov dword [esp + 0x30], edi
js 0x100425d5
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, ecx
lea edi, [ecx + 8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
fld qword [ecx + edx*8]
fld qword [eax + edi]
fxch st(1)
fmul st(2)
fadd qword [edi - 8]
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x1004253f
fstp st(0)
mov ebx, 0x80000000
jmp 0x1004255e
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x10042557
fstp st(0)
mov ebx, 0x7fffffff
jmp 0x1004255e
call fcn.1007d380
mov ebx, eax
fmul st(1)
fadd qword [edi]
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x10042574
fstp st(0)
mov eax, 0x80000000
jmp 0x10042591
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1004258c
fstp st(0)
mov eax, 0x7fffffff
jmp 0x10042591
call fcn.1007d380
mov ecx, dword [esp + 0x64]
fldz
sar eax, 0x10
sar ebx, 0x10
mov word [esi], bx
mov word [esi + ecx*2], ax
fst qword [edi - 8]
lea eax, [ecx*4]
fstp qword [edi]
mov ecx, dword [esp + 0x18]
add esi, eax
mov eax, dword [esp + 0x30]
add eax, 2
add ecx, 0xfffffffe
add edi, 0x10
mov dword [esp + 0x30], eax
cmp eax, ecx
jle 0x10042514
mov ebx, dword [esp + 0x20]
mov edi, eax
cmp edi, dword [esp + 0x18]
jge 0x1004264b
fmul qword [ebx + edi*8]
mov ecx, dword [esp + 0x14]
fadd qword [ecx + edi*8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10042604
fstp st(0)
mov eax, 0x80000000
fldz
sar eax, 0x10
mov edx, ecx
mov word [esi], ax
fstp qword [edx + edi*8]
jmp 0x1004264d
fld qword [0x1007e228]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1004262b
mov edx, dword [esp + 0x14]
fstp st(0)
fldz
mov eax, 0x7fffffff
sar eax, 0x10
mov word [esi], ax
fstp qword [edx + edi*8]
jmp 0x1004264d
call fcn.1007d380
fldz
mov edx, dword [esp + 0x14]
sar eax, 0x10
mov word [esi], ax
fstp qword [edx + edi*8]
jmp 0x1004264d
fstp st(2)
fstp st(2)
fstp st(2)
fstp st(2)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x60]
add eax, eax
add dword [esp + 0x28], eax
add dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x80]
jl 0x10041c1b
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x60]
jl 0x10041ba5
mov eax, dword [esp + 0x54]
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
add dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x84]
jl 0x10041b6a
fstp st(0)
lea edx, [esp + 0xa0]
cmp dword [esp + 0x24], edx
je 0x100426cc
mov eax, dword [esp + 0x24]
push eax
call sub.MSVCR100.dll_free
add esp, 4
mov ecx, dword [esp + 0x32a4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1007d356
mov esp, ebp
pop ebp
ret
fstp st(3)
fstp st(3)
fstp st(1)
jmp 0x10042649