Function at 0x436c38
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 [0x874200]
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 [0x57abe0]
fdiv qword [0x57abe8]
fsincos
fld qword [0x57abf0]
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 0x436f22
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x437833
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 [0x5b9a6c]
add esp, 0xc
add esi, ebx
add edi, ebx
inc ebp
mov eax, dword [esp + 0xb4]
cmp ebp, eax
jl 0x436f01
jmp 0x437833
cmp ebp, 0xb4
je 0x437bd5
cmp ebp, 0x5a
je 0x437a09
cmp ebp, 0x10e
je 0x43783e
test ebp, ebp
jle 0x437833
cmp ebp, 0x5a
jge 0x437181
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x437024
mov ebp, eax
test ebp, ebp
jge 0x43702a
xor ebp, ebp
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jle 0x437034
mov ebx, eax
mov eax, dword [esp + 0xb0]
cmp ebx, eax
jl 0x437049
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 [0x5b9a64]
add esp, 0xc
add esi, dword [esp + 0x54]
cmp ebp, ebx
jge 0x437121
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 0x437110
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x437110
test eax, eax
jl 0x437110
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x437110
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 0x4370ad
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 [0x5b9a64]
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 0x436fa9
jmp 0x437833
jle 0x437833
cmp ebp, 0xb4
jge 0x4373c4
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x43725f
mov ebx, ecx
cmp ebp, eax
jge 0x437265
mov ebp, eax
test ebp, ebp
jge 0x43726b
xor ebp, ebp
mov eax, dword [esp + 0xb0]
cmp ebx, eax
jl 0x437280
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 [0x5b9a64]
add esp, 0xc
add esi, dword [esp + 0x54]
cmp ebp, ebx
jge 0x437364
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 0x437353
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x437353
test eax, eax
jl 0x437353
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x437353
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 0x4372e9
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 [0x5b9a64]
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 0x4371e4
jmp 0x437833
jle 0x437833
cmp ebp, 0x10e
jge 0x4375fe
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x4374a7
mov ebp, edi
cmp esi, eax
jge 0x4374ad
mov esi, eax
test esi, esi
jge 0x4374b3
xor esi, esi
mov eax, dword [esp + 0xb0]
cmp ebp, eax
jl 0x4374c8
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 [0x5b9a64]
add esp, 0xc
add ebx, dword [esp + 0x7c]
cmp esi, ebp
jge 0x43759e
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 0x437590
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x437590
test eax, eax
jl 0x437590
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x437590
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 0x437526
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 [0x5b9a64]
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 0x437427
jmp 0x437833
jle 0x437833
cmp ebp, 0x168
jge 0x437833
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x4376db
mov ebp, edi
cmp esi, eax
jge 0x4376e1
mov esi, eax
test esi, esi
jge 0x4376e7
xor esi, esi
mov eax, dword [esp + 0xb0]
cmp ebp, eax
jl 0x4376fc
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 [0x5b9a64]
add esp, 0xc
add ebx, dword [esp + 0x40]
cmp esi, ebp
jge 0x4377d8
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 0x4377c7
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x4377c7
test eax, eax
jl 0x4377c7
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x4377c7
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 0x43775d
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 [0x5b9a64]
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 0x437661
add esp, 0x8c
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x4378ae
xor ebx, ebx
mov eax, esi
mov edx, dword [esp + 0xb0]
cmp eax, edx
jl 0x4378c5
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 [0x5b9a64]
add esp, 0xc
add ebp, dword [esp + 0x58]
cmp ebx, esi
jge 0x4379b5
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 0x4379a3
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x4379a3
test eax, eax
jl 0x4379a3
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x4379a3
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 0x437932
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 [0x5b9a64]
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 0x4378a0
jmp 0x437833
mov ebp, dword [esp + 0xb4]
test ebp, ebp
jle 0x437833
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 0x437a81
xor ebx, ebx
mov eax, esi
mov edx, dword [esp + 0xb0]
cmp eax, edx
jl 0x437a98
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 [0x5b9a64]
add esp, 0xc
add ebp, dword [esp + 0x58]
cmp ebx, esi
jge 0x437b81
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 0x437b6f
mov edi, dword [esp + 0xb0]
cmp ecx, edi
jge 0x437b6f
test eax, eax
jl 0x437b6f
mov edi, dword [esp + 0xb4]
cmp eax, edi
jge 0x437b6f
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 0x437b05
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 [0x5b9a64]
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 0x437a73
jmp 0x437833
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x437833
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 0x437c79
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 0x437c3e
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 0x437c11
jmp 0x437833