Function at 0x4b9400
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x48]
push ebp
lea ebp, [ebx + 0x40]
mov dword [esp + 0x18], 0
push esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], eax
mov al, byte [ebx + 0x3c]
push edi
cmp al, 1
jne 0x4b942e
mov esi, 0x4b87c0
jmp 0x4b943c
mov esi, 0x4b8930
cmp al, 2
je 0x4b943c
mov esi, 0x4b8770
xor ecx, ecx
cmp byte [ebx + 0x3b], cl
jbe 0x4b9454
lea edx, [ebx + 0x60]
mov dword [edx], esi
lea edx, [edx + 0x48]
movzx eax, byte [ebx + 0x3b]
inc ecx
cmp ecx, eax
jl 0x4b9446
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.004b9050
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b94ac
cmp byte [ebx + 0x39], al
je 0x4b95e7
movzx eax, byte [ebx + 0x3b]
lea esi, [eax*8 - 1]
add esi, eax
cmp dword [ebx + esi*8 + 0xc], edi
lea esi, [ebx + esi*8]
jne 0x4b94d8
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
push edi
push edi
push dword [eax + 0x1c]
call fcn.004a4160
add esp, 0x10
mov ecx, eax
mov dword [esi + 0xc], ecx
cmp dword [esp + 0x10], edi
jne 0x4b94c3
mov edi, 7
mov esi, dword [esp + 0x20]
push esi
call fcn.004b7180
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 4], ax
mov eax, dword [esi + 0xc]
mov byte [eax + 7], 0
push 0
push 0x38
push dword [esp + 0x1c]
call fcn.0047f320
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x4b94ff
push 0x38
push 0
push ebp
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebx + 0x10], ebp
test ebp, ebp
je 0x4b94a7
lea eax, [ebp + 0x30]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push esi
call fcn.004b6a50
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4b95d0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
xor ebp, ebp
movzx eax, byte [ebx + 0x3b]
dec eax
test eax, eax
jle 0x4b9582
mov edi, dword [esp + 0x20]
xor esi, esi
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi + 0x30]
test eax, eax
je 0x4b9571
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
movzx eax, byte [ebx + 0x3b]
inc ebp
dec eax
add esi, 0x38
cmp ebp, eax
jl 0x4b9553
mov edi, dword [esp + 0x10]
xor esi, esi
xor ebp, ebp
movzx eax, byte [ebx + 0x3b]
cmp esi, eax
jge 0x4b95cc
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax + 0xc]
add eax, ebp
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4b95c4
cmp dword [ecx + 0x18], edi
je 0x4b95b7
push eax
push 0x4b7910
push dword [ecx]
call fcn.0049f9f0
add esp, 0xc
jmp 0x4b95c2
push 1
push eax
call fcn.004b79b0
add esp, 8
mov edi, eax
inc esi
add ebp, 0x38
test edi, edi
je 0x4b9586
mov ebp, dword [esp + 0x18]
xor esi, esi
test edi, edi
jne 0x4b94b0
push 2
push ebp
call fcn.004b79b0
add esp, 8
jmp 0x4b95fc
mov esi, dword [esp + 0x20]
push 0
push esi
push ebp
call fcn.004b7300
add esp, 0xc
mov dword [ebx + 0x14], esi
xor esi, esi
mov edi, eax
test edi, edi
jne 0x4b94b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret