Function at 0x4a6010
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
mov esi, edx
mov ecx, dword [eax + 0x1ec]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
test byte [edi + 0x3c], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], edi
je 0x4a6047
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x24], eax
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov dword [esp + 0x34], ecx
lea edx, [ecx + 8]
mov ecx, dword [edx + eax + 0x30]
add edx, eax
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x18], edx
mov ebx, dword [edx + 0x14]
je 0x4a60ad
cmp dword [ebp + 0xc], 0
jne 0x4a603e
cmp dword [eax], 1
jg 0x4a603e
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4a6090
test dword [eax + 4], 0x200000
jne 0x4a603e
mov ecx, dword [esi]
call fcn.004801f0
test eax, 0x200000
jne 0x4a603e
mov ecx, dword [esi + 0x30]
call fcn.004801f0
test eax, 0x200000
jne 0x4a603e
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x20]
test eax, eax
je 0x4a60bd
cmp dword [esi + 0x3c], 0
jne 0x4a603e
cmp dword [ebx + 0x40], 0
jne 0x4a603e
movzx edx, word [esi + 6]
test dl, 0x40
je 0x4a60d8
test eax, eax
jne 0x4a603e
cmp dword [ecx], 0
je 0x4a603e
movzx ecx, word [ebx + 6]
test cl, 1
jne 0x4a603e
test eax, eax
je 0x4a6109
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 1
jg 0x4a603e
cmp dword [ebp + 0xc], 0
jne 0x4a603e
mov ecx, edx
and ecx, 1
je 0x4a611a
cmp dword [ebp + 0x10], 0
jne 0x4a603e
cmp dword [esi + 0x30], 0
je 0x4a612a
cmp dword [ebx + 0x30], 0
jne 0x4a603e
cmp dword [ebp + 0xc], 0
je 0x4a613a
cmp dword [ebx + 0x30], 0
jne 0x4a603e
test eax, eax
je 0x4a6155
cmp dword [esi + 0x24], 0
jne 0x4a603e
test eax, eax
je 0x4a6155
test cx, cx
jne 0x4a603e
movzx eax, word [ebx + 6]
test eax, 0x1800
jne 0x4a603e
test edx, 0x800
je 0x4a6176
cmp dword [ebx + 0x34], 0
jne 0x4a603e
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4a603e
cmp dword [ebx + 0x34], 0
je 0x4a6222
cmp dword [ebx + 0x30], 0
jne 0x4a603e
cmp dword [ebp + 0xc], 0
jne 0x4a603e
test cx, cx
jne 0x4a603e
mov eax, dword [esp + 0x24]
cmp dword [eax], 1
jne 0x4a603e
mov ecx, ebx
lea ebx, [ebx]
test byte [ecx + 6], 5
jne 0x4a603e
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x4a61db
cmp byte [ecx + 4], 0x74
jne 0x4a603e
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x4a603e
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a603e
mov ecx, edx
test ecx, ecx
jne 0x4a61c0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4a6222
mov edx, dword [eax]
test edx, edx
jle 0x4a6222
mov eax, dword [eax + 4]
add eax, 0x14
mov edi, edi
cmp word [eax], 0
je 0x4a603e
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x4a6210
mov ecx, dword [esp + 0x18]
mov edx, 0x15
push 0
push 0
push 0
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x1ec], eax
call fcn.00487c90
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x1ec], ecx
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4a6303
mov eax, dword [esp + 0x1c]
mov edx, eax
mov ebx, dword [esi + 0x30]
mov edi, dword [esi + 0x3c]
mov esi, dword [esi + 0x40]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
call fcn.0047fcf0
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ecx + 0x40], esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x4a62ce
mov eax, dword [esp + 0x2c]
jmp 0x4a62df
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x4a62dc
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], esi
mov edi, dword [esp + 0x14]
mov dword [esi + 0x34], eax
cmp byte [edi + 0x41], 0
jne 0x4a6655
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4a6263
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
mov ebx, eax
mov edx, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
call fcn.0044c8e0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [eax + 8]
call fcn.0044c8e0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [eax + 0xc]
call fcn.0044c8e0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x10]
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
test ecx, ecx
je 0x4a63a0
movzx eax, word [ecx + 0x24]
cmp eax, 1
jne 0x4a638e
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x198]
test eax, eax
cmovne edx, eax
mov eax, dword [edx + 0x20c]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x20c], ecx
mov edx, dword [esp + 0x18]
jmp 0x4a6393
dec eax
mov word [ecx + 0x24], ax
mov dword [edx + 0x10], 0
lea ebx, [ebx]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x30], eax
mov ebx, dword [eax]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4a63c2
mov al, byte [edx + 0x24]
mov byte [esp + 0x13], al
jmp 0x4a63e3
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.0048d260
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
mov dword [esi + 0x20], ecx
test ecx, ecx
je 0x4a6645
cmp ebx, 1
jle 0x4a6410
mov eax, dword [ebp + 8]
mov edx, ecx
inc eax
mov ecx, edi
push eax
lea eax, [ebx - 1]
push eax
call fcn.0048d120
mov ecx, eax
add esp, 8
mov dword [esi + 0x20], ecx
cmp byte [edi + 0x41], 0
mov dword [esp + 0x28], ecx
jne 0x4a6645
test ebx, ebx
jle 0x4a647e
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add edi, 8
add esi, 8
add edi, ecx
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x14]
call fcn.0048cf70
movdqu xmm0, xmmword [esi]
push 0x50
push 0
movdqu xmmword [edi], xmm0
push esi
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [edi + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x40]
movdqu xmmword [edi + 0x40], xmm0
call fcn.004ce8d0
add esp, 0xc
lea edi, [edi + 0x50]
add esi, 0x50
dec ebx
jne 0x4a6424
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x13]
mov byte [edx + ecx + 0x2c], al
xor ecx, ecx
mov ebx, dword [esi]
mov dword [esp + 0x30], ecx
cmp dword [ebx], ecx
jle 0x4a64db
xor edi, edi
jmp 0x4a64a0
mov eax, dword [ebx + 4]
cmp dword [eax + edi + 4], 0
jne 0x4a64cb
mov edx, dword [eax + edi + 8]
mov ecx, dword [esp + 0x14]
call fcn.0044cd60
mov esi, eax
mov ecx, esi
call fcn.0044f7b0
mov ecx, dword [ebx + 4]
mov dword [ecx + edi + 4], esi
mov ecx, dword [esp + 0x30]
inc ecx
add edi, 0x18
mov dword [esp + 0x30], ecx
cmp ecx, dword [ebx]
jl 0x4a64a0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esi]
push dword [ebx]
push dword [esp + 0x24]
call fcn.004a5f00
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4a6521
push dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004a5f00
push dword [ebx]
mov edx, dword [esi + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.004a5e30
add esp, 0x10
mov dword [esi + 0x2c], eax
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x4a6571
xor edx, edx
cmp dword [edi], edx
jle 0x4a6546
xor ecx, ecx
mov eax, dword [edi + 4]
lea ecx, [ecx + 0x18]
xor esi, esi
inc edx
mov word [ecx + eax - 4], si
cmp edx, dword [edi]
jl 0x4a6530
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x30], edi
mov dword [ebx + 0x30], 0
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x4a658e
push 0
push 0
mov ecx, edi
call fcn.0047f3f0
add esp, 8
mov dword [esp + 0x30], eax
mov ecx, eax
jmp 0x4a6594
mov edx, dword [esi + 0x30]
test edx, edx
je 0x4a6550
push dword [ebx]
mov edi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004a5f00
add esp, 8
jmp 0x4a6554
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [ebp + 0x10], 0
je 0x4a65e8
mov eax, dword [esi + 0x24]
mov edx, eax
mov dword [esi + 0x24], ecx
mov ecx, edi
mov dword [esi + 0x2c], eax
push dword [ebx]
push dword [esp + 0x24]
call fcn.004a5e30
mov dword [esi + 0x2c], eax
mov ecx, edi
mov edx, dword [ebx + 0x2c]
push 0
push 0
call fcn.0047f3f0
mov edx, dword [esi + 0x2c]
mov ecx, edi
push eax
call fcn.0047ef10
add esp, 0x14
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x28]
mov ecx, edi
push 0
call fcn.0047f780
add esp, 4
mov dword [esi + 0x28], eax
jmp 0x4a660e
push dword [ebx]
mov edx, dword [esi + 0x24]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004a5e30
push dword [esp + 0x38]
mov edx, eax
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.0047ef10
add esp, 0xc
mov dword [esi + 0x24], eax
mov ax, word [ebx + 6]
and ax, 1
or word [esi + 6], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4a662b
mov dword [esi + 0x3c], eax
mov dword [ebx + 0x3c], 0
mov esi, dword [esi + 0x34]
mov ebx, dword [ebx + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], ebx
test esi, esi
jne 0x4a63a0
mov edx, dword [esp + 0x24]
mov ecx, edi
push 1
call fcn.0049f8a0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret