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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4628fb
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
mov ebp, dword [esp + 0x244]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov ebx, ecx
je 0x410d03
mov edi, dword [esp + 0x250]
cmp edi, esi
je 0x410d03
mov eax, dword [ebx + 0xc]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x410c73
cmp dword [ebx + 0x10], edi
jne 0x410c73
mov ecx, dword [esp + 0x258]
cmp ecx, esi
je 0x411992
push 1
push 1
push 1
push ebx
call fcn.0040f630
mov al, 1
jmp 0x410d05
fild dword [esp + 0x14]
push esi
lea ecx, [esp + 0x98]
fidiv dword [esp + 0x250]
fstp dword [esp + 0x54]
fild dword [ebx + 0x10]
fidiv dword [esp + 0x254]
fstp dword [esp + 0x60]
call fcn.0040f500
push ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x248], esi
call fcn.0040f760
mov eax, dword [ebx + 0x40]
lea ecx, [esp + 0x94]
push eax
xor eax, eax
mov ax, word [ebx + 0x16]
push eax
push edi
push ebp
call fcn.0040f7a0
push pe_nt_image_headers32
mov ecx, ebx
call fcn.00411d40
push eax
lea ecx, [esp + 0x9c]
call fcn.00412490
cmp dword [esp + 0x98], esi
jne 0x410d20
lea ecx, [esp + 0x94]
mov dword [esp + 0x244], 0xffffffff
call fcn.0040f540
xor al, al
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 0x10
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jne 0x410d39
cmp dword [ebx + 0x10], edi
jne 0x410d39
lea ecx, [esp + 0x94]
push ecx
jmp 0x411974
mov ecx, dword [esp + 0x254]
dec ecx
je 0x411808
dec ecx
je 0x41158f
cmp eax, ebp
jle 0x4111c2
cmp dword [ebx + 0x10], edi
jle 0x4111c2
cmp word [ebx + 0x16], 0x18
jne 0x4111c2
mov edx, dword [esp + 0xc8]
lea esi, [ebp + ebp*2 + 3]
shl esi, 2
push esi
mov dword [esp + 0x30], edx
call fcn.00453e99
mov edi, eax
push esi
mov dword [esp + 0x38], edi
call fcn.00453e99
fld dword [esp + 0x64]
fmul dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x24], eax
fmul dword [0x465a60]
call fcn.0042dd20
lea edx, [ebp + ebp*2]
mov dword [esp + 0x1c], eax
shl edx, 2
mov ecx, edx
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
fld dword [esp + 0x5c]
fsub dword [0x464d00]
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x10]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
jle 0x410f1d
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x410e02
xor edi, edi
cdq
idiv ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
cmp eax, edi
jne 0x410f1d
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
fld dword [esp + 0x50]
imul esi, dword [esp + 0x28]
fsub dword [0x464d00]
fild dword [esp + 0x28]
fcom st(2)
add esi, eax
mov dword [esp + 0x3c], edi
fnstsw ax
mov dword [esp + 0x40], edi
test ah, 1
je 0x410f6f
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], edi
cmp eax, edi
fstp st(0)
jle 0x410efc
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
fild dword [esp + 0x34]
fcom st(1)
fnstsw ax
test ah, 1
je 0x410e9a
mov eax, dword [esp + 0x18]
mov edi, 3
fstp st(0)
xor ecx, ecx
mov edx, dword [eax]
mov cl, byte [esi]
add eax, 4
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add edx, ecx
inc esi
mov dword [eax - 4], edx
dec edi
jne 0x410e7a
jmp 0x410ee8
fsub st(1)
fmul dword [0x465a60]
call fcn.0042dd20
mov edx, dword [esp + 0x18]
mov edi, eax
mov ebp, 0x3e8
mov ecx, edx
sub ebp, edi
add edx, 0xc
mov eax, 3
mov dword [esp + 0x18], edx
xor edx, edx
add ecx, 4
mov dl, byte [esi]
imul edx, ebp
add dword [ecx - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, edi
add dword [ecx + 8], edx
inc esi
dec eax
jne 0x410ec2
fadd dword [esp + 0x50]
mov ebp, dword [esp + 0x24c]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x410e62
fstp st(0)
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x10]
inc edx
add eax, 0x64
cmp edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
jl 0x410e00
mov edx, dword [esp + 0x250]
mov eax, dword [esp + 0x20]
cmp eax, edx
fstp st(0)
jge 0x410f53
lea ebp, [ebp + ebp*2]
test ebp, ebp
jle 0x410f53
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebp
inc edi
dec esi
mov byte [edi - 1], al
jne 0x410f44
mov eax, dword [esp + 0x30]
push eax
call fcn.00453ec2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00453ec2
add esp, 8
jmp 0x4118c4
fsub st(2)
fmul dword [0x465a60]
call fcn.0042dd20
mov ebp, eax
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x34], 0
jle 0x411140
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add ecx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ecx
fild dword [esp + 0x34]
fcom st(1)
fnstsw ax
test ah, 1
je 0x410ff9
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, 0x3e8
sub ecx, ebp
sub edi, edx
fstp st(0)
mov dword [esp + 0x54], 3
xor edx, edx
add eax, 4
mov dl, byte [esi]
imul edx, ecx
add dword [edi + eax - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, ebp
add dword [eax - 4], edx
mov edx, dword [esp + 0x54]
inc esi
dec edx
mov dword [esp + 0x54], edx
jne 0x410fd0
jmp 0x41112c
fsub st(1)
fmul dword [0x465a60]
call fcn.0042dd20
mov ecx, 0x3e8
mov edx, 0x3e8
sub ecx, ebp
sub edx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edx
imul ecx, edx
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, 3
add edx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], edx
mov eax, 0xc
mov edx, edi
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, ecx
add edx, eax
mov dword [esp + 0x48], edx
xor edx, edx
mov eax, 0x10624dd3
mov dl, byte [esi]
add edi, 4
imul edx, dword [esp + 0x78]
imul edx
sar edx, 6
mov eax, edx
add ecx, 4
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 0x10]
add eax, edx
mov dword [ecx - 0x10], eax
cdq
idiv dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
mov byte [edx - 1], al
xor edx, edx
mov dl, byte [esi]
mov eax, 0x10624dd3
imul edx, ebp
imul edx, dword [esp + 0x10]
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi - 4]
add eax, edx
xor edx, edx
mov dword [edi - 4], eax
mov dl, byte [esi]
imul edx, dword [esp + 0x54]
imul edx, dword [esp + 0x74]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 4]
add eax, edx
xor edx, edx
mov dword [ecx - 4], eax
mov dl, byte [esi]
imul edx, ebp
imul edx, dword [esp + 0x54]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x38]
inc esi
mov dword [eax + ecx - 4], edx
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x411065
mov eax, dword [esp + 0x40]
fadd dword [esp + 0x50]
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x410fa4
mov ecx, dword [esp + 0x24c]
mov eax, dword [esp + 0x40]
cmp eax, ecx
fstp st(0)
jge 0x411178
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
lea ecx, [eax + edx*4]
mov edi, 3
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebp
inc esi
dec edi
mov byte [esi - 1], al
jne 0x411169
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [eax], ecx
fadd dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ebp, dword [esp + 0x24c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc4]
inc ecx
imul eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc8]
add eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x410efe
mov esi, dword [ebx + 0x10]
dec eax
dec esi
mov dword [esp + 0x74], eax
test edi, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], 0
jle 0x4118c4
mov dword [esp + 0x3c], 0
jmp 0x4111ed
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cdq
idiv dword [esp + 0x250]
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4118c4
fild dword [esp + 0x30]
fmul dword [esp + 0x5c]
fld st(0)
call fcn.0042dd20
mov dword [esp + 0x28], eax
inc eax
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x41122d
mov dword [esp + 0x18], eax
fild dword [esp + 0x28]
mov eax, dword [esp + 0x24c]
mov dword [esp + 0x20], 0
test eax, eax
fsubr st(1)
fstp dword [esp + 0x24]
fstp st(0)
jle 0x411567
fld dword [0x464d00]
fsub dword [esp + 0x24]
fstp dword [esp + 0x34]
fild dword [esp + 0x20]
fmul dword [esp + 0x50]
fld st(0)
call fcn.0042dd20
mov ebp, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x10], edi
lea eax, [edi + 1]
cmp ebp, eax
jl 0x411280
mov ebp, eax
fild dword [esp + 0x10]
mov eax, dword [ebx + 0x28]
test eax, eax
fsubr st(1)
fstp dword [esp + 0x2c]
fstp st(0)
je 0x411325
mov edx, dword [esp + 0x28]
mov ecx, ebx
push edx
push edi
call fcn.00411dd0
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.00411d60
mov ecx, dword [esp + 0x28]
mov esi, dword [eax]
push ecx
push ebp
mov ecx, ebx
mov dword [esp + 0x48], esi
call fcn.00411dd0
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, ebx
call fcn.00411d60
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x6c], eax
call fcn.00411dd0
lea edx, [esp + 0x8c]
push eax
push edx
mov ecx, ebx
call fcn.00411d60
mov edi, dword [eax]
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x50], edi
call fcn.00411dd0
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, ebx
call fcn.00411d60
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
jmp 0x4113b9
mov ecx, dword [ebx + 0x30]
mov esi, dword [esp + 0x28]
imul esi, ecx
lea eax, [edi + edi*2]
mov edi, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
add eax, esi
add eax, edi
lea ebp, [ebp + ebp*2]
mov dl, byte [eax]
inc eax
mov byte [esp + 0x40], dl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x42], al
lea eax, [esi + ebp]
mov esi, dword [esp + 0x18]
add eax, edi
imul esi, ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x41], dl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x64], dl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x66], al
lea eax, [esi + ecx]
add eax, edi
mov byte [esp + 0x65], dl
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x48], dl
mov byte [esp + 0x49], cl
mov dl, byte [eax + 1]
lea eax, [esi + ebp]
add eax, edi
mov esi, dword [esp + 0x40]
mov byte [esp + 0x4a], dl
mov edi, dword [esp + 0x48]
mov cl, byte [eax]
mov dl, byte [eax + 1]
inc eax
mov byte [esp + 0x6c], cl
mov byte [esp + 0x6d], dl
mov al, byte [eax + 1]
mov byte [esp + 0x6e], al
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x4a]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x41]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x49]
and ecx, 0xff
and edx, 0xff
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
and esi, 0xff
and edi, 0xff
mov ecx, dword [esp + 0x66]
fmul dword [esp + 0x24]
and ecx, 0xff
and eax, 0xff
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6e]
and edx, 0xff
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x78]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x65]
and ecx, 0xff
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x60]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6d]
and edx, 0xff
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
and ecx, 0xff
fmul dword [esp + 0x24]
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x14]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x34]
fild dword [esp + 0x10]
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [0x464d00]
fsub dword [esp + 0x2c]
fst dword [esp + 0x1c]
fmul st(2)
fxch st(1)
fmul dword [esp + 0x2c]
faddp st(1)
call fcn.0042dd20
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [esp + 0x78]
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
mov byte [esp + 0x54], al
faddp st(1)
call fcn.0042dd20
fld dword [esp + 0x1c]
fmul dword [esp + 0x60]
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
mov byte [esp + 0x5b], al
faddp st(1)
call fcn.0042dd20
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov ch, al
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0x5b]
mov esi, dword [esp + 0x20]
shl ecx, 8
and edx, 0xff
or ecx, edx
push ecx
push eax
push esi
lea ecx, [esp + 0xa0]
call fcn.004120f0
mov eax, dword [esp + 0x24c]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x41125e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x250]
inc eax
add edx, 0x64
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edx
jl 0x4111e9
jmp 0x4118c4
cmp edi, esi
mov dword [esp + 0x28], esi
jle 0x4118c4
mov ecx, dword [esp + 0x250]
xor eax, eax
mov dword [esp + 0x60], eax
cdq
idiv ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4118c4
fild dword [esp + 0x28]
fmul dword [esp + 0x5c]
fst dword [esp + 0x38]
fstp qword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
push esi
push edi
call fcn.0042e484
call fcn.0042dd20
push esi
push edi
mov dword [esp + 0x84], eax
call fcn.0042e484
fsubr dword [esp + 0x48]
mov eax, dword [esp + 0x25c]
add esp, 0x10
test eax, eax
fstp dword [esp + 0x10]
mov dword [esp + 0x2c], 0
jle 0x4117e0
fild dword [esp + 0x2c]
fmul dword [esp + 0x50]
fst dword [esp + 0x38]
fstp qword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
push esi
push edi
call fcn.0042e484
call fcn.0042dd20
push esi
push edi
mov dword [esp + 0x88], eax
call fcn.0042e484
fsubr dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
fstp dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], 0xffffffff
lea ebp, [ecx + 1]
fild dword [esp + 0x3c]
push ecx
mov ecx, ebx
fsub dword [esp + 0x14]
fstp dword [esp]
call fcn.004119a0
mov edx, dword [esp + 0x78]
or edi, 0xffffffff
fstp dword [esp + 0x20]
mov dword [esp + 0x14], edi
lea esi, [edx + 1]
fild dword [esp + 0x14]
push ecx
mov ecx, ebx
fsub dword [esp + 0x3c]
fmul dword [0x465a5c]
fstp dword [esp]
call fcn.004119a0
fstp dword [esp + 0x1c]
test esi, esi
mov ecx, esi
mov eax, ebp
jge 0x4116c6
xor ecx, ecx
test ebp, ebp
jge 0x4116cc
xor eax, eax
mov edx, dword [ebx + 0xc]
cmp ecx, edx
jl 0x4116d6
lea ecx, [edx - 1]
mov edx, dword [ebx + 0x10]
cmp eax, edx
jl 0x4116e0
lea eax, [edx - 1]
push eax
lea eax, [esp + 0x8c]
push ecx
push eax
mov ecx, ebx
call fcn.00411ee0
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x66]
and ecx, 0xff
mov edx, dword [esp + 0x65]
mov dword [esp + 0x14], ecx
and edx, 0xff
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
and eax, 0xff
inc edi
inc esi
fmul dword [esp + 0x1c]
cmp edi, 3
fmul dword [esp + 0x20]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x1c]
fmul dword [esp + 0x20]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edi
fmul dword [esp + 0x1c]
fmul dword [esp + 0x20]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
jl 0x41169f
mov eax, dword [esp + 0x3c]
inc eax
inc ebp
cmp eax, 3
mov dword [esp + 0x3c], eax
jl 0x41167a
fld dword [esp + 0x40]
call fcn.0042dd20
fld dword [esp + 0x48]
xor edx, edx
mov dh, al
mov dword [esp + 0x38], edx
call fcn.0042dd20
mov edx, dword [esp + 0x38]
fld dword [esp + 0x18]
mov dl, al
shl edx, 8
mov dword [esp + 0x38], edx
call fcn.0042dd20
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
and eax, 0xff
or ecx, eax
push ecx
push edx
push esi
lea ecx, [esp + 0xa0]
call fcn.004120f0
mov eax, dword [esp + 0x24c]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jl 0x411613
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x250]
inc edx
add eax, 0x64
cmp edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x60], eax
jl 0x4115a8
jmp 0x4118c4
mov eax, dword [esp + 0x250]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x4118c4
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x250]
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4118c4
fild dword [esp + 0x14]
mov ebp, dword [esp + 0x24c]
xor esi, esi
test ebp, ebp
fmul dword [esp + 0x5c]
mov dword [esp + 0x14], esi
jle 0x4118a3
call fcn.0042dd20
mov dword [esp + 0x20], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0
push eax
fmul dword [esp + 0x58]
call fcn.0042dd20
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call fcn.00411ee0
mov edx, dword [eax]
lea ecx, [esp + 0x98]
push edx
push edi
push esi
call fcn.00412120
inc esi
cmp esi, ebp
mov dword [esp + 0x14], esi
jl 0x411863
jmp 0x4118a5
fstp st(0)
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x250]
inc edi
add ecx, 0x64
cmp edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jl 0x411821
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x411957
lea ecx, [esp + 0x94]
call fcn.00411af0
mov eax, dword [esp + 0x250]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x411957
mov ebp, dword [esp + 0x24c]
fild dword [esp + 0x14]
xor esi, esi
test ebp, ebp
fmul dword [esp + 0x5c]
mov dword [esp + 0x14], esi
jle 0x411945
call fcn.0042dd20
mov dword [esp + 0x20], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
fmul dword [esp + 0x54]
call fcn.0042dd20
push eax
mov ecx, ebx
call fcn.00411b90
push eax
push edi
push esi
lea ecx, [esp + 0xa0]
call fcn.00411b50
inc esi
cmp esi, ebp
mov dword [esp + 0x14], esi
jl 0x411911
jmp 0x411947
fstp st(0)
mov eax, dword [esp + 0x250]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x4118f6
mov ecx, dword [esp + 0x258]
test ecx, ecx
je 0x41196c
lea edx, [esp + 0x94]
push edx
jmp 0x411976
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
call fcn.0040f940
lea ecx, [esp + 0x94]
mov dword [esp + 0x244], 0xffffffff
call fcn.0040f540
mov al, 1
jmp 0x410d05