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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x8c
mov ebx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0xb8]
movzx eax, byte [0x7d4614]
mov dword [esp + 0x68], eax
mov eax, 0xb60b60b7
imul esi
add edx, esi
sar edx, 8
mov eax, esi
sar eax, 0x1f
sub edx, eax
lea eax, [edx + edx]
add eax, eax
sub eax, edx
add eax, eax
add eax, eax
add eax, eax
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edx
sub edx, eax
sub esi, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
fmul qword [0x5624c0]
fdiv qword [0x5624c8]
fsincos
fld qword [0x5624d0]
fld st(0)
fmul st(3)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov esi, dword [esp + 0xc]
fmul st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov edx, dword [esp + 0xc]
mov ebp, ebx
shr ebp, 0x1f
add ebp, ebx
sar ebp, 1
mov eax, ebp
neg eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld st(0)
fmul st(2)
mov dword [esp + 0x14], ebp
fild dword [esp + 0x14]
fadd st(1), st(0)
fxch st(1)
fst qword [esp + 0x1c]
mov edi, ecx
shr edi, 0x1f
add edi, ecx
sar edi, 1
mov eax, edi
neg eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld st(0)
fmul st(6)
fsub st(2), st(0)
fxch st(2)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
fxch st(3)
fmul st(5)
fxch st(3)
fmul st(4)
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
fadd st(4), st(0)
fxch st(4)
fst qword [esp + 0x24]
fadd st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, ebx
sub eax, ebp
dec eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld st(0)
fmul st(6)
faddp st(4)
fxch st(2)
fsubr st(3)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
fxch st(1)
fmul st(5)
faddp st(3)
fadd st(2)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
sub ecx, edi
dec ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(4), st(0)
fld qword [esp + 0x1c]
fsub st(5)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
fmulp st(3)
fld qword [esp + 0x24]
fadd st(3)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
fsubrp st(3)
fxch st(2)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
faddp st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0xc]
fldcw word [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov eax, ebp
shl eax, 0x10
mov ecx, esi
imul ecx, edi
add eax, ecx
mov ecx, edx
imul ecx, ebp
sub eax, ecx
mov dword [esp + 0x74], eax
mov eax, edi
shl eax, 0x10
imul ebp, esi
sub eax, ebp
imul edi, edx
sub eax, edi
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x42e7ae
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x42f0bf
xor ebp, ebp
mov eax, dword [esp + 0xb0]
lea ebx, [eax + eax]
add ebx, ebx
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
push ebx
push edi
push esi
call dword [0x5a344c]
add esp, 0xc
add esi, ebx
add edi, ebx
inc ebp
mov eax, dword [esp + 0xb4]
cmp ebp, eax
jl 0x42e78d
jmp 0x42f0bf
cmp ebp, 0xb4
je 0x42f461
cmp ebp, 0x5a
je 0x42f295
cmp ebp, 0x10e
je 0x42f0ca
test ebp, ebp
jle 0x42f0bf
cmp ebp, 0x5a
jge 0x42ea0d
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0xb4]
imul ebp, edx
mov ecx, esi
neg ecx
mov edi, dword [esp + 0xb0]
lea edi, [edi + edi]
add edi, edi
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0xb4]
mov eax, esi
mov edi, dword [esp + 0x6c]
sub eax, edi
mov ebp, dword [esp + 0x3c]
imul eax, ebp
cdq
mov ecx, dword [esp + 0x88]
idiv ecx
mov ebx, dword [esp + 0x44]
lea edx, [ebx + eax + 2]
mov dword [esp + 0x4c], edx
neg edi
imul edi, ecx
add edi, dword [esp + 0x40]
mov eax, edi
cdq
mov edi, dword [esp + 0x84]
idiv edi
lea ebx, [ebx + eax + 1]
mov eax, esi
mov esi, dword [esp + 0x70]
sub eax, esi
imul eax, ebp
cdq
idiv ecx
mov ebp, dword [esp + 0x48]
lea edx, [ebp + eax + 1]
mov dword [esp + 0x5c], edx
neg esi
imul esi, ecx
add esi, dword [esp + 0x40]
mov eax, esi
cdq
idiv edi
lea eax, [ebp + eax + 2]
mov ebp, dword [esp + 0x4c]
cmp ebp, eax
jge 0x42e8b0
mov ebp, eax
test ebp, ebp
jge 0x42e8b6
xor ebp, ebp
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jle 0x42e8c0
mov ebx, eax
mov eax, dword [esp + 0xb0]
cmp ebx, eax
jl 0x42e8d5
mov eax, dword [esp + 0xb0]
lea ebx, [eax - 1]
mov esi, ecx
imul esi, ebp
add esi, dword [esp + 0x74]
mov dword [esp + 0x58], esi
mov eax, ebp
imul eax, dword [esp + 0x84]
add eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x60]
imul esi, dword [esp + 0x7c]
lea edi, [ebp + ebp]
add edi, edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x64]
lea eax, [edx + esi]
mov ecx, dword [esp + 0x68]
push ecx
push edi
push eax
call dword [0x5a3444]
add esp, 0xc
add esi, dword [esp + 0x54]
cmp ebp, ebx
jge 0x42e9ad
mov dword [esp + 0x80], ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ecx, ebx
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add ebx, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42e99c
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42e99c
test eax, eax
jl 0x42e99c
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42e99c
mov dword [esp + 0x5c], edx
add ecx, ecx
add ecx, ecx
imul eax, dword [esp + 0x2c]
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [esi + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [esi + eax + 2], cx
mov edx, dword [esp + 0x5c]
add esi, 4
inc ebp
mov eax, dword [esp + 0x80]
cmp ebp, eax
jl 0x42e939
mov ebx, eax
add esi, dword [esp + 0x64]
neg ebx
add ebx, dword [esp + 0xb0]
add ebx, ebx
add ebx, ebx
mov eax, dword [esp + 0x68]
push eax
push ebx
push esi
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
add dword [esp + 0x50], edx
inc dword [esp + 0x6c]
inc dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0xb4]
cmp ecx, ebx
jl 0x42e835
jmp 0x42f0bf
jle 0x42f0bf
cmp ebp, 0xb4
jge 0x42ec50
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0xb4]
imul ebp, edx
mov ecx, esi
neg ecx
mov edi, dword [esp + 0xb0]
lea edi, [edi + edi]
add edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0xb4]
mov eax, esi
mov edi, dword [esp + 0x78]
sub eax, edi
mov ecx, dword [esp + 0x3c]
imul eax, ecx
cdq
mov ebp, dword [esp + 0x88]
idiv ebp
mov ebx, dword [esp + 0x34]
lea edx, [ebx + eax + 2]
mov dword [esp + 0x70], edx
neg edi
imul edi, ebp
add edi, dword [esp + 0x40]
mov eax, edi
cdq
mov edi, dword [esp + 0x84]
idiv edi
lea ebx, [ebx + eax + 1]
sub esi, dword [esp + 0x4c]
imul esi, ecx
mov eax, esi
cdq
idiv ebp
mov esi, dword [esp + 0x38]
lea ecx, [esi + eax + 1]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x4c]
neg eax
imul eax, ebp
add eax, dword [esp + 0x40]
cdq
idiv edi
lea eax, [esi + eax + 2]
cmp ebx, ecx
mov ebp, dword [esp + 0x70]
jle 0x42eaeb
mov ebx, ecx
cmp ebp, eax
jge 0x42eaf1
mov ebp, eax
test ebp, ebp
jge 0x42eaf7
xor ebp, ebp
mov eax, dword [esp + 0xb0]
cmp ebx, eax
jl 0x42eb0c
mov eax, dword [esp + 0xb0]
lea ebx, [eax - 1]
mov esi, dword [esp + 0x88]
imul esi, ebp
add esi, dword [esp + 0x74]
mov dword [esp + 0x58], esi
mov eax, ebp
imul eax, dword [esp + 0x84]
add eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x60]
imul esi, dword [esp + 0x7c]
lea edi, [ebp + ebp]
add edi, edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x64]
lea eax, [edx + esi]
mov ecx, dword [esp + 0x68]
push ecx
push edi
push eax
call dword [0x5a3444]
add esp, 0xc
add esi, dword [esp + 0x54]
cmp ebp, ebx
jge 0x42ebf0
mov dword [esp + 0x80], ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ecx, ebx
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add ebx, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42ebdf
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42ebdf
test eax, eax
jl 0x42ebdf
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42ebdf
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
lea edi, [edx + edx]
add edi, edi
add ecx, ecx
add ecx, ecx
imul eax, edi
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [esi + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [esi + eax + 2], cx
mov edx, dword [esp + 0x5c]
add esi, 4
inc ebp
mov eax, dword [esp + 0x80]
cmp ebp, eax
jl 0x42eb75
mov ebx, eax
add esi, dword [esp + 0x64]
neg ebx
add ebx, dword [esp + 0xb0]
add ebx, ebx
add ebx, ebx
mov eax, dword [esp + 0x68]
push eax
push ebx
push esi
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
add dword [esp + 0x50], edx
inc dword [esp + 0x78]
inc dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0xb4]
cmp ecx, ebx
jl 0x42ea70
jmp 0x42f0bf
jle 0x42f0bf
cmp ebp, 0x10e
jge 0x42ee8a
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0xb4]
imul ebp, edx
mov ecx, esi
neg ecx
mov edi, dword [esp + 0xb0]
lea edi, [edi + edi]
add edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov ecx, dword [esp + 0x6c]
mov eax, ecx
neg eax
mov ebx, dword [esp + 0x88]
imul eax, ebx
mov esi, dword [esp + 0x4c]
add eax, esi
cdq
mov edi, dword [esp + 0x84]
idiv edi
mov ebp, dword [esp + 0x44]
lea eax, [ebp + eax + 2]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xb4]
sub eax, ecx
imul eax, dword [esp + 0x38]
cdq
idiv ebx
lea ebp, [ebp + eax + 1]
mov ecx, dword [esp + 0x70]
mov eax, ecx
neg eax
imul eax, ebx
add eax, esi
cdq
idiv edi
mov esi, dword [esp + 0x48]
lea edi, [esi + eax + 1]
mov eax, dword [esp + 0xb4]
sub eax, ecx
imul eax, dword [esp + 0x38]
cdq
idiv ebx
lea eax, [esi + eax + 2]
cmp ebp, edi
mov esi, dword [esp + 0x80]
jle 0x42ed33
mov ebp, edi
cmp esi, eax
jge 0x42ed39
mov esi, eax
test esi, esi
jge 0x42ed3f
xor esi, esi
mov eax, dword [esp + 0xb0]
cmp ebp, eax
jl 0x42ed54
mov eax, dword [esp + 0xb0]
lea ebp, [eax - 1]
imul ebx, esi
add ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], ebx
mov eax, esi
imul eax, dword [esp + 0x84]
add eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x60]
imul ebx, dword [esp + 0x34]
lea edi, [esi + esi]
add edi, edi
mov dword [esp + 0x7c], edi
mov edx, dword [esp + 0x64]
lea eax, [edx + ebx]
mov ecx, dword [esp + 0x68]
push ecx
push edi
push eax
call dword [0x5a3444]
add esp, 0xc
add ebx, dword [esp + 0x7c]
cmp esi, ebp
jge 0x42ee2a
mov dword [esp + 0x78], ebp
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, ebp
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add ebp, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42ee1c
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42ee1c
test eax, eax
jl 0x42ee1c
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42ee1c
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
lea edi, [edx + edx]
add edi, edi
add ecx, ecx
add ecx, ecx
imul eax, edi
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [ebx + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [ebx + eax + 2], cx
mov edx, dword [esp + 0x40]
add ebx, 4
inc esi
mov eax, dword [esp + 0x78]
cmp esi, eax
jl 0x42edb2
mov ebp, eax
add ebx, dword [esp + 0x64]
neg ebp
add ebp, dword [esp + 0xb0]
add ebp, ebp
add ebp, ebp
mov eax, dword [esp + 0x68]
push eax
push ebp
push ebx
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
add dword [esp + 0x50], edx
inc dword [esp + 0x6c]
inc dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0xb4]
cmp ecx, ebx
jl 0x42ecb3
jmp 0x42f0bf
jle 0x42f0bf
cmp ebp, 0x168
jge 0x42f0bf
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0xb4]
imul ebp, edx
mov ecx, esi
neg ecx
mov edi, dword [esp + 0xb0]
lea edi, [edi + edi]
add edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov ecx, dword [esp + 0x78]
mov eax, ecx
neg eax
mov ebx, dword [esp + 0x88]
imul eax, ebx
mov esi, dword [esp + 0x54]
add eax, esi
cdq
mov edi, dword [esp + 0x84]
idiv edi
mov ebp, dword [esp + 0x34]
lea eax, [ebp + eax + 2]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xb4]
sub eax, ecx
imul eax, dword [esp + 0x58]
cdq
idiv ebx
lea ebp, [ebp + eax + 1]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
neg eax
imul eax, ebx
add eax, esi
cdq
idiv edi
mov esi, dword [esp + 0x38]
lea edi, [esi + eax + 1]
mov eax, dword [esp + 0xb4]
sub eax, ecx
imul eax, dword [esp + 0x58]
cdq
idiv ebx
lea eax, [esi + eax + 2]
cmp ebp, edi
mov esi, dword [esp + 0x70]
jle 0x42ef67
mov ebp, edi
cmp esi, eax
jge 0x42ef6d
mov esi, eax
test esi, esi
jge 0x42ef73
xor esi, esi
mov eax, dword [esp + 0xb0]
cmp ebp, eax
jl 0x42ef88
mov eax, dword [esp + 0xb0]
lea ebp, [eax - 1]
imul ebx, esi
add ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], ebx
mov eax, esi
imul eax, dword [esp + 0x84]
add eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
mov ebx, dword [esp + 0x60]
imul ebx, dword [esp + 0x5c]
lea edi, [esi + esi]
add edi, edi
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x64]
lea eax, [edx + ebx]
mov ecx, dword [esp + 0x68]
push ecx
push edi
push eax
call dword [0x5a3444]
add esp, 0xc
add ebx, dword [esp + 0x40]
cmp esi, ebp
jge 0x42f064
mov dword [esp + 0x80], ebp
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x3c]
mov ecx, ebp
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add ebp, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42f053
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42f053
test eax, eax
jl 0x42f053
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42f053
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
lea edi, [edx + edx]
add edi, edi
add ecx, ecx
add ecx, ecx
imul eax, edi
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [ebx + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [ebx + eax + 2], cx
mov edx, dword [esp + 0x7c]
add ebx, 4
inc esi
mov eax, dword [esp + 0x80]
cmp esi, eax
jl 0x42efe9
mov ebp, eax
add ebx, dword [esp + 0x64]
neg ebp
add ebp, dword [esp + 0xb0]
add ebp, ebp
add ebp, ebp
mov eax, dword [esp + 0x68]
push eax
push ebp
push ebx
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
add dword [esp + 0x50], edx
inc dword [esp + 0x78]
inc dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0xb4]
cmp ecx, ebx
jl 0x42eeed
add esp, 0x8c
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0xb0]
lea edi, [ecx + ecx]
add edi, edi
mov dword [esp + 0x70], edi
mov ebp, ecx
shr ebp, 0x1f
add ebp, ecx
sar ebp, 1
mov edi, dword [esp + 0xb4]
mov ecx, edi
shr ecx, 0x1f
add ecx, edi
sar ecx, 1
mov edi, ebp
sub edi, ecx
mov dword [esp + 0x60], edi
add ebp, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x3c]
test ebx, ebx
jge 0x42f13a
xor ebx, ebx
mov eax, esi
mov edx, dword [esp + 0xb0]
cmp eax, edx
jl 0x42f151
mov eax, dword [esp + 0xb0]
lea esi, [eax - 1]
mov ebp, dword [esp + 0x88]
imul ebp, ebx
add ebp, dword [esp + 0x74]
mov dword [esp + 0x5c], ebp
mov edx, ebx
imul edx, dword [esp + 0x84]
add edx, dword [esp + 0x50]
mov dword [esp + 0x80], edx
mov ebp, edi
imul ebp, dword [esp + 0x70]
lea eax, [ebx + ebx]
add eax, eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + ebp]
mov edx, dword [esp + 0x68]
push edx
push eax
push ecx
call dword [0x5a3444]
add esp, 0xc
add ebp, dword [esp + 0x58]
cmp ebx, esi
jge 0x42f241
mov dword [esp + 0x7c], esi
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
mov ecx, esi
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add esi, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42f22f
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42f22f
test eax, eax
jl 0x42f22f
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42f22f
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x2c]
lea edi, [edx + edx]
add edi, edi
add ecx, ecx
add ecx, ecx
imul eax, edi
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [ebp + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [ebp + eax + 2], cx
mov edx, dword [esp + 0x80]
add ebp, 4
inc ebx
mov eax, dword [esp + 0x7c]
cmp ebx, eax
jl 0x42f1be
mov esi, eax
mov edi, dword [esp + 0x40]
add ebp, dword [esp + 0x64]
neg esi
add esi, dword [esp + 0xb0]
add esi, esi
add esi, esi
mov eax, dword [esp + 0x68]
push eax
push esi
push ebp
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x88]
mov dword [esp + 0x50], edx
inc edi
mov ecx, dword [esp + 0xb4]
cmp edi, ecx
jl 0x42f12c
jmp 0x42f0bf
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x42f0bf
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0xb0]
lea edi, [ecx + ecx]
add edi, edi
mov dword [esp + 0x70], edi
add ebx, ebx
add ebx, ebx
mov ebp, ecx
shr ebp, 0x1f
add ebp, ecx
sar ebp, 1
mov edi, dword [esp + 0xb4]
mov ecx, edi
shr ecx, 0x1f
add ecx, edi
sar ecx, 1
mov edi, ebp
sub edi, ecx
mov dword [esp + 0x60], edi
add ebp, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x3c]
test ebx, ebx
jge 0x42f30d
xor ebx, ebx
mov eax, esi
mov edx, dword [esp + 0xb0]
cmp eax, edx
jl 0x42f324
mov eax, dword [esp + 0xb0]
lea esi, [eax - 1]
mov ebp, dword [esp + 0x88]
imul ebp, ebx
add ebp, dword [esp + 0x74]
mov dword [esp + 0x5c], ebp
mov edx, ebx
imul edx, dword [esp + 0x84]
add edx, dword [esp + 0x50]
mov dword [esp + 0x80], edx
mov ebp, edi
imul ebp, dword [esp + 0x70]
lea eax, [ebx + ebx]
add eax, eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + ebp]
mov edx, dword [esp + 0x68]
push edx
push eax
push ecx
call dword [0x5a3444]
add esp, 0xc
add ebp, dword [esp + 0x58]
cmp ebx, esi
jge 0x42f40d
mov dword [esp + 0x7c], esi
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
mov ecx, esi
sar ecx, 0x10
mov eax, edx
sar eax, 0x10
add esi, dword [esp + 0x88]
add edx, dword [esp + 0x84]
test ecx, ecx
jl 0x42f3fb
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x42f3fb
test eax, eax
jl 0x42f3fb
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x42f3fb
mov dword [esp + 0x80], edx
add ecx, ecx
add ecx, ecx
imul eax, dword [esp + 0x2c]
add ecx, eax
mov edi, dword [esp + 0x30]
movzx edx, word [ecx + edi]
mov eax, dword [esp + 0x64]
mov word [ebp + eax], dx
movzx ecx, word [ecx + edi + 2]
mov word [ebp + eax + 2], cx
mov edx, dword [esp + 0x80]
add ebp, 4
inc ebx
mov eax, dword [esp + 0x7c]
cmp ebx, eax
jl 0x42f391
mov esi, eax
mov edi, dword [esp + 0x40]
add ebp, dword [esp + 0x64]
neg esi
add esi, dword [esp + 0xb0]
add esi, esi
add esi, esi
mov eax, dword [esp + 0x68]
push eax
push esi
push ebp
call dword [0x5a3444]
add esp, 0xc
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x88]
mov dword [esp + 0x50], edx
inc edi
mov ecx, dword [esp + 0xb4]
cmp edi, ecx
jl 0x42f2ff
jmp 0x42f0bf
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x42f0bf
mov eax, dword [esp + 0xb0]
lea eax, [eax + eax]
add eax, eax
mov edx, dword [esp + 0xb4]
mov esi, edx
imul esi, eax
add esi, eax
mov ebx, eax
neg ebx
add esi, ebx
xor ebp, ebp
xor ebx, ebx
neg edx
mov dword [esp + 0x88], edx
mov edx, eax
imul edx, ebx
lea edi, [esi + edx - 4]
test eax, eax
jle 0x42f505
xor ecx, ecx
mov edx, dword [esp + 0x64]
lea edx, [edx + ebp]
add edi, dword [esp + 0x30]
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], esi
mov ebp, dword [esp + 0x84]
sub ebp, ecx
movzx ebx, byte [ebp]
mov byte [edx + ecx], bl
movzx ebx, byte [ebp + 1]
mov byte [edx + ecx + 1], bl
movzx ebx, byte [ebp + 2]
mov byte [edx + ecx + 2], bl
movzx ebx, byte [ebp + 3]
mov byte [edx + ecx + 3], bl
add ecx, 4
cmp ecx, eax
jl 0x42f4ca
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
add ebp, eax
dec ebx
mov edx, dword [esp + 0x88]
cmp ebx, edx
jg 0x42f49d
jmp 0x42f0bf