Function at 0x46c0c1
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x34]
and dword [esp + 0x14], 0
push ebx
push ebp
mov eax, dword [ecx]
mov ebp, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x3c]
push esi
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], esi
mov esi, eax
mov eax, dword [esp + 0x48]
imul esi, eax
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], esi
push edi
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x18], edi
test eax, eax
jle 0x46c47a
mov ecx, dword [ecx + 4]
add eax, esi
cmp dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
cmovae eax, esi
lea esi, [ecx - 2]
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
lea esi, [eax*4 + 1]
add esi, ecx
mov dword [esp + 0x4c], esi
jmp 0x46c150
mov edx, dword [esp + 0x14]
movzx eax, byte [esi - 1]
sub eax, ebp
push eax
call fcn.0046c0ab
pop ecx
push eax
movzx eax, byte [esi]
sub eax, edx
push eax
call fcn.0046c0ab
pop ecx
push eax
movzx eax, byte [esi + 1]
sub eax, edi
push eax
call fcn.0046c0ab
pop ecx
push eax
movzx eax, byte [esi + 2]
sub eax, ebx
push eax
call fcn.0046c0ab
pop ecx
push eax
push dword [esp + 0x44]
call fcn.0046cf5c
mov ecx, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x38]
add esp, 0x14
mov edi, dword [esp + 0x50]
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
mov byte [eax + ecx - 1], bl
mov dl, byte [edi + ebx*4 + 3]
cmp dl, byte [esi + 2]
movzx ebp, byte [esi + 2]
movzx eax, dl
mov dword [esp + 0x1c], eax
cmovbe eax, ebp
mov dword [esp + 0x3c], ebp
mov ebp, 0xff
mov ecx, ebp
mov esi, ebp
sub ecx, eax
imul ecx, ecx
mov eax, ecx
movzx ecx, byte [edi + ebx*4]
cdq
idiv ebp
mov edi, dword [esp + 0x4c]
sub esi, eax
movzx eax, byte [edi - 1]
sub ecx, eax
imul ecx, esi
mov eax, ecx
cdq
idiv ebp
mov ebp, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + ebp*4 + 1]
movzx eax, byte [edi]
sub ecx, eax
imul ecx, esi
mov eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + ebp*4 + 2]
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + 1]
sub ecx, eax
imul ecx, esi
mov eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x3c]
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, edx
mov ebp, dword [esp + 0x20]
add esi, edi
imul edx, edx
add ebp, ebx
imul eax, eax
imul edi, edi
imul ebx, ebx
add edx, eax
add edx, edi
mov edi, dword [esp + 0x18]
add edx, ebx
add edx, edx
mov dword [esp + 0x1c], edx
mov eax, ecx
mov edx, ebp
imul eax, ecx
mov ebx, esi
imul edx, ebp
imul ebx, esi
mov dword [esp + 0x14], eax
mov eax, edi
imul eax, edi
mov dword [esp + 0x20], eax
add eax, edx
add eax, ebx
add eax, dword [esp + 0x14]
cmp edx, 0x64
jg 0x46c2b8
cmp ebx, 0x64
jg 0x46c2b8
cmp dword [esp + 0x20], 0x64
jg 0x46c2b8
cmp dword [esp + 0x14], 0x64
jg 0x46c2b8
cmp eax, dword [esp + 0x1c]
ja 0x46c2b8
cmp eax, 0xc8
jbe 0x46c2de
mov eax, ebp
cdq
sub eax, edx
mov ebp, eax
mov eax, esi
cdq
sub eax, edx
sar ebp, 1
mov esi, eax
mov eax, edi
cdq
sub eax, edx
sar esi, 1
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
mov ecx, eax
sar ecx, 1
jmp 0x46c26f
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
jle 0x46c36a
imul eax, ecx, 3
movzx ecx, byte [ebx + 1]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx]
mov byte [ebx + 1], al
imul eax, edi, 3
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx - 1]
mov byte [ebx], al
imul eax, esi, 3
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx - 2]
mov byte [ebx - 1], al
imul eax, ebp, 3
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov byte [ebx - 2], al
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x2c]
jge 0x46c3df
mov eax, ecx
movzx ecx, byte [ebx + 9]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx + 8]
mov byte [ebx + 9], al
mov eax, edi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx + 7]
mov byte [ebx + 8], al
mov eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx + 6]
mov byte [ebx + 7], al
mov eax, ebp
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
add esp, 0x10
mov byte [ebx + 6], al
imul eax, dword [esp + 0x10], 5
movzx ecx, byte [ebx + 5]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
mov byte [ebx + 5], al
lea esi, [ebx + 4]
movzx ecx, byte [esi]
imul eax, edi, 5
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx + 3]
mov byte [esi], al
imul eax, dword [esp + 0x1c], 5
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
movzx ecx, byte [ebx + 2]
mov byte [ebx + 3], al
imul eax, ebp, 5
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub ecx, eax
push ecx
call fcn.0046c0ab
add dword [esp + 0x5c], 4
add esp, 0x10
mov byte [ebx + 2], al
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x2c]
jl 0x46c14c
mov ecx, dword [esp + 0x44]
imul eax, ebp, 7
push 0xf
pop ebp
cdq
and edx, ebp
add eax, edx
sar eax, 4
mov dword [ecx + 0x30], eax
imul eax, dword [esp + 0x14], 7
cdq
and edx, ebp
add eax, edx
sar eax, 4
mov dword [ecx + 0x34], eax
imul eax, edi, 7
pop edi
pop esi
cdq
and edx, ebp
add eax, edx
sar eax, 4
mov dword [ecx + 0x38], eax
imul eax, ebx, 7
cdq
and edx, ebp
add eax, edx
sar eax, 4
pop ebp
mov dword [ecx + 0x3c], eax
pop ebx
add esp, 0x30
ret