Function at 0x435e10
Capabilities:
Terminate process

Disassembly:
test dword [0x4b63ec], 0xfffffe00
jne 0x435970
test dword [0x4b63ec], 0xffffff80
jne 0x435e10
test dword [0x4b63ec], 0xffffffff
jne 0x43624c
call fcn.00490ee4
jmp fcn.00435938
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x64
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
imul ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
pxor xmm0, xmm0
movdqa xmmword [eax + 0x4a4060], xmm0
movdqa xmmword [eax + 0x4a4070], xmm0
movdqa xmmword [eax + 0x4a4080], xmm0
movdqa xmmword [eax + 0x4a4090], xmm0
add eax, 0x40
cmp eax, 0x400
jb 0x435998
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x435e02
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx esi, byte [ecx + eax]
add ecx, 1
cmp esi, 0x100
jge 0x435de3
mov edi, dword [esi*4 + 0x4a4060]
add edi, 1
mov dword [esi*4 + 0x4a4060], edi
cmp edi, ebx
jle 0x435a0d
movzx edx, byte [ecx + eax - 1]
mov ebx, edi
mov esi, dword [esp + 0x1c]
cmp ecx, esi
jl 0x4359de
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov byte [ecx], al
mov ebx, 1
mov dword [esp + 0x18], ebx
mov esi, 1
mov dword [esp + 8], esi
test edx, edx
jle 0x435dd5
xor ecx, ecx
mov dword [esp + 0x10], ecx
xor edi, edi
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
xor ebx, ebx
movsx eax, al
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x38]
mov esi, eax
imul esi, dword [esp + 0x48]
add esi, dword [esp + 0x24]
test eax, eax
jle 0x435db2
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], esi
xor ebx, ebx
lea ecx, [edi - 1]
mov eax, edi
mov dword [esp + 0x20], ecx
shl eax, 8
sar edi, 8
and edi, 0xff
or eax, edi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx eax, byte [ebx + esi]
mov dword [esp + 0x58], eax
cmp eax, edx
je 0x435d37
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0x14]
cmp ecx, edx
jge 0x435b79
mov dword [esp + 0x50], ecx
mov edx, ecx
imul edx, dword [esp + 0x38]
add edx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov esi, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
movzx edi, byte [edx + esi]
cmp edi, eax
jne 0x435da3
mov ecx, esi
cmp ecx, ebx
jge 0x435b13
movzx esi, byte [ecx + edx]
cmp esi, eax
jne 0x435b13
add ecx, 1
cmp ecx, ebx
jl 0x435b04
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
add ecx, 0xffffffff
cmp esi, edi
cmove eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
jne 0x435b33
mov eax, ecx
cmp ecx, eax
cmovl eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x435b53
mov eax, dword [esp + 0x44]
cmp ecx, eax
jl 0x435b53
add dword [esp + 0x3c], 1
jmp 0x435b59
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, esi
mov ecx, dword [ebp + 0x14]
add edx, ebx
add eax, 1
mov dword [esp + 0x50], eax
cmp eax, ecx
jl 0x435aea
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
add ecx, 0xffffffff
sub esi, ebx
add esi, 1
sub eax, edi
add eax, 1
sub edx, ebx
add edx, 1
sub ecx, edi
add ecx, 1
mov ebx, esi
imul ebx, eax
mov edi, edx
imul edi, ecx
cmp ebx, edi
cmovg edx, esi
mov dword [esp + 0x4c], edx
cmovg ecx, eax
mov ebx, dword [esp + 0x54]
mov edi, ebx
shl edi, 8
mov eax, ebx
sar eax, 8
movzx eax, al
or edi, eax
mov esi, edx
shl esi, 8
sar edx, 8
movzx edx, dl
or esi, edx
mov eax, ecx
shl eax, 8
mov edx, ecx
sar edx, 8
movzx edx, dl
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + 9]
cmp eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
jg 0x435d98
cmp eax, dword [ebp + 0x18]
jg 0x435d80
mov eax, dword [esp + 0x58]
add dword [esp + 0x10], 1
mov word [esp + 6], dx
mov edx, dword [esp + 0x14]
mov word [esp + 4], si
mov esi, dword [esp + 0xc]
mov word [esp + 2], dx
mov word [esp], di
mov edi, dword [esp + 0x18]
mov byte [esi + edi], al
lea eax, [edi + 1]
mov dword [0x4a4464], eax
lea esi, [esi + edi + 1]
mov edx, dword [esp]
mov dword [esi], edx
mov edx, dword [esp + 4]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x48]
lea eax, [eax + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
add ecx, edx
cmp edx, ecx
jge 0x435d37
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
lea esi, [ebx + esi]
mov dword [esp + 0x58], esi
lea edi, [ebx + eax]
mov eax, edx
imul eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jge 0x435d20
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x1f
jb 0x435d75
mov ebx, dword [esp + 0x3c]
lea esi, [ebx + eax]
mov edi, esi
and edi, 0xf
jne 0x435cbd
xor ebx, ebx
jmp 0x435cdc
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
neg edi
add edi, 0x10
sub ecx, edi
xor ebx, ebx
mov byte [esi + ebx], dl
add ebx, 1
cmp ebx, edi
jb 0x435cce
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
and ecx, 0xf
neg ecx
add ecx, dword [esp + 0x4c]
movd xmm0, edi
punpcklbw xmm0, xmm0
punpcklbw xmm0, xmm0
pshufd xmm0, xmm0, 0
movdqa xmmword [esi + ebx], xmm0
add ebx, 0x10
cmp ebx, ecx
jb 0x435cfa
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
jae 0x435d20
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov byte [esi + ebx], cl
add ebx, 1
cmp ebx, edi
jb 0x435d16
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
add edx, 1
cmp edx, ecx
jl 0x435c8e
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
add ebx, 1
cmp ebx, eax
jl 0x435a9b
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x435a5f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
mov eax, ecx
add esp, 0x64
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
lea esi, [ecx + eax]
jmp 0x435d0e
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
mov eax, 0xffffffff
add esp, 0x64
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
jmp 0x435d89
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov ebx, esi
jmp 0x435b79
mov eax, dword [esp + 0x48]
add eax, 1
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x435a5f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [0x4a4464], edx
jmp 0x435d69
mov dword [0x4a4464], 1
xor ecx, ecx
jmp 0x435d69
push esi
push 0x4bff44
push 0x4bff28
push 0x4a04f0
call fcn.00487234
push 1
call fcn.0048729d
add esp, 0x14
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x435a1c
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x64
mov dword [esp + 0x34], ecx
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x14]
imul ecx, edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], ecx
pxor mm0, mm0
movq qword [eax + 0x4a4060], mm0
movq qword [eax + 0x4a4068], mm0
movq qword [eax + 0x4a4070], mm0
movq qword [eax + 0x4a4078], mm0
add eax, 0x20
cmp eax, 0x400
jb 0x435e37
emms
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x43623e
xor ebx, ebx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov edx, eax
mov eax, dword [esp + 0x1c]
movzx esi, byte [ecx + eax]
inc ecx
cmp esi, 0x100
jge 0x43621f
mov edi, dword [esi*4 + 0x4a4060]
inc edi
cmp edi, ebx
mov dword [esi*4 + 0x4a4060], edi
jle 0x435ea6
mov ebx, edi
movzx edx, byte [ecx + eax - 1]
mov esi, dword [esp + 0x14]
cmp ecx, esi
jl 0x435e7b
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x14]
mov dword [0x4a4464], 1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x24]
mov byte [ecx], al
test edx, edx
jle 0x43621b
xor ecx, ecx
xor edi, edi
xor esi, esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
movsx eax, al
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x34]
mov esi, eax
imul esi, dword [esp + 0x44]
add esi, dword [esp + 0x1c]
test eax, eax
jle 0x436204
mov dword [esp + 0x20], esi
xor ebx, ebx
mov edi, dword [esp + 0x44]
lea ecx, [edi - 1]
mov eax, edi
shl eax, 8
mov dword [esp + 0x18], ecx
sar edi, 8
and edi, 0xff
or eax, edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x20]
movzx eax, byte [ebx + esi]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
cmp eax, edx
je 0x4361aa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0x14]
cmp ecx, edx
jge 0x435fff
mov dword [esp + 0x4c], ecx
mov esi, 1
mov edx, ecx
imul edx, dword [esp + 0x34]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
movzx edi, byte [edx + esi]
mov eax, dword [esp + 0x54]
cmp edi, eax
jne 0x4361f5
mov ecx, esi
cmp ecx, ebx
jge 0x435fa2
movzx esi, byte [ecx + edx]
cmp esi, eax
jne 0x435fa2
inc ecx
cmp ecx, ebx
jl 0x435f95
dec ecx
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
cmp esi, edi
mov eax, dword [esp + 0x40]
cmove eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
jne 0x435fc0
mov eax, ecx
cmp ecx, eax
cmovl eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x435fdf
mov eax, dword [esp + 0x40]
cmp ecx, eax
jl 0x435fdf
inc dword [esp + 0x2c]
jmp 0x435fe5
xor eax, eax
mov dword [esp + 0x48], eax
add edx, ebx
mov eax, esi
inc eax
mov dword [esp + 0x4c], eax
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jl 0x435f7b
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x50], ebx
dec ecx
mov edi, dword [esp + 0x40]
sub edi, ebx
inc edi
mov esi, dword [esp + 0x44]
sub eax, esi
inc eax
mov edx, dword [esp + 0x3c]
sub edx, ebx
inc edx
sub ecx, esi
inc ecx
mov ebx, edi
imul ebx, eax
mov esi, edx
imul esi, ecx
cmp ebx, esi
cmovg edx, edi
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x48], edx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovg ecx, eax
shl esi, 8
mov eax, ebx
sar eax, 8
movzx eax, al
or esi, eax
mov eax, edx
shl eax, 8
sar edx, 8
movzx edx, dl
or eax, edx
mov dword [esp + 0x2c], eax
mov eax, ecx
shl eax, 8
mov edx, ecx
sar edx, 8
movzx edx, dl
or eax, edx
mov edx, dword [0x4a4464]
mov dword [esp + 0x28], edx
lea edx, [edx + 9]
cmp edx, edi
mov dword [esp + 0x38], edx
jg 0x4361e6
cmp edx, dword [ebp + 0x18]
jg 0x4361e6
mov word [esp + 6], ax
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov word [esp + 4], dx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x54]
mov word [esp + 2], di
mov edi, dword [esp + 0x28]
mov word [esp], si
lea esi, [edi + 1]
inc dword [esp + 0xc]
mov byte [edx + edi], al
lea edx, [edx + edi + 1]
mov dword [0x4a4464], esi
mov eax, dword [esp]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [edx + 4], eax
mov eax, edi
add eax, 9
mov edx, dword [esp + 0x44]
mov dword [0x4a4464], eax
add ecx, edx
cmp edx, ecx
jge 0x4361aa
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x48]
lea esi, [ebx + esi]
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x1c]
lea edi, [ebx + eax]
mov dword [esp + 0x38], edi
mov eax, edx
imul eax, dword [esp + 0x34]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x436195
mov ecx, dword [esp + 0x48]
cmp ecx, 0xf
jb 0x4361db
mov ebx, dword [esp + 0x38]
lea esi, [ebx + eax]
mov edi, esi
and edi, 7
jne 0x43613a
xor ebx, ebx
jmp 0x436157
mov dword [esp + 0x28], edx
neg edi
add edi, 8
sub ecx, edi
xor ebx, ebx
mov edx, dword [esp + 0x24]
mov byte [esi + ebx], dl
inc ebx
cmp ebx, edi
jb 0x43614b
mov edx, dword [esp + 0x28]
and ecx, 7
neg ecx
mov edi, dword [esp + 0x30]
add ecx, dword [esp + 0x48]
movd mm0, edi
punpcklbw mm0, mm0
punpcklbw mm0, mm0
punpcklbw mm0, mm0
movq qword [esi + ebx], mm0
add ebx, 8
cmp ebx, ecx
jb 0x436170
emms
mov ecx, dword [esp + 0x48]
cmp ebx, ecx
jae 0x436195
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov byte [esi + ebx], cl
inc ebx
cmp ebx, edi
jb 0x43618d
add eax, dword [esp + 0x34]
inc edx
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
jl 0x43610f
mov ebx, dword [esp + 0x50]
inc ebx
mov eax, dword [esp + 0x34]
cmp ebx, eax
jl 0x435f2c
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, edx
jl 0x435ef0
mov ecx, dword [esp + 0xc]
mov eax, ecx
add esp, 0x64
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov ecx, dword [esp + 0x38]
lea esi, [ecx + eax]
jmp 0x436185
mov eax, 0xffffffff
add esp, 0x64
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov ebx, esi
jmp 0x435fff
mov eax, dword [esp + 0x44]
inc eax
cmp eax, edx
mov dword [esp + 0x44], eax
jl 0x435ef0
mov ecx, dword [esp + 0xc]
jmp 0x4361cf
xor ecx, ecx
jmp 0x4361cf
push esi
push 0x4bff44
push 0x4bff28
push 0x4a04f0
call fcn.00487234
push 1
call fcn.0048729d
add esp, 0x14
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x435eb5
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x54
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
imul ecx, eax
mov dword [esp + 0x1c], ecx
xor edx, edx
mov dword [edx + 0x4a4060], 0
add edx, 4
cmp edx, 0x400
jl 0x436270
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x436600
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x34], edx
xor edx, edx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
movzx esi, byte [edx + eax]
inc edx
cmp esi, 0x100
jge 0x4365e1
mov edi, dword [esi*4 + 0x4a4060]
inc edi
mov dword [esi*4 + 0x4a4060], edi
cmp edi, ecx
jle 0x4362ce
mov ecx, edi
movzx ebx, byte [edx + eax - 1]
mov esi, dword [esp + 0x1c]
cmp edx, esi
jl 0x4362a3
mov dword [esp + 0x34], ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov byte [ecx], dl
mov esi, 1
mov dword [esp + 0x18], esi
mov edi, 1
mov dword [esp + 8], edi
test eax, eax
jle 0x4365d3
xor edx, edx
xor esi, esi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x38]
mov esi, edx
imul esi, dword [esp + 0x44]
add esi, dword [esp + 0x30]
test edx, edx
jle 0x4365b2
xor ebx, ebx
mov edi, dword [esp + 0x44]
lea ecx, [edi - 1]
mov edx, edi
shl edx, 8
sar edi, 8
and edi, 0xff
or edx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
movzx eax, byte [esi + edi]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
cmp eax, edx
je 0x436544
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x14]
cmp edx, eax
jge 0x43641e
mov eax, 1
mov ecx, edx
imul ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
movzx esi, byte [ecx + eax]
cmp esi, ebx
jne 0x4365a9
cmp eax, edx
jge 0x4363cd
movzx esi, byte [ecx + eax]
cmp esi, ebx
jne 0x4363cd
inc eax
cmp eax, edx
jl 0x4363c0
dec eax
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
cmp esi, edi
jne 0x4363e2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x40]
cmp eax, esi
jge 0x4363ee
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x48]
test esi, esi
jle 0x436404
mov esi, dword [esp + 0x2c]
cmp eax, esi
jl 0x436404
inc dword [esp + 0x3c]
jmp 0x43640a
xor eax, eax
mov dword [esp + 0x48], eax
add ecx, edx
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
mov esi, dword [ebp + 0x14]
cmp eax, esi
jl 0x4363ac
mov edx, eax
dec edx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
sub eax, ebx
inc eax
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
sub edi, esi
inc edi
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x40]
sub ecx, ebx
inc ecx
sub edx, esi
inc edx
mov ebx, eax
imul ebx, edi
mov esi, ecx
imul esi, edx
cmp ebx, esi
jg 0x436457
mov eax, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x50]
mov ebx, ecx
shl ebx, 8
sar ecx, 8
movzx ecx, cl
or ebx, ecx
mov ecx, eax
shl ecx, 8
mov edx, eax
sar edx, 8
movzx edx, dl
or ecx, edx
mov esi, dword [esp + 0x3c]
mov edx, esi
shl edx, 8
sar esi, 8
and esi, 0xff
or edx, esi
mov edi, dword [esp + 0x18]
lea esi, [edi + 9]
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x1c]
cmp esi, edi
jg 0x43659e
cmp esi, dword [ebp + 0x18]
jg 0x436586
mov word [esp + 6], dx
mov word [esp + 4], cx
mov edx, dword [esp + 0x14]
mov word [esp + 2], dx
mov word [esp], bx
inc dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [ebx + esi], cl
lea edx, [esi + 1]
mov dword [0x4a4464], edx
lea ebx, [ebx + esi + 1]
mov edi, dword [esp]
mov dword [ebx], edi
mov ecx, dword [esp + 4]
mov dword [ebx + 4], ecx
lea ebx, [edx + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
add edx, ebx
mov dword [esp + 0x3c], edx
cmp ebx, edx
jge 0x436544
add eax, dword [esp + 0x50]
mov ecx, ebx
imul ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov edi, edx
cmp edx, eax
jge 0x436537
mov esi, dword [esp + 0x30]
lea esi, [esi + ecx]
mov edx, dword [esp + 0x34]
mov byte [esi + edi], dl
inc edi
cmp edi, eax
jl 0x43652b
mov edx, dword [esp + 0x50]
add ecx, dword [esp + 0x38]
inc ebx
mov esi, dword [esp + 0x3c]
cmp ebx, esi
jl 0x43651a
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x38]
cmp eax, edx
jl 0x436359
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
cmp edx, eax
jl 0x436319
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
mov eax, edx
add esp, 0x54
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
mov eax, 0xffffffff
add esp, 0x54
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov dword [0x4a4464], eax
jmp 0x43658f
mov edx, dword [esp + 0x4c]
jmp 0x43641e
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
cmp edx, eax
jl 0x436319
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [0x4a4464], ecx
jmp 0x43657a
mov dword [0x4a4464], 1
xor edx, edx
jmp 0x43657a
push esi
push 0x4bff44
push 0x4bff28
push 0x4a04f0
call fcn.00487234
push 1
call fcn.0048729d
add esp, 0x14
xor edx, edx
mov dword [esp + 0x34], edx
jmp 0x4362dd