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

Disassembly:
sub esp, 0x170
mov eax, dword [esp + 0x188]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [esp + 0x194]
and eax, 0xffff
push esi
mov esi, dword [esp + 0x18c]
xor ebp, ebp
and ecx, 0xffff
push edi
mov edi, dword [esp + 0x18c]
dec eax
dec ecx
cmp dword [ebx + 0x1c], ebp
mov dword [esp + 0x90], ebx
mov edx, edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], ebp
je 0x465545
mov ebp, dword [esp + 0x184]
test ebp, ebp
jge 0x46464b
neg ebp
mov dword [esp + 0x54], ebp
sub edx, ebp
mov ebp, dword [esp + 0x184]
lea edi, [edi + ebp - 1]
cmp edi, eax
jle 0x46465c
sub eax, dword [esp + 0x54]
sub eax, ebp
inc eax
mov edx, eax
mov edi, dword [esp + 0x188]
test edi, edi
jge 0x46467a
mov esi, dword [esp + 0x190]
mov eax, edi
neg eax
mov dword [esp + 0x44], eax
sub esi, eax
jmp 0x46467e
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x190]
lea ebp, [edi + ebp - 1]
cmp ebp, ecx
jle 0x464694
sub ecx, eax
sub ecx, edi
inc ecx
mov esi, ecx
test edx, edx
jle 0x465517
test esi, esi
jle 0x465517
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
add eax, edx
add ecx, esi
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x104]
push 0
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1c]
lea ecx, [esp + 0x108]
push 1
mov dword [esp + 0x10c], 0x7c
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0x64]
test eax, eax
jl 0x465545
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x194]
sar eax, 1
mov dword [esp + 0x8c], edx
mov dword [esp + 0x98], eax
xor eax, eax
xor edx, edx
xor ebp, ebp
test ecx, ecx
jle 0x464746
mov dword [esp + 0x58], ecx
xor edi, edi
mov di, word [esi + eax*2]
lea edx, [edx + edi + 1]
mov edi, dword [esp + 0x58]
dec edi
mov eax, edx
mov dword [esp + 0x58], edi
jne 0x46472f
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x94], ecx
cmp ecx, edi
jge 0x465517
mov edi, dword [esp + 0x188]
add ecx, edi
mov edi, dword [esp + 0x54]
imul ecx, dword [esp + 0x98]
mov dword [esp + 0x44], ecx
add ecx, edi
mov edi, dword [esp + 0x184]
add ecx, edi
mov edi, dword [esp + 0x128]
lea ecx, [edi + ecx*2]
mov dword [esp + 0x58], ecx
jmp 0x464794
mov edx, dword [esp + 0x7c]
xor ecx, ecx
mov cx, word [esi + eax*2]
add edx, ecx
inc eax
cmp eax, edx
mov dword [esp + 0x7c], edx
jge 0x4654d1
mov cx, word [esi + eax*2]
cmp cx, 0xc0
jne 0x4647c3
inc eax
xor ecx, ecx
mov cx, word [esi + eax*2]
inc eax
add ebp, ecx
jmp 0x4654c7
cmp cx, 0xc1
je 0x4647dc
cmp cx, 0xc2
je 0x4647dc
cmp cx, 0xc3
jne 0x465537
mov edi, dword [esp + 0x54]
inc eax
xor edx, edx
mov ecx, ebp
mov dx, word [esi + eax*2]
inc eax
add ebp, edx
mov dword [esp + 0x28], edx
cmp edi, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x88], ebp
jg 0x4654c5
cmp dword [esp + 0xf4], ecx
jl 0x4654c5
mov edi, dword [esp + 0x54]
cmp ecx, edi
jge 0x464c7f
mov edx, edi
mov dword [esp + 0x3c], 0
sub edx, ecx
mov ecx, ebp
sub ecx, edi
add eax, edx
test ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], ecx
jle 0x464c74
mov ecx, dword [esp + 0x1a0]
lea edx, [esi + eax*2]
and ecx, 0xffff
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov esi, dword [ebx + 0x74]
xor eax, eax
mov al, byte [ebx + 0x69]
mov edi, eax
mov eax, dword [esp + 0x70]
mov edx, eax
mov ecx, edi
and edx, esi
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 0x70]
shr edx, cl
xor ecx, ecx
mov cl, byte [ebx + 0x68]
mov ebp, ecx
mov byte [esp + 0x1c], dl
mov edx, eax
and edx, edi
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 0x6c]
shr edx, cl
xor ecx, ecx
and eax, ebp
mov cl, byte [ebx + 0x67]
shr eax, cl
mov byte [esp + 0x20], dl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x40]
mov dx, word [eax]
mov eax, esi
and edx, 0xffff
and eax, edx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x50], al
mov eax, edi
and eax, edx
shr eax, cl
mov ecx, ebp
and ecx, edx
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0xa4]
mov byte [esp + 0x5c], al
shr edx, cl
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
mov byte [esp + 0x60], dl
je 0x464907
fld dword [0x476c54]
jmp 0x46490d
fld dword [0x476450]
cmp word [esp + 0x1a0], 0
jne 0x46498c
shr al, 1
add al, dl
mov dl, byte [esp + 0x50]
add al, dl
and eax, 0xff
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [esp + 0x80], dl
mov edx, dword [esp + 0x80]
and edx, 0xff
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul st(1)
call fcn.00468520
mov cl, byte [esp + 0x80]
add cl, al
mov al, 0x1f
cmp cl, 0x1f
mov byte [esp + 0x80], cl
fstp st(0)
ja 0x464975
mov al, cl
mov byte [esp + 0x24], al
mov byte [esp + 0x1c], al
shl al, 1
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
jmp 0x464b13
mov ecx, dword [esp + 0x38]
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x50]
xor edx, edx
and ecx, 0xff
mov dword [esp + 0xc8], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0xc4], eax
mov eax, edi
mov dword [esp + 0x100], edx
fidiv dword [esp + 0xc4]
shr eax, cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb0], edx
and ecx, 0xff
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x64], eax
mov eax, ebp
and edx, 0xff
shr eax, cl
mov ecx, dword [esp + 0x60]
and ecx, 0xff
mov dword [esp + 0xac], eax
mov dword [esp + 0x68], eax
fild dword [esp + 0x28]
mov dword [esp + 0x28], ecx
fidiv dword [esp + 0xfc]
fstp dword [esp + 0x34]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fidiv dword [esp + 0xac]
fstp dword [esp + 0x6c]
fimul dword [esp + 0x28]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x28], edx
mov byte [esp + 0x1c], cl
fild dword [esp + 0x28]
fmul dword [esp + 0x34]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x28], edx
mov byte [esp + 0x20], cl
fild dword [esp + 0x28]
fmul dword [esp + 0x6c]
fst dword [esp + 0x34]
fmul st(1)
call fcn.00468520
fstp st(0)
fld dword [esp + 0x34]
mov byte [esp + 0x13], al
call fcn.00468520
mov cl, byte [esp + 0x13]
add cl, al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x24], cl
mov edx, eax
mov ecx, dword [esp + 0x48]
and edx, 0xff
cmp edx, ecx
jbe 0x464ae7
mov al, cl
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
and edx, 0xff
cmp edx, ecx
jbe 0x464afd
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
and edx, 0xff
cmp edx, ecx
jbe 0x464b13
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x464bfb
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x184]
add ecx, edx
mov edx, dword [esp + 0x9c]
and eax, 0xff
add ecx, edx
mov edx, dword [esp + 0x8c]
add ecx, ebx
mov bx, word [edx + ecx*2]
mov ecx, dword [esp + 0x38]
and ebx, 0xffff
and esi, ebx
and edi, ebx
shr esi, cl
and ebp, ebx
mov ebx, dword [esp + 0x90]
and esi, 0xff
add esi, eax
lea eax, [esi + esi*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov ecx, edx
mov eax, edx
shr ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x30]
shr edi, cl
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x20]
and eax, 0xff
and edi, 0xff
add edi, eax
lea eax, [edi + edi*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov ecx, edx
mov eax, edx
shr ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x2c]
shr ebp, cl
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x24]
and eax, 0xff
and ebp, 0xff
add ebp, eax
lea eax, [ebp + ebp*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov al, byte [esp + 0x13]
jmp 0x464c0b
mov cl, byte [esp + 0x20]
mov al, byte [esp + 0x1c]
mov dl, byte [esp + 0x24]
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x2c]
movzx si, byte [esp + 0x1b]
movzx dx, dl
shl edx, cl
mov ecx, dword [esp + 0x30]
movzx ax, al
shl esi, cl
mov ecx, dword [esp + 0x38]
shl eax, cl
mov ecx, dword [esp + 0x4c]
or edx, esi
mov esi, dword [esp + 0x40]
add ecx, 2
add esi, 2
or edx, eax
mov eax, dword [esp + 0x3c]
mov word [ecx - 2], dx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
jl 0x464865
mov esi, dword [esp + 0x194]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x54]
mov ecx, ebp
sub ecx, edi
add eax, ecx
jmp 0x4654c7
mov edi, dword [esp + 0xf4]
cmp ecx, edi
jg 0x4650aa
cmp edi, ebp
jge 0x4650aa
sub edi, ecx
test edi, edi
jle 0x4654c5
mov edx, dword [esp + 0x1a0]
lea eax, [esi + eax*2]
and edx, 0xffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x184]
add edx, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x4c], edi
lea edx, [ecx + edx*2]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x70]
mov esi, dword [ebx + 0x74]
xor ecx, ecx
mov edx, eax
mov cl, byte [ebx + 0x69]
and edx, esi
shr edx, cl
mov edi, ecx
xor ecx, ecx
mov cl, byte [ebx + 0x68]
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 0x70]
mov ebp, ecx
mov byte [esp + 0x1c], dl
mov edx, eax
and edx, edi
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 0x6c]
shr edx, cl
xor ecx, ecx
and eax, ebp
mov cl, byte [ebx + 0x67]
shr eax, cl
mov byte [esp + 0x20], dl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x40]
mov dx, word [eax]
mov eax, esi
and edx, 0xffff
and eax, edx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x50], al
mov eax, edi
and eax, edx
shr eax, cl
mov ecx, ebp
and ecx, edx
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0xa0]
mov byte [esp + 0x5c], al
shr edx, cl
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
mov byte [esp + 0x60], dl
je 0x464d79
fld dword [0x476c54]
jmp 0x464d7f
fld dword [0x476450]
cmp word [esp + 0x1a0], 0
jne 0x464dfe
shr al, 1
add al, dl
mov dl, byte [esp + 0x50]
add al, dl
and eax, 0xff
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [esp + 0x84], dl
mov edx, dword [esp + 0x84]
and edx, 0xff
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul st(1)
call fcn.00468520
mov cl, byte [esp + 0x84]
add cl, al
mov al, 0x1f
cmp cl, 0x1f
mov byte [esp + 0x84], cl
fstp st(0)
ja 0x464de7
mov al, cl
mov byte [esp + 0x24], al
mov byte [esp + 0x1c], al
shl al, 1
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
jmp 0x464f85
mov ecx, dword [esp + 0x38]
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x50]
xor edx, edx
and ecx, 0xff
mov dword [esp + 0xe8], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0xe4], eax
mov eax, edi
mov dword [esp + 0xd8], edx
fidiv dword [esp + 0xe4]
shr eax, cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb8], edx
and ecx, 0xff
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xd4], eax
mov dword [esp + 0x64], eax
mov eax, ebp
and edx, 0xff
shr eax, cl
mov ecx, dword [esp + 0x60]
and ecx, 0xff
mov dword [esp + 0xb4], eax
mov dword [esp + 0x68], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fidiv dword [esp + 0xd4]
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fidiv dword [esp + 0xb4]
fstp dword [esp + 0x6c]
fimul dword [esp + 0x14]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
fild dword [esp + 0x14]
fmul dword [esp + 0x34]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x14], edx
mov byte [esp + 0x20], cl
fild dword [esp + 0x14]
fmul dword [esp + 0x6c]
fst dword [esp + 0x34]
fmul st(1)
call fcn.00468520
fstp st(0)
fld dword [esp + 0x34]
mov byte [esp + 0x13], al
call fcn.00468520
mov cl, byte [esp + 0x13]
add cl, al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x24], cl
mov edx, eax
mov ecx, dword [esp + 0x48]
and edx, 0xff
cmp edx, ecx
jbe 0x464f59
mov al, cl
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
and edx, 0xff
cmp edx, ecx
jbe 0x464f6f
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
and edx, 0xff
cmp edx, ecx
jbe 0x464f85
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x46504e
mov ecx, dword [esp + 0x3c]
and eax, 0xff
mov cx, word [ecx]
and ecx, 0xffff
mov dword [esp + 0x14], ecx
and esi, ecx
mov ecx, dword [esp + 0x38]
shr esi, cl
and esi, 0xff
add esi, eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x14]
and edi, esi
and ebp, esi
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
mov ecx, dword [esp + 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
shr edi, cl
add edx, eax
mov eax, dword [esp + 0x20]
and eax, 0xff
mov byte [esp + 0x13], dl
and edi, 0xff
add edi, eax
lea eax, [edi + edi*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov ecx, edx
mov eax, dword [esp + 0x24]
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x2c]
shr ebp, cl
and eax, 0xff
mov byte [esp + 0x1b], dl
and ebp, 0xff
add ebp, eax
lea eax, [ebp + ebp*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
mov cl, byte [esp + 0x13]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov al, byte [esp + 0x1b]
jmp 0x46505a
mov cl, byte [esp + 0x1c]
mov al, byte [esp + 0x20]
mov dl, byte [esp + 0x24]
movzx si, cl
mov ecx, dword [esp + 0x2c]
movzx ax, al
shl esi, cl
mov ecx, dword [esp + 0x30]
movzx dx, dl
shl eax, cl
mov ecx, dword [esp + 0x38]
shl edx, cl
or esi, eax
mov eax, dword [esp + 0x3c]
add eax, 2
or esi, edx
mov edx, dword [esp + 0x40]
mov word [eax - 2], si
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
add edx, 2
dec eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
jne 0x464cd9
jmp 0x4654af
test edx, edx
jle 0x4654c5
mov edi, dword [esp + 0x1a0]
lea eax, [esi + eax*2]
and edi, 0xffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x44]
add edi, ecx
mov ecx, dword [esp + 0x184]
add edi, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x4c], edx
lea ecx, [ecx + edi*2]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x70]
mov esi, dword [ebx + 0x74]
xor ecx, ecx
mov edx, eax
mov cl, byte [ebx + 0x69]
and edx, esi
shr edx, cl
mov edi, ecx
xor ecx, ecx
mov cl, byte [ebx + 0x68]
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 0x70]
mov ebp, ecx
mov byte [esp + 0x1c], dl
mov edx, eax
and edx, edi
mov dword [esp + 0x30], ebp
mov ebp, dword [ebx + 0x6c]
shr edx, cl
xor ecx, ecx
and eax, ebp
mov cl, byte [ebx + 0x67]
shr eax, cl
mov byte [esp + 0x20], dl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x40]
mov dx, word [eax]
mov eax, esi
and edx, 0xffff
and eax, edx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x50], al
mov eax, edi
and eax, edx
shr eax, cl
mov ecx, ebp
and ecx, edx
mov byte [esp + 0xa8], cl
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0xa8]
mov byte [esp + 0x5c], al
shr edx, cl
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
mov byte [esp + 0x60], dl
je 0x46518b
fld dword [0x476c54]
jmp 0x465191
fld dword [0x476450]
cmp word [esp + 0x1a0], 0
jne 0x465204
shr al, 1
add al, dl
mov dl, byte [esp + 0x50]
add al, dl
and eax, 0xff
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [esp + 0x74], dl
mov edx, dword [esp + 0x74]
and edx, 0xff
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul st(1)
call fcn.00468520
mov cl, byte [esp + 0x74]
add cl, al
mov al, 0x1f
cmp cl, 0x1f
mov byte [esp + 0x74], cl
fstp st(0)
ja 0x4651ed
mov al, cl
mov byte [esp + 0x24], al
mov byte [esp + 0x1c], al
shl al, 1
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
jmp 0x46538b
mov ecx, dword [esp + 0x38]
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x50]
xor edx, edx
and ecx, 0xff
mov dword [esp + 0xc0], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0xbc], eax
mov eax, edi
mov dword [esp + 0xd0], edx
fidiv dword [esp + 0xbc]
shr eax, cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xe0], edx
and ecx, 0xff
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0x64], eax
mov eax, ebp
and edx, 0xff
shr eax, cl
mov ecx, dword [esp + 0x60]
and ecx, 0xff
mov dword [esp + 0xdc], eax
mov dword [esp + 0x68], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fidiv dword [esp + 0xcc]
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fidiv dword [esp + 0xdc]
fstp dword [esp + 0x6c]
fimul dword [esp + 0x14]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
fild dword [esp + 0x14]
fmul dword [esp + 0x34]
fld st(0)
fmul st(2)
call fcn.00468520
mov byte [esp + 0x13], al
call fcn.00468520
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x13]
and edx, 0xff
add cl, al
mov dword [esp + 0x14], edx
mov byte [esp + 0x20], cl
fild dword [esp + 0x14]
fmul dword [esp + 0x6c]
fst dword [esp + 0x34]
fmul st(1)
call fcn.00468520
fstp st(0)
fld dword [esp + 0x34]
mov byte [esp + 0x13], al
call fcn.00468520
mov cl, byte [esp + 0x13]
add cl, al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x24], cl
mov edx, eax
mov ecx, dword [esp + 0x48]
and edx, 0xff
cmp edx, ecx
jbe 0x46535f
mov al, cl
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
and edx, 0xff
cmp edx, ecx
jbe 0x465375
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
and edx, 0xff
cmp edx, ecx
jbe 0x46538b
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x465453
mov ecx, dword [esp + 0x3c]
and eax, 0xff
mov bx, word [ecx]
mov ecx, dword [esp + 0x38]
and ebx, 0xffff
and esi, ebx
and edi, ebx
shr esi, cl
and ebp, ebx
mov ebx, dword [esp + 0x90]
and esi, 0xff
add esi, eax
lea eax, [esi + esi*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov ecx, edx
mov eax, edx
shr ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x30]
shr edi, cl
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x20]
and eax, 0xff
and edi, 0xff
add edi, eax
lea eax, [edi + edi*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov ecx, edx
mov eax, edx
shr ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x2c]
shr ebp, cl
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x24]
and eax, 0xff
and ebp, 0xff
add ebp, eax
lea eax, [ebp + ebp*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov al, byte [esp + 0x13]
jmp 0x465463
mov cl, byte [esp + 0x20]
mov al, byte [esp + 0x1c]
mov dl, byte [esp + 0x24]
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x2c]
movzx si, byte [esp + 0x1b]
movzx dx, dl
shl edx, cl
mov ecx, dword [esp + 0x30]
movzx ax, al
shl esi, cl
mov ecx, dword [esp + 0x38]
shl eax, cl
or edx, esi
or edx, eax
mov eax, dword [esp + 0x3c]
mov word [eax], dx
mov edx, dword [esp + 0x40]
add eax, 2
add edx, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
jne 0x4650eb
mov esi, dword [esp + 0x194]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
add eax, edx
cmp eax, dword [esp + 0x7c]
jl 0x4647a9
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x94]
add edi, edx
add edx, edx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x58]
inc eax
xor ebp, ebp
add edi, edx
mov edx, dword [esp + 0xf8]
inc ecx
mov dword [esp + 0x7c], eax
cmp ecx, edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x58], edi
jl 0x464790
mov ebx, dword [ebx + 0x1c]
push 0
push ebx
mov edx, dword [ebx]
call dword [edx + 0x80]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x170
ret 0x28
mov ebx, dword [ebx + 0x1c]
push 0
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x80]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x170
ret 0x28