Function at 0x465210
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov eax, dword [edi]
movzx edx, byte [edi + 0x1c]
mov esi, dword [ebx + 8]
not edx
and edx, 1
mov eax, dword [eax]
inc dword [ebx + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
lea ecx, [eax + edx]
mov edx, dword [ebx + 0x2c]
add ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
je 0x46526e
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sub ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x46527f
mov edx, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
lea eax, [edx + ecx]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46528c
inc ecx
jmp 0x46528f
mov ecx, dword [eax + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x34], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4652d4
mov edx, dword [edx + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x30]
push 0
push eax
mov ecx, dword [ecx]
call fcn.004107a0
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, dword [esp + 0x34]
mov dword [edx + 0x4c], eax
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x4652e2
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x10]
not ecx
push 5
push dword [ebp + 0x10]
mov dword [edi + 0x18], ecx
mov ecx, ebx
push edx
mov edx, dword [edi]
call fcn.00448f30
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x46538d
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x88]
add eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x46534b
push 0
push dword [esp + 0x38]
mov edx, 0x71
mov ecx, esi
push dword [esp + 0x38]
call fcn.0042dfe0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x465389
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x71
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0x18], 0
jne 0x4653ac
mov eax, dword [esp + 0x14]
push dword [ebp + 0x14]
add eax, edx
mov edx, dword [ebp + 0xc]
add eax, ecx
mov ecx, ebx
push eax
call fcn.00447b10
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub ecx, eax
mov edx, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x30], ebx
mov ebx, dword [esp + 0x20]
jg 0x4653fc
push dword [esp + 0x1c]
mov edx, 0x63
push ecx
push dword [esp + 0x38]
mov ecx, esi
call fcn.0042dfe0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x46543e
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x63
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x28], 0
jle 0x4656ed
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
add dword [ebx + 0x2c], eax
sub ecx, dword [edi + 4]
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, esi
test eax, eax
je 0x46547c
mov eax, dword [esp + 0x14]
add eax, edx
mov edx, 0x16
push eax
jmp 0x465484
push dword [edi + 8]
mov edx, 0x6d
call fcn.0042e110
mov ecx, dword [esi + 0x88]
add esp, 4
mov edx, dword [edi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], edx
cmp dword [eax + 0x30], ecx
jg 0x4654c1
push edx
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, 0x5f
call fcn.0042dfe0
add esp, 0xc
jmp 0x4654fb
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x465509
mov ecx, dword [esi + 0x88]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x465518
mov ecx, 0x69aa3c
jmp 0x465521
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebx]
mov dword [esp + 0x34], ecx
cmp byte [eax + 0x45], 0
jne 0x465889
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x18], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call fcn.005cf9e0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x45], 0
je 0x465573
push dword [esp + 0x18]
mov edx, 0xfffffffa
call fcn.0042ec40
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x4655ad
mov eax, dword [esi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4655a2
push 0xfffffffffffffffa
push dword [esp + 0x1c]
mov edx, ecx
mov ecx, esi
call fcn.0042ee30
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x4655ad
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfa
movzx eax, word [eax + 8]
mov ecx, ebx
mov edx, dword [edi]
dec eax
push eax
push dword [esp + 0x2c]
call fcn.00466790
mov ecx, dword [esp + 0x3c]
mov edx, 0x12
mov dword [ecx + 0x10], eax
mov ecx, esi
mov eax, dword [esi + 0x88]
mov dword [esp + 0x20], eax
inc eax
push eax
push 0
push eax
call fcn.0042e020
mov edx, dword [esi + 0xc]
add esp, 0x14
mov dword [esp + 0x34], edx
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x465626
mov edx, dword [edx + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x34]
push 0
push eax
mov ecx, dword [ecx]
call fcn.004107a0
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x4c], eax
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x465634
mov dword [eax + ecx*4], 0xffffffff
not ecx
mov edx, 0xe
mov dword [edi + 0x10], ecx
mov ecx, esi
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebx + 0x2c], eax
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
push eax
call fcn.0042e190
push dword [edi + 8]
mov edx, 0x85
mov ecx, esi
call fcn.0042e110
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x465680
push dword [edi + 0x18]
mov edx, 0x16
mov ecx, esi
push eax
call fcn.0042e190
add esp, 8
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x465691
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4656a0
mov eax, 0x69aa3c
jmp 0x4656a9
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, ebx
push dword [edi + 4]
mov edx, dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.00447b10
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x4656d2
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4656e1
mov eax, 0x69aa3c
jmp 0x4656ea
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [edi + 0x1c]
mov ecx, dword [esi + 0x88]
and al, 1
mov ebx, dword [edi + 8]
movzx edx, al
mov eax, dword [esi + 0xc]
neg edx
sbb edx, edx
add edx, 0x7e
cmp dword [eax + 0x30], ecx
jg 0x465720
push 0
push dword [esp + 0x20]
mov ecx, esi
push ebx
call fcn.0042dfe0
add esp, 0xc
jmp 0x465758
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4], dl
mov edx, dword [esp + 0x1c]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x465889
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x88]
mov dword [esp + 0x34], 0
cmp dword [eax + 0x30], ebx
jg 0x465792
push 1
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.0042dfe0
add esp, 0xc
mov ebx, eax
jmp 0x4657c8
lea eax, [ebx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [edi + 8]
mov edx, 0x35
mov ecx, esi
call fcn.0042e110
add esp, 4
cmp byte [edi + 0x1d], 0
je 0x465805
mov eax, dword [esp + 0x20]
mov edx, 0x60
mov ecx, esi
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x3c], eax
push dword [edi + 8]
call fcn.0042e020
add esp, 0xc
push dword [edi + 8]
mov edx, 0x75
mov ecx, esi
call fcn.0042e110
add esp, 4
cmp byte [edi + 0x1d], 0
je 0x465858
mov eax, dword [esi + 0x88]
mov edx, 0x25
push dword [esp + 0x34]
add eax, 2
mov ecx, esi
push eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x1c]
push eax
call fcn.0042e020
mov eax, dword [esi + 0x88]
add esp, 0xc
test eax, eax
jle 0x465858
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4 - 0x11], 0x80
mov edx, dword [esi + 0x88]
test ebx, ebx
jns 0x465865
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x46587c
mov eax, 0x69aa3c
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x58]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret