Function at 0x460650
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x1c], eax
add eax, 1
push esi
mov esi, dword [edi]
mov dword [edi + 0x48], eax
mov ecx, dword [ebp + 0x18]
push ecx
push esi
call fcn.00442960
mov ebx, eax
mov eax, dword [esi + 0x10]
mov edx, ebx
shl edx, 4
mov ecx, dword [edx + eax]
mov edx, dword [ebp]
push ecx
push 0
push edx
push 0x1b
push edi
mov dword [esp + 0x2c], ebx
call fcn.00481160
add esp, 0x1c
test eax, eax
jne 0x4608df
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x20]
push ecx
push 1
push edx
push ebx
push edi
call fcn.0045d420
push edi
call fcn.00464060
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4608df
mov eax, dword [esp + 0x30]
test eax, eax
jge 0x4606de
mov eax, dword [ebp + 0x2c]
push ebp
push edi
mov dword [esp + 0x1c], eax
call fcn.0045f920
mov ebx, dword [edi + 0x48]
add esp, 8
lea ecx, [ebx + 1]
push 0xfffffffffffffffa
push eax
mov dword [esp + 0x20], eax
mov dword [edi + 0x48], ecx
call fcn.00463420
add esp, 4
push eax
push 0
push 0
push ebx
push 0x36
push esi
call fcn.0045a660
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
push 0x32
push edx
push eax
push ecx
push edi
call fcn.00485000
mov edx, dword [esp + 0x5c]
push 0
push edx
push 0x67
push esi
call fcn.00457ef0
add esp, 0x40
push edi
mov dword [esp + 0x10], eax
call fcn.00479500
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push 0
push eax
push edx
push ebp
push edi
mov dword [esp + 0x40], eax
call fcn.0048a2c0
mov eax, dword [esp + 0x40]
push eax
push ebx
push 0x68
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
push ecx
push esi
call fcn.00457f60
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add edx, 1
push edx
push eax
push 9
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
add esp, 0x4c
push ecx
push esi
call fcn.00458250
add esp, 8
cmp dword [esp + 0x30], 0
jge 0x4607bc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0x6f
push esi
call fcn.00457ef0
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push 0x33
push esi
call fcn.0045a660
cmp dword [esp + 0x4c], 0
setl dl
sub dl, 1
and edx, 2
or edx, 1
push edx
push esi
call fcn.00458230
push 0
push ebx
push 0x65
push esi
call fcn.00457ef0
add esp, 0x34
cmp byte [ebp + 0x36], 0
mov dword [esp + 0xc], eax
je 0x460863
cmp dword [esp + 0x18], 0
je 0x460863
push esi
call fcn.004580e0
add eax, 3
push eax
push 0
push 0x10
push esi
mov dword [esp + 0x24], eax
call fcn.00457ef0
push esi
call fcn.004580e0
movzx edx, word [ebp + 0x32]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 6]
mov eax, dword [esp + 0x34]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ebx
push 0x4a
push esi
call fcn.0045a7a0
push ebp
push 2
push edi
call fcn.0045f720
add esp, 0x3c
jmp 0x460870
push esi
call fcn.004580e0
add esp, 4
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x1c]
push ebp
push ebx
push 0x4b
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x30]
push 1
push ebp
push edx
push 0x69
push esi
call fcn.00457de0
push 0x10
push esi
call fcn.00458230
push ebp
push edi
call fcn.00479530
mov eax, dword [esp + 0x48]
push eax
push ebx
push 5
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x50]
add esp, 0x44
push ecx
push esi
call fcn.00458250
mov edx, dword [esp + 0x34]
push edx
push 0x38
push esi
call fcn.00457e90
mov eax, dword [esp + 0x34]
push eax
push 0x38
push esi
call fcn.00457e90
push ebx
push 0x38
push esi
call fcn.00457e90
add esp, 0x2c
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret