Function at 0x46b390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
call fcn.004676b0
cmp ax, di
mov dword [esp + 0x20], eax
jl 0x46b61e
cmp ax, 2
jl 0x46b61a
cmp ax, 9
jg 0x46b61a
push eax
mov ecx, esi
call fcn.0046b230
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], edi
movsx eax, bp
mov dword [esp + 0x1c], eax
inc eax
push eax
mov dword [esp + 0x18], edi
call fcn.004dc5c3
add esp, 4
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x46b402
pop edi
pop esi
pop ebp
mov ax, 0xfff6
pop ebx
add esp, 0x14
ret 8
mov ecx, esi
mov edi, 0x56e844
mov ebx, eax
call fcn.0046b280
cmp ax, word [esi + 4]
je 0x46b58b
test ax, ax
jl 0x46b5c7
cmp ax, word [esi + 2]
jne 0x46b4af
mov ecx, dword [esp + 0x20]
mov dx, word [esi + 6]
inc ecx
mov eax, 1
shl eax, cl
mov word [esi], cx
mov ecx, esi
mov word [esi + 0xa], dx
mov word [esi + 8], ax
call fcn.0046b280
cmp ax, word [esi + 2]
jne 0x46b462
mov ecx, esi
call fcn.0046b280
cmp ax, word [esi + 2]
je 0x46b455
cmp ax, word [esi + 4]
je 0x46b58b
cmp ax, word [esi + 0xa]
jl 0x46b474
xor eax, eax
mov byte [ebx], al
inc ebx
dec ebp
mov dword [esp + 0x18], eax
test bp, bp
mov dword [esp + 0x14], eax
jne 0x46b57a
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push ecx
push ebx
call fcn.00467700
mov ebp, eax
add esp, 8
test bp, bp
jl 0x46b604
mov ebp, dword [esp + 0x28]
jmp 0x46b57a
mov dx, word [esi + 0xa]
mov ecx, eax
cmp ax, dx
jl 0x46b4cb
jg 0x46b5e1
mov dl, byte [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [edi], dl
inc edi
cmp cx, word [esi + 6]
jl 0x46b4ec
movsx ecx, cx
inc edi
mov dl, byte [ecx + 0x56d844]
mov cx, word [ecx*2 + 0x56b844]
mov byte [edi - 1], dl
cmp cx, word [esi + 6]
jge 0x46b4d1
mov byte [edi], cl
mov dx, word [esi + 0xa]
inc edi
cmp dx, word [esi + 8]
jge 0x46b51f
movsx edx, dx
mov dword [esp + 0x18], ecx
mov byte [edx + 0x56d844], cl
mov dx, word [esp + 0x14]
movsx ecx, word [esi + 0xa]
mov dword [esp + 0x14], eax
mov word [ecx*2 + 0x56b844], dx
inc word [esi + 0xa]
mov cx, word [esi + 8]
cmp word [esi + 0xa], cx
jl 0x46b53c
mov ax, word [esi]
cmp ax, 0xc
jge 0x46b53c
add ecx, ecx
inc eax
mov word [esi + 8], cx
mov word [esi], ax
cmp edi, 0x56e844
jbe 0x46b57a
mov dl, byte [edi - 1]
dec edi
mov byte [ebx], dl
inc ebx
dec ebp
test bp, bp
jne 0x46b572
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push eax
push ebx
call fcn.00467700
mov ebp, eax
add esp, 8
test bp, bp
jl 0x46b604
mov ebp, dword [esp + 0x28]
cmp edi, 0x56e844
ja 0x46b544
mov ecx, esi
call fcn.0046b280
cmp ax, word [esi + 4]
jne 0x46b41a
xor esi, esi
cmp bp, word [esp + 0x28]
je 0x46b5ad
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
movsx ecx, bp
sub eax, ecx
push eax
push edx
call fcn.00467700
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004dc5ec
add esp, 4
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004dc5ec
add esp, 4
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov edx, dword [esp + 0x10]
push edx
call fcn.004dc5ec
add esp, 4
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push ebx
call fcn.004dc5ec
add esp, 4
mov ax, bp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ax, 0xffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8