Function at 0x4b6260
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e0]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x10], 0
push edi
mov edi, dword [esi + 8]
mov eax, dword [ebx + edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + edi + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], eax
je 0x4b62bf
cmp dword [ebp + 0x14], 0
je 0x4b62cb
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x4b62cb
cmp word [edi], 1
jg 0x4b62b6
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 8]
test edx, edx
je 0x4b62db
cmp dword [esi + 0x28], 0
jne 0x4b62b6
cmp dword [eax + 0x2c], 0
jne 0x4b62b6
cmp dword [esi + 0x24], 0
je 0x4b62f1
test edx, edx
je 0x4b62f1
cmp dword [eax + 0x18], 0
jne 0x4b62b6
cmp word [ecx], 0
je 0x4b62b6
test byte [eax + 6], 1
jne 0x4b6301
test edx, edx
je 0x4b630d
cmp word [edi], 1
jg 0x4b62b6
cmp dword [ebp + 0x10], 0
jne 0x4b62b6
mov cx, word [esi + 6]
and cx, 1
mov word [esp + 0x12], cx
je 0x4b6322
cmp dword [ebp + 0x14], 0
jne 0x4b62b6
cmp dword [esi + 0x18], 0
je 0x4b632e
cmp dword [eax + 0x18], 0
jne 0x4b62b6
cmp dword [ebp + 0x10], 0
je 0x4b633e
cmp dword [eax + 0x18], 0
jne 0x4b62b6
test edx, edx
je 0x4b634c
cmp dword [esi + 0xc], 0
jne 0x4b62b6
test byte [ebx + edi + 0x1d], 0x20
lea ecx, [ebx + edi + 0x1d]
mov dword [esp + 0x38], ecx
jne 0x4b62b6
cmp dword [eax + 0x1c], 0
je 0x4b63f0
cmp dword [eax + 0x18], 0
jne 0x4b62b6
cmp dword [ebp + 0x10], 0
jne 0x4b62b6
cmp word [esp + 0x12], 0
jne 0x4b62b6
cmp word [edi], 1
jne 0x4b62b6
mov dl, 5
test byte [eax + 6], dl
jne 0x4b62b6
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4b63af
cmp byte [eax + 4], 0x71
jne 0x4b62b6
mov eax, dword [eax + 8]
test eax, eax
je 0x4b62b6
cmp word [eax], 1
jne 0x4b62b6
mov eax, ecx
test eax, eax
jne 0x4b6395
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4b63f0
cmp dword [eax], ecx
jle 0x4b63f0
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x4b62b6
mov edx, dword [esi + 0x18]
inc ecx
add eax, 0x14
cmp ecx, dword [edx]
jl 0x4b63db
mov ecx, dword [ebx + edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x1e0], ecx
call fcn.004a01f0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1e0], edx
mov eax, dword [ecx + 0x1c]
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b64ba
lea ecx, [ecx]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x30], eax
xor eax, eax
push eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
push esi
push edx
mov dword [esp + 0x38], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
call fcn.00499a40
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 0x28], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 8], edi
mov byte [esi + 4], 0x71
mov dword [esi + 0x24], 0
test eax, eax
jne 0x4b6488
mov eax, dword [esp + 0x2c]
jmp 0x4b6496
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
cmp byte [edx + 0x1e], 0
jne 0x4b680c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4b6430
mov ecx, dword [ebx + edi + 8]
mov eax, dword [ebx + edi + 0x18]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
call fcn.00478e80
mov eax, dword [ebx + edi + 0xc]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00478e80
mov edx, dword [ebx + edi + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00478e80
mov eax, dword [ebx + edi + 0x14]
xor ecx, ecx
mov dword [ebx + edi + 8], ecx
mov dword [ebx + edi + 0xc], ecx
mov dword [ebx + edi + 0x10], ecx
mov dword [ebx + edi + 0x18], ecx
lea edi, [ebx + edi + 0x14]
add esp, 0x18
cmp eax, ecx
je 0x4b6549
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x4b653e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1fc]
mov dword [eax + 0x48], edx
mov ebx, esi
mov dword [ecx + 0x1fc], eax
mov dword [edi], 0
mov dword [esp + 0x2c], ebx
jmp 0x4b6555
dec ecx
mov word [eax + 0x20], cx
mov dword [edi], 0
mov ebx, esi
mov dword [esp + 0x2c], ebx
jmp 0x4b6555
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
movsx esi, word [eax]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 8]
mov byte [esp + 0x12], 0
mov dword [esp + 0x24], eax
test eax, eax
je 0x4b6583
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
jmp 0x4b65a2
push 0
xor ecx, ecx
xor eax, eax
mov edx, edi
call fcn.004a48b0
add esp, 4
mov dword [ebx + 8], eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x4b67fe
cmp esi, 1
jle 0x4b65ca
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push edi
call fcn.004a4780
add esp, 0xc
mov dword [ebx + 8], eax
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x24], eax
jne 0x4b67fe
test esi, esi
jle 0x4b6631
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
add eax, 8
mov dword [esp + 0x28], eax
lea eax, [ecx + edx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x20]
mov esi, dword [esp + 0x18]
call fcn.004a4660
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov esi, eax
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov esi, 0x38
push esi
push 0
push eax
call fcn.004cc620
add dword [esp + 0x2c], esi
add dword [esp + 0x34], esi
add esp, 0xc
sub dword [esp + 0x30], 1
jne 0x4b65f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov cl, byte [esp + 0x12]
mov edi, dword [esp + 0x18]
mov byte [edx + eax + 0x1d], cl
mov esi, dword [ebx]
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x30], eax
jle 0x4b669b
mov dword [esp + 0x24], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
add eax, edx
cmp dword [eax + 4], 0
jne 0x4b6689
mov eax, dword [eax + 8]
test eax, eax
je 0x4b6689
push edi
mov ebx, eax
call fcn.004791e0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + edx + 4], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x24], 0x14
inc eax
cmp eax, dword [esi]
mov dword [esp + 0x30], eax
jl 0x4b6655
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx]
push ecx
push edx
push edi
call fcn.004b6050
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4b66ec
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x10]
push ecx
push edx
push edi
call fcn.004b6050
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x14]
add esp, 0xc
push ecx
push edx
push eax
push edi
call fcn.004b5f20
add esp, 0x10
mov dword [ebx + 0x14], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4b6703
mov dword [ebx + 0x18], eax
mov dword [esi + 0x18], 0
jmp 0x4b6725
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4b6725
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push edi
mov esi, eax
call fcn.004b6050
mov esi, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b6740
push 0
push 0
push eax
push edi
call fcn.004993d0
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x4b6748
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
je 0x4b679f
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
mov eax, dword [ebx + 0x14]
push ecx
push edx
push eax
push edi
call fcn.004b5f20
push 0
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x14]
push 0
push eax
push edi
call fcn.004993d0
mov ecx, dword [ebx + 0x14]
mov edx, edi
call fcn.00498f30
mov dword [ebx + 0x14], eax
mov ecx, dword [esi + 0x10]
push 0
push ecx
push edi
call fcn.00499650
add esp, 0x2c
mov dword [ebx + 0x10], eax
jmp 0x4b67c7
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
push edx
push eax
push ecx
push edi
call fcn.004b5f20
mov ecx, eax
mov eax, dword [esp + 0x38]
add esp, 0x10
mov edx, edi
mov dword [ebx + 0xc], ecx
call fcn.00498f30
mov dword [ebx + 0xc], eax
mov dx, word [esi + 6]
and dx, 1
or word [ebx + 6], dx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4b67e4
mov dword [ebx + 0x28], eax
mov dword [esi + 0x28], 0
mov ebx, dword [ebx + 0x1c]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x4b6551
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push ecx
push edi
call fcn.004b1b00
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret