Function at 0x405ad4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
cmp dword [ebp + 8], 0
je 0x406611
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x406611
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x406611
cmp dword [ebp + 0x10], 0
je 0x406611
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0xc], eax
lfence
test al, 1
je 0x406611
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 8]
sub ebx, dword [edi]
mov esi, dword [edi + 0xc]
sub esi, dword [edi + 4]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], esi
cmp eax, ebx
jge 0x40660e
lfence
cmp eax, esi
jge 0x40660e
mov edx, ebx
shl edx, 2
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 0x10]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
test esi, esi
jle 0x405b99
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push eax
mov eax, dword [edi + 4]
add eax, ecx
imul eax, edx
add eax, dword [edi]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x2c]
call fcn.00453660
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x2c], eax
inc ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
cmp ecx, esi
jl 0x405b62
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x30]
mov dl, byte [ebp + 0x18]
cmp dl, 3
jne 0x405d40
mov edx, ebx
mov dword [ebp - 0x24], ecx
shl edx, 2
lea esi, [ecx + ebx*8]
add edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x14], edx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov dword [ebp - 0x4c], eax
neg edx
mov dword [ebp - 0x28], eax
add ecx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x1c]
jge 0x4065f8
lea eax, [edx + ebx]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x10], edi
mov edi, dword [ebp + 0x14]
jge 0x405d13
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 9]
add ecx, eax
movzx eax, byte [esi + 1]
add ecx, eax
movzx eax, byte [ebx + 9]
add ecx, eax
movzx eax, byte [ebx + 1]
add ecx, eax
movzx ebx, byte [esi + 0xa]
movzx eax, byte [edx + 9]
add ecx, eax
movzx eax, byte [edx + 5]
add ecx, eax
movzx eax, byte [edx + 1]
add ecx, eax
movzx eax, byte [esi + 6]
add ebx, eax
shr ecx, 3
movzx eax, byte [esi + 2]
add esi, 4
add ebx, eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0xa]
add ebx, eax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [edx + 0xa]
add ebx, eax
movzx eax, byte [edx + 6]
add ebx, eax
movzx eax, byte [edx + 2]
add ebx, eax
add edx, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
shr ebx, 3
movzx ecx, byte [eax + 8]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 8]
add ecx, eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 8]
add ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
add ecx, eax
movzx eax, byte [edx]
add ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
add ecx, eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
add ecx, eax
movzx eax, byte [esi]
add ecx, eax
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x28]
imul eax, dword [ebp + 0x10]
shr ecx, 3
add eax, dword [edi]
add eax, dword [ebp - 0x10]
mov byte [edx + eax*4], cl
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x28]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x48]
add eax, dword [edi]
add eax, dword [ebp - 0x10]
mov byte [edx + eax*4 + 1], cl
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x28]
add eax, ecx
imul eax, dword [ebp + 0x10]
add eax, dword [edi]
add eax, dword [ebp - 0x10]
mov byte [edx + eax*4 + 2], bl
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add ebx, 4
inc eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x20]
jl 0x405bff
mov eax, dword [ebp - 0xc]
lea edx, [edx + eax*4]
add edx, 0xfffffffc
lea ebx, [ebx + eax*4]
add ebx, 0xfffffffc
mov dword [ebp - 0x24], edx
lea esi, [esi + eax*4]
mov dword [ebp - 0x14], ebx
add esi, 0xfffffffc
inc ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x1c]
jl 0x405bea
jmp 0x406081
cmp dl, 5
jne 0x40608c
mov edx, ebx
mov dword [ebp - 0x14], ecx
shl edx, 2
mov esi, ebx
add edx, ecx
shl esi, 4
mov dword [ebp - 8], edx
add esi, ecx
lea edx, [ecx + ebx*8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], edx
imul edx, ebx, 0xc
add edx, ecx
dec eax
mov dword [ebp - 0x2c], edx
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
sub edx, eax
mov dword [ebp - 0x20], eax
mov ecx, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jge 0x4065f8
mov edi, dword [ebp - 0x2c]
mov ecx, ebx
mov edx, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
cmp ebx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
jge 0x40603f
movzx eax, byte [esi + 0xd]
movzx edx, byte [esi + 0x11]
add edx, eax
movzx eax, byte [esi + 9]
add edx, eax
movzx eax, byte [esi + 5]
add edx, eax
movzx eax, byte [esi + 1]
add edx, eax
movzx eax, byte [edi + 0x11]
add edx, eax
movzx eax, byte [edi + 0xd]
add edx, eax
movzx eax, byte [edi + 9]
add edx, eax
movzx eax, byte [edi + 5]
add edx, eax
movzx eax, byte [edi + 1]
add edx, eax
mov eax, dword [ebp - 4]
push 0x18
movzx eax, byte [eax + 0x11]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xd]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 5]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 1]
add edx, eax
movzx eax, byte [ecx + 0x11]
add edx, eax
movzx eax, byte [ecx + 0xd]
add edx, eax
movzx eax, byte [ecx + 9]
add edx, eax
movzx eax, byte [ecx + 5]
add edx, eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [ebx + 0x11]
add eax, edx
add eax, ecx
movzx ecx, byte [ebx + 0xd]
add eax, ecx
movzx ecx, byte [ebx + 9]
add eax, ecx
movzx ecx, byte [ebx + 5]
add eax, ecx
movzx ecx, byte [ebx + 1]
add eax, ecx
cdq
pop ecx
idiv ecx
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0x12]
add edx, ecx
mov dword [ebp - 0x4c], eax
movzx ecx, byte [esi + 0xa]
movzx eax, byte [edi + 0x12]
add edx, ecx
movzx ecx, byte [esi + 6]
add edx, ecx
movzx ecx, byte [esi + 2]
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, eax
movzx eax, byte [edi + 0xe]
add edx, eax
movzx eax, byte [edi + 0xa]
add edx, eax
movzx eax, byte [edi + 6]
add edx, eax
movzx eax, byte [edi + 2]
add edx, eax
movzx eax, byte [ecx + 0x12]
add edx, eax
movzx eax, byte [ecx + 0xe]
add edx, eax
movzx eax, byte [ecx + 6]
add edx, eax
movzx eax, byte [ecx + 2]
add edx, eax
mov ecx, dword [ebp - 8]
push 0x18
movzx eax, byte [ecx + 0x12]
add edx, eax
movzx eax, byte [ecx + 0xe]
add edx, eax
movzx eax, byte [ecx + 0xa]
add edx, eax
movzx eax, byte [ecx + 6]
add edx, eax
movzx eax, byte [ecx + 2]
add eax, edx
movzx ecx, byte [ebx + 0x12]
add eax, ecx
movzx ecx, byte [ebx + 0xe]
add eax, ecx
movzx ecx, byte [ebx + 0xa]
add eax, ecx
movzx ecx, byte [ebx + 6]
add eax, ecx
movzx ecx, byte [ebx + 2]
add eax, ecx
cdq
pop ecx
idiv ecx
mov ebx, eax
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
add eax, 4
mov edi, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x48], ebx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [eax + 0x10]
add edx, ecx
movzx ecx, byte [eax + 8]
add edx, ecx
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc]
add edx, eax
mov eax, edi
movzx eax, byte [eax + 0x10]
add edx, eax
mov eax, edi
movzx eax, byte [eax + 0xc]
add edx, eax
mov eax, edi
movzx eax, byte [eax + 8]
add edx, eax
mov eax, esi
movzx eax, byte [eax + 0x10]
add edx, eax
mov eax, esi
movzx eax, byte [eax + 0xc]
add edx, eax
mov eax, esi
movzx eax, byte [eax + 8]
add edx, eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
add edx, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
push 0x18
movzx eax, byte [eax]
add edx, eax
movzx eax, byte [ecx]
movzx ecx, byte [edi + 4]
add edx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [ebp - 4]
add edx, ecx
movzx ecx, byte [esi + 4]
add edx, ecx
movzx ecx, byte [eax]
mov eax, edi
add edx, ecx
movzx ecx, byte [eax]
mov eax, esi
add edx, ecx
pop ecx
movzx eax, byte [eax]
add eax, edx
cdq
idiv ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 4]
add ecx, dword [ebp - 0x10]
imul ecx, dword [ebp + 0x10]
add ecx, dword [edx]
add ecx, dword [ebp - 0x24]
mov byte [ebx + ecx*4], al
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x10]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
add eax, dword [edx]
add eax, dword [ebp - 0x24]
mov byte [ebx + eax*4 + 1], cl
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x10]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x48]
add eax, dword [edx]
add eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
mov byte [ecx + eax*4 + 2], bl
lea ebx, [esi + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [edi + 4]
mov edi, dword [ebp - 0x38]
inc eax
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x40]
jl 0x405db3
mov eax, dword [ebp - 0xc]
lea ebx, [ebx + eax*4]
lea ecx, [ecx + eax*4]
add ebx, 0xfffffffc
lea edx, [edx + eax*4]
mov dword [ebp - 0x14], ebx
lea edi, [edi + eax*4]
add ecx, 0xfffffffc
lea esi, [esi + eax*4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x44]
add edx, 0xfffffffc
add edi, 0xfffffffc
mov dword [ebp - 4], edx
add esi, 0xfffffffc
mov dword [ebp - 0x2c], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], esi
jl 0x405d9c
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
jmp 0x4065fe
cmp dl, 7
jne 0x4065fe
mov edx, ebx
mov dword [ebp - 0x10], ecx
shl edx, 2
add edx, ecx
mov dword [ebp - 8], edx
lea edx, [ecx + ebx*8]
mov dword [ebp - 4], edx
imul edx, ebx, 0xc
add edx, ecx
mov dword [ebp - 0x14], edx
mov edx, ebx
shl edx, 4
add edx, ecx
mov dword [ebp - 0x28], edx
imul edx, ebx, 0x14
add edx, ecx
mov dword [ebp - 0x2c], edx
imul edx, ebx, 0x18
add edx, ecx
dec eax
mov dword [ebp - 0x20], edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, ecx
mov dword [ebp - 0x60], ecx
neg edx
lea eax, [edx + esi]
mov dword [ebp - 0x4c], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x4c]
jge 0x4065fb
mov esi, dword [ebp - 0x2c]
lea eax, [edx + ebx]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x48]
cmp ecx, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
jge 0x406599
mov ecx, dword [ebp - 0x14]
movzx eax, byte [edi + 0x15]
movzx edx, byte [edi + 0x19]
add edx, eax
movzx eax, byte [edi + 0x11]
add edx, eax
movzx eax, byte [edi + 0xd]
add edx, eax
movzx eax, byte [edi + 9]
add edx, eax
movzx eax, byte [esi + 0x19]
add edx, eax
movzx eax, byte [edi + 5]
add edx, eax
movzx eax, byte [esi + 0x15]
add edx, eax
movzx eax, byte [edi + 1]
add edx, eax
movzx eax, byte [esi + 0x11]
add edx, eax
movzx eax, byte [esi + 0xd]
add edx, eax
movzx eax, byte [esi + 9]
add edx, eax
movzx eax, byte [ebx + 0x19]
add edx, eax
movzx eax, byte [esi + 5]
add edx, eax
movzx eax, byte [ebx + 0x15]
add edx, eax
movzx eax, byte [esi + 1]
add edx, eax
movzx eax, byte [ebx + 0x11]
add edx, eax
movzx eax, byte [ebx + 0xd]
add edx, eax
movzx eax, byte [ebx + 9]
add edx, eax
movzx eax, byte [ecx + 0x19]
add edx, eax
movzx eax, byte [ebx + 5]
add edx, eax
movzx eax, byte [ecx + 0x15]
add edx, eax
movzx eax, byte [ebx + 1]
add edx, eax
movzx eax, byte [ecx + 0x11]
add edx, eax
movzx eax, byte [ecx + 9]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x19]
add edx, eax
movzx eax, byte [ecx + 5]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x15]
add edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [ebp - 4]
add edx, eax
movzx eax, byte [ecx + 0x11]
add edx, eax
movzx eax, byte [ecx + 0xd]
add edx, eax
movzx eax, byte [ecx + 9]
mov ecx, dword [ebp - 8]
add edx, eax
movzx eax, byte [ecx + 0x19]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 5]
add edx, eax
movzx eax, byte [ecx + 0x15]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 1]
add edx, eax
movzx eax, byte [ecx + 0x11]
add edx, eax
movzx eax, byte [ecx + 0xd]
add edx, eax
movzx eax, byte [ecx + 9]
add edx, eax
mov ecx, dword [ebp - 0x10]
push 0x30
movzx eax, byte [ecx + 0x19]
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 5]
add edx, eax
movzx eax, byte [ecx + 0x15]
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 1]
add edx, eax
mov eax, ecx
movzx ecx, byte [eax + 0x11]
add edx, ecx
movzx ecx, byte [eax + 0xd]
add edx, ecx
movzx ecx, byte [eax + 9]
add edx, ecx
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 1]
add edx, ecx
add eax, edx
cdq
pop ecx
idiv ecx
movzx ecx, byte [edi + 0x16]
movzx edx, byte [edi + 0x1a]
add edx, ecx
mov dword [ebp - 0x54], eax
movzx ecx, byte [edi + 0x12]
movzx eax, byte [esi + 0x1a]
add edx, ecx
movzx ecx, byte [edi + 0xe]
add edx, ecx
movzx ecx, byte [edi + 0xa]
add edx, ecx
mov ecx, dword [ebp - 0x14]
add edx, eax
movzx eax, byte [edi + 6]
add edx, eax
movzx eax, byte [esi + 0x16]
add edx, eax
movzx eax, byte [edi + 2]
add edx, eax
movzx eax, byte [esi + 0x12]
add edx, eax
movzx eax, byte [esi + 0xe]
add edx, eax
movzx eax, byte [esi + 0xa]
add edx, eax
movzx eax, byte [ebx + 0x1a]
add edx, eax
movzx eax, byte [esi + 6]
add edx, eax
movzx eax, byte [ebx + 0x16]
add edx, eax
movzx eax, byte [esi + 2]
add edx, eax
movzx eax, byte [ebx + 0x12]
add edx, eax
movzx eax, byte [ebx + 0xe]
add edx, eax
movzx eax, byte [ebx + 0xa]
add edx, eax
movzx eax, byte [ecx + 0x1a]
add edx, eax
movzx eax, byte [ebx + 6]
add edx, eax
movzx eax, byte [ecx + 0x16]
add edx, eax
movzx eax, byte [ebx + 2]
add edx, eax
movzx eax, byte [ecx + 0x12]
add edx, eax
movzx eax, byte [ecx + 0xa]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1a]
add edx, eax
movzx eax, byte [ecx + 6]
add edx, eax
mov eax, dword [ebp - 4]
push 0x30
movzx eax, byte [eax + 0x16]
add edx, eax
movzx eax, byte [ecx + 2]
add edx, eax
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x12]
add edx, eax
movzx eax, byte [ecx + 0xe]
add edx, eax
movzx eax, byte [ecx + 0xa]
add edx, eax
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + 0x1a]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 6]
add edx, eax
movzx eax, byte [ecx + 0x16]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 2]
add edx, eax
movzx eax, byte [ecx + 0x12]
add edx, eax
movzx eax, byte [ecx + 0xe]
add edx, eax
movzx eax, byte [ecx + 0xa]
mov ecx, dword [ebp - 0x10]
add edx, eax
movzx eax, byte [ecx + 0x1a]
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 6]
add edx, eax
movzx eax, byte [ecx + 0x16]
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 2]
add edx, eax
mov eax, ecx
movzx ecx, byte [eax + 0x12]
add edx, ecx
movzx ecx, byte [eax + 0xe]
add edx, ecx
movzx ecx, byte [eax + 0xa]
add edx, ecx
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 2]
add edx, ecx
add eax, edx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x58], eax
lea eax, [edi + 4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x44], eax
add edi, 4
lea eax, [esi + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
add esi, 4
lea eax, [ebx + 4]
mov dword [ebp - 0x5c], esi
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
add ebx, 4
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x18]
movzx ecx, byte [eax + 0x14]
movzx eax, byte [eax + 0x10]
add edx, ecx
add edx, eax
mov ecx, dword [ebp - 0x20]
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov ecx, dword [ebp - 0x28]
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
mov ecx, dword [ebp - 8]
add edx, eax
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
mov ecx, dword [ebp - 0x10]
add edx, eax
movzx eax, byte [ecx + 0x18]
add edx, eax
movzx eax, byte [ecx + 0x14]
add edx, eax
movzx eax, byte [ecx + 0x10]
add edx, eax
movzx eax, byte [ecx + 0xc]
add edx, eax
movzx eax, byte [ecx + 8]
add edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
add edx, eax
movzx eax, byte [esi]
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
add edx, eax
movzx eax, byte [ecx]
add edx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
push 0x30
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
movzx eax, byte [eax]
add edx, eax
movzx eax, byte [edi]
add edx, eax
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], edi
movzx eax, byte [eax]
add edx, eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x2c]
add edx, ecx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x28]
add edx, ecx
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x14]
add edx, ecx
movzx ecx, byte [ebx]
add edx, ecx
mov ebx, dword [ebp - 0x3c]
pop ecx
movzx eax, byte [eax]
add eax, edx
mov dword [ebp - 0x28], ebx
cdq
idiv ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 4]
add ecx, dword [ebp - 0x24]
imul ecx, dword [ebp + 0x10]
add ecx, dword [edx]
add ecx, dword [ebp - 0x1c]
mov byte [esi + ecx*4], al
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x24]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x54]
add eax, dword [edx]
add eax, dword [ebp - 0x1c]
mov byte [esi + eax*4 + 1], cl
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x24]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x58]
add eax, dword [edx]
mov edx, esi
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x38]
mov byte [edx + eax*4 + 2], cl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x48]
jl 0x406113
mov eax, dword [ebp - 0xc]
mov edx, ecx
mov ecx, dword [ebp - 0x10]
lea edx, [edx + eax*4]
add edx, 0xfffffffc
lea ebx, [ebx + eax*4]
add ebx, 0xfffffffc
mov dword [ebp - 0x14], edx
lea esi, [esi + eax*4]
mov dword [ebp - 0x28], ebx
lea ecx, [ecx + eax*4]
add esi, 0xfffffffc
add ecx, 0xfffffffc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], ecx
lea edi, [edi + eax*4]
mov ecx, dword [ebp - 8]
add edi, 0xfffffffc
mov dword [ebp - 0x20], edi
lea ecx, [ecx + eax*4]
add ecx, 0xfffffffc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*4]
add ecx, 0xfffffffc
inc dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x60]
jl 0x4060ff
jmp 0x40607e
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x50], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jne 0x405b4e
pop edi
pop esi
pop ebx
leave
ret 0x18