Function at 0x4b8d20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x208]
mov eax, dword [eax]
test byte [eax + 0xc], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jne 0x4b8d7c
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 8]
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x10], 0
mov edx, dword [ebx + esi + 0x20]
mov eax, dword [ebx + esi + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
je 0x4b8d85
cmp dword [ebp + 0x14], 0
je 0x4b8d91
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x4b8d91
cmp word [esi], 1
jg 0x4b8d7c
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 8]
test edx, edx
je 0x4b8da1
cmp dword [edi + 0x28], 0
jne 0x4b8d7c
cmp dword [eax + 0x2c], 0
jne 0x4b8d7c
cmp dword [edi + 0x24], 0
je 0x4b8db1
test edx, edx
jne 0x4b8d7c
cmp word [ecx], 0
je 0x4b8d7c
test byte [eax + 6], 1
jne 0x4b8d7c
test edx, edx
je 0x4b8dcd
cmp word [esi], 1
jg 0x4b8d7c
cmp dword [ebp + 0x10], 0
jne 0x4b8d7c
mov cx, word [edi + 6]
and cx, 1
mov word [esp + 0x12], cx
je 0x4b8de2
cmp dword [ebp + 0x14], 0
jne 0x4b8d7c
cmp dword [edi + 0x18], 0
je 0x4b8dee
cmp dword [eax + 0x18], 0
jne 0x4b8d7c
cmp dword [ebp + 0x10], 0
je 0x4b8dfa
cmp dword [eax + 0x18], 0
jne 0x4b8d7c
test edx, edx
je 0x4b8e08
cmp dword [edi + 0xc], 0
jne 0x4b8d7c
test byte [ebx + esi + 0x1d], 0x20
lea ecx, [ebx + esi + 0x1d]
mov dword [esp + 0x38], ecx
jne 0x4b8d7c
cmp dword [eax + 0x1c], 0
je 0x4b8eac
cmp dword [eax + 0x18], 0
jne 0x4b8d7c
cmp dword [ebp + 0x10], 0
jne 0x4b8d7c
cmp word [esp + 0x12], 0
jne 0x4b8d7c
cmp word [esi], 1
jne 0x4b8d7c
mov dl, 5
test byte [eax + 6], dl
jne 0x4b8d7c
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4b8e6b
cmp byte [eax + 4], 0x71
jne 0x4b8d7c
mov eax, dword [eax + 8]
test eax, eax
je 0x4b8d7c
cmp word [eax], 1
jne 0x4b8d7c
mov eax, ecx
test eax, eax
jne 0x4b8e51
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4b8eac
cmp dword [eax], ecx
jle 0x4b8eac
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x4b8d7c
mov edx, dword [edi + 0x18]
inc ecx
add eax, 0x14
cmp ecx, dword [edx]
jl 0x4b8e97
mov ecx, dword [ebx + esi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x208], ecx
call fcn.004a1790
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x208], edx
mov eax, dword [ecx + 0x1c]
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b8f72
lea esp, [esp]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x28]
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 0x18]
mov dword [esp + 0x30], eax
xor eax, eax
push eax
push edi
push ecx
mov dword [esp + 0x40], edx
mov dword [edi + 0x18], eax
mov dword [edi + 8], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x28], eax
call fcn.0049a660
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [edi + 0x28], edx
mov dword [edi + 0x18], ebx
mov dword [edi + 8], esi
mov byte [edi + 4], 0x71
mov dword [edi + 0x24], 0
test eax, eax
jne 0x4b8f40
mov eax, dword [esp + 0x30]
jmp 0x4b8f4e
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
cmp byte [edx + 0x1e], 0
jne 0x4b92d0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b8ef0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + esi + 8]
mov eax, dword [ebx + esi + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
call fcn.00474d20
mov eax, dword [ebx + esi + 0xc]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00474d20
mov edx, dword [ebx + esi + 0x10]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00474d20
mov eax, dword [ebx + esi + 0x14]
xor ecx, ecx
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], ecx
mov dword [ebx + esi + 0x10], ecx
mov dword [ebx + esi + 0x18], ecx
lea esi, [ebx + esi + 0x14]
add esp, 0x18
cmp eax, ecx
je 0x4b900b
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x4b9000
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1a8]
test ecx, ecx
jne 0x4b8fe5
mov ecx, edx
mov edx, dword [ecx + 0x224]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x224], eax
mov dword [esi], 0
mov dword [esp + 0x30], edi
jmp 0x4b9015
dec ecx
mov word [eax + 0x20], cx
mov dword [esi], 0
mov dword [esp + 0x30], edi
jmp 0x4b9015
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
movsx esi, word [eax]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov byte [esp + 0x12], 0
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b9043
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
jmp 0x4b9062
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.004a5990
add esp, 4
mov dword [edi + 8], eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b92b7
cmp esi, 1
jle 0x4b908a
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push ebx
call fcn.004a5860
add esp, 0xc
mov dword [edi + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x20], eax
jne 0x4b92b7
test esi, esi
jle 0x4b90f8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add ecx, 8
lea eax, [edx + eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
mov ebx, dword [esp + 0x14]
call fcn.004a57d0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, 0xe
mov edi, ebx
push 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push 0
push esi
call fcn.004f4810
add ebx, 0x38
add esi, 0x38
add esp, 0xc
sub dword [esp + 0x34], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
jne 0x4b90a9
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov cl, byte [esp + 0x12]
mov byte [edx + eax + 0x1d], cl
mov esi, dword [edi]
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x34], eax
jle 0x4b9156
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
add eax, edx
cmp dword [eax + 4], 0
jne 0x4b9144
mov eax, dword [eax + 8]
test eax, eax
je 0x4b9144
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, eax
call fcn.00475080
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [edx + ecx + 4], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x20], 0x14
inc eax
cmp eax, dword [esi]
mov dword [esp + 0x34], eax
jl 0x4b9114
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [edi]
push edx
push eax
push ecx
call fcn.004b8b10
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4b91ab
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x10]
push edx
push eax
push ecx
call fcn.004b8b10
mov edx, dword [ebx]
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
add esp, 0xc
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.004b89e0
add esp, 0x10
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4b91be
mov dword [edi + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x4b91da
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4b91da
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.004b8b10
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4b91f9
push 0
push 0
push eax
push esi
call fcn.00499ff0
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x4b9201
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
je 0x4b9258
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], ecx
mov edx, dword [ebx]
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
push esi
call fcn.004b89e0
push 0
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x14]
push 0
push eax
push esi
call fcn.00499ff0
mov ecx, dword [edi + 0x14]
mov edx, esi
call fcn.00499b30
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x10]
push 0
push edx
push esi
call fcn.0049a270
add esp, 0x2c
mov dword [edi + 0x10], eax
jmp 0x4b9280
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
push eax
push ecx
push edx
push esi
call fcn.004b89e0
mov ecx, eax
mov eax, dword [esp + 0x38]
add esp, 0x10
mov edx, esi
mov dword [edi + 0xc], ecx
call fcn.00499b30
mov dword [edi + 0xc], eax
mov ax, word [ebx + 6]
and ax, 1
or word [edi + 6], ax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4b929d
mov dword [edi + 0x28], eax
mov dword [ebx + 0x28], 0
mov edi, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x4b9011
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4b92d0
push esi
push ebx
call fcn.004b43f0
push esi
push ebx
call fcn.00474d20
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret