Function at 0x46a458
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x34]
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 6]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
cmp byte [eax + 2], 0
je 0x46a4ed
mov edi, dword [ebx + 0x14]
add edi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x14]
mov dword [ebp - 8], edx
cmp edi, 0x80
jae 0x46a4b6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, edi
mov byte [ecx + eax], dl
mov cl, 1
jmp 0x46a4cc
mov eax, edi
cdq
push edx
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
call fcn.004596d8
add esp, 0xc
mov ecx, eax
xor eax, eax
mov al, cl
add dword [ebp - 0x28], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x28]
push eax
call fcn.004596d8
add esp, 0xc
add dword [ebp - 0x28], eax
jmp 0x46a52e
mov eax, dword [ebx + 8]
mov edi, eax
mov dword [ebp - 8], eax
mov edx, dword [ebx]
mov dword [ebp - 4], edx
cmp edi, 0x80
jae 0x46a511
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, edi
mov byte [ecx + eax], dl
mov cl, 1
jmp 0x46a527
mov eax, edi
cdq
push edx
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
call fcn.004596d8
add esp, 0xc
mov ecx, eax
xor eax, eax
mov al, cl
add dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0xa]
cmp edi, eax
jg 0x46a558
mov ebx, dword [ebp - 0x28]
add ebx, edi
cmp ebx, 4
jge 0x46a548
mov ebx, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
jmp 0x46a59f
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0xc]
mov eax, edi
sub eax, ecx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov edx, dword [edx + 0x24]
sub edx, 4
mov ebx, edx
xor edx, edx
div ebx
mov ebx, edx
add ebx, ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax + 0xa]
cmp ebx, edx
jle 0x46a586
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x28]
add eax, ebx
add eax, 4
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
add ebx, dword [ebp - 0x28]
add ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
test edi, edi
jle 0x46a6e3
cmp dword [ebp - 0x10], 0
jne 0x46a696
mov ebx, dword [ebp - 0x24]
cmp byte [esi + 0x11], 0
je 0x46a5e7
inc dword [ebp - 0x24]
push dword [ebp - 0x24]
push esi
call fcn.00465d45
add esp, 8
cmp eax, dword [ebp - 0x24]
je 0x46a5c3
mov eax, dword [0x4733fc]
xor edx, edx
div dword [esi + 0x20]
inc eax
cmp eax, dword [ebp - 0x24]
je 0x46a5c3
push 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.004699f9
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp byte [esi + 0x11], 0
je 0x46a637
cmp dword [ebp - 0xc], 0
jne 0x46a637
test ebx, ebx
je 0x46a614
mov al, 4
jmp 0x46a616
mov al, 3
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
push dword [ebp - 0x24]
push esi
call fcn.00465d8e
add esp, 0x14
cmp dword [ebp - 0xc], 0
je 0x46a637
push dword [ebp - 0x14]
call fcn.00466f16
pop ecx
cmp dword [ebp - 0xc], 0
je 0x46a64e
push dword [ebp - 0x18]
call fcn.00466f16
pop ecx
mov eax, dword [ebp - 0xc]
jmp 0x46a6ee
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.00459a33
add esp, 8
push dword [ebp - 0x18]
call fcn.00466f16
pop ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 0x1c]
call fcn.00459a33
add esp, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x38]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x24]
sub eax, 4
mov dword [ebp - 0x10], eax
mov ebx, edi
cmp ebx, dword [ebp - 0x10]
jle 0x46a6a0
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0
jle 0x46a6bf
cmp ebx, dword [ebp - 8]
jle 0x46a6ae
mov ebx, dword [ebp - 8]
push ebx
push dword [ebp - 4]
push dword [ebp - 0x20]
call fcn.004537c4
add esp, 0xc
jmp 0x46a6cd
push ebx
push 0
push dword [ebp - 0x20]
call fcn.00453794
add esp, 0xc
sub edi, ebx
add dword [ebp - 0x20], ebx
add dword [ebp - 4], ebx
sub dword [ebp - 8], ebx
sub dword [ebp - 0x10], ebx
test edi, edi
jg 0x46a5b0
push dword [ebp - 0x18]
call fcn.00466f16
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret