Function at 0x46f939
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
xor edx, edx
inc edx
mov dword [esp + 0x1c], esi
push edi
mov ecx, dword [esi + 8]
cmp byte [ecx + 1], 0x1f
jae 0x46f9b5
mov eax, dword [esi]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x46f9b5
cmp word [ebx], dx
jne 0x46f96e
mov al, byte [ebx + 3]
cmp al, 0x20
jae 0x46f9b5
inc al
mov byte [ebx + 3], al
jmp 0x46f9b5
mov edi, dword [ebx + 4]
mov al, byte [ecx]
cmp byte [edi], al
je 0x46f9a4
mov ebp, edi
add edi, 6
cmp byte [edi], al
jne 0x46f977
mov al, byte [edi + 1]
cmp al, byte [edi - 5]
jb 0x46f9a4
mov eax, dword [edi - 6]
mov ecx, dword [edi]
mov dx, word [edi + 4]
mov dword [edi], eax
mov ax, word [edi - 2]
mov dword [edi - 6], ecx
mov word [edi + 4], ax
mov word [edi - 2], dx
mov edi, ebp
mov al, byte [edi + 1]
cmp al, 0x73
jae 0x46f9b5
add al, 2
mov byte [edi + 1], al
add word [ebx + 2], 2
cmp dword [esi + 0xc], 0
jne 0x46f9e5
mov ecx, esi
call fcn.0046fc95
mov dword [esi], eax
mov dword [esi + 4], eax
test eax, eax
je 0x46fc87
mov ecx, dword [esi + 8]
mov word [ecx + 2], ax
shr eax, 0x10
mov word [ecx + 4], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0x40]
mov al, byte [eax]
mov byte [ebx], al
inc ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
cmp ebx, dword [esi + 0x44]
jae 0x46fc87
mov edx, dword [esi + 8]
movzx ecx, word [edx + 4]
movzx eax, word [edx + 2]
shl ecx, 0x10
or ecx, eax
je 0x46fa42
cmp ecx, ebx
ja 0x46fa27
mov ecx, esi
call fcn.0046fc95
mov ecx, eax
test ecx, ecx
je 0x46fc87
sub dword [esi + 0xc], 1
mov ebp, dword [esi]
jne 0x46fa53
xor eax, eax
mov ebx, ecx
cmp dword [esi + 4], ebp
mov dword [esp + 0x1c], ebx
setne al
sub dword [esi + 0x40], eax
jmp 0x46fa53
mov eax, ebx
mov word [edx + 2], bx
shr eax, 0x10
mov word [edx + 4], ax
mov ecx, dword [esi]
mov ebp, ecx
mov edi, dword [esi + 4]
mov dword [esi], ecx
mov dword [esi + 4], ecx
cmp edi, ebp
je 0x46f9dd
mov eax, dword [esi + 8]
movzx ecx, word [ebp + 2]
movzx edx, word [ebp]
mov dword [esp + 0x18], edx
movzx eax, byte [eax + 1]
sub ecx, eax
sub ecx, edx
inc ecx
mov dword [esp + 0x34], ecx
movzx eax, word [edi]
mov ecx, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ecx
cmp ecx, 1
je 0x46fb61
test cl, 1
jne 0x46fb2e
shr eax, 1
mov dword [esp + 0x24], eax
movzx edx, byte [eax + esi + 0x8f]
movzx eax, byte [eax + esi + 0x90]
mov dword [esp + 0x28], edx
cmp edx, eax
je 0x46fb2e
inc edx
mov ecx, esi
call fcn.0046ff59
mov dword [esp + 0x30], eax
test eax, eax
je 0x46fc87
mov ecx, dword [edi + 4]
mov esi, eax
sub eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
mov ebx, eax
lea edx, [ecx + 8]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx - 8]
mov dword [esi], eax
lea esi, [esi + 0xc]
mov eax, dword [edx - 4]
mov dword [esi - 8], eax
mov eax, dword [edx]
mov dword [ebx + edx], eax
lea edx, [edx + 0xc]
sub ecx, 1
jne 0x46fae8
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + ecx*4 + 0x110]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [esi + ecx*4 + 0x110], edx
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], eax
movzx edx, word [edi + 2]
mov eax, ecx
shl eax, 3
cmp eax, edx
mov eax, dword [esp + 0x14]
sbb ecx, ecx
shl eax, 2
inc ecx
cmp dword [esp + 0x18], eax
sbb eax, eax
inc eax
and ecx, eax
mov eax, dword [esp + 0x14]
add eax, eax
cmp eax, dword [esp + 0x18]
sbb eax, eax
neg eax
add eax, edx
lea edx, [eax + ecx*2]
jmp 0x46fbbb
xor edx, edx
mov ecx, esi
call fcn.0046ff59
mov dword [esp + 0x30], eax
test eax, eax
je 0x46fc87
mov cl, byte [edi + 2]
movzx edx, byte [edi + 3]
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
mov ax, word [edi + 4]
mov word [ecx + 2], ax
mov ax, word [edi + 6]
mov word [ecx + 4], ax
mov dword [edi + 4], ecx
cmp edx, 0x1e
jae 0x46fb9f
add edx, edx
jmp 0x46fba2
push 0x78
pop edx
push 3
pop eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov byte [ecx + 1], dl
sbb edx, edx
neg edx
add edx, dword [esi + 0x10]
add edx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 6
mov ecx, dword [esi + 8]
add eax, dword [edi + 4]
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0x10], eax
lea eax, [edx + 6]
mov ecx, dword [esp + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 8]
shl dword [esp + 0x10], 1
mov al, byte [ecx]
mov ecx, dword [esp + 0x24]
mov byte [ecx], al
mov eax, dword [esp + 0x38]
inc eax
mov word [edi], ax
mov eax, ebx
shr eax, 0x10
mov word [ecx + 4], ax
imul eax, dword [esp + 0x14], 6
mov word [ecx + 2], bx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jae 0x46fc40
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
shl eax, 2
cmp ecx, eax
push 3
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
seta al
inc eax
add ecx, eax
pop eax
jmp 0x46fc6a
imul eax, dword [esp + 0x14], 0xf
cmp ecx, eax
sbb ecx, ecx
imul eax, dword [esp + 0x14], 9
inc ecx
cmp dword [esp + 0x10], eax
sbb eax, eax
add eax, 5
add ecx, eax
imul eax, dword [esp + 0x14], 0xc
cmp dword [esp + 0x10], eax
sbb eax, eax
inc eax
add ecx, eax
mov eax, ecx
add eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x24]
mov byte [eax + 1], cl
mov edi, dword [edi + 8]
cmp edi, ebp
jne 0x46fa7f
jmp 0x46f9dd
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp fcn.0046fe21