Function at 0x4b0e4e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, ecx
push ebx
mov ebx, edx
mov dword [esp + 0x1c], eax
push esi
imul esi, dword [ebp + 8], 0x38
xor edx, edx
mov ecx, dword [eax + 0x1f0]
inc edx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
push edi
mov edi, dword [eax]
mov dword [esp + 0x34], ebx
mov eax, dword [esi + ecx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + ecx + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edx
je 0x4b0eb1
cmp dword [ebp + 0xc], 0
jne 0x4b13d1
cmp word [ecx], dx
jg 0x4b13d1
mov edx, dword [eax + 0x28]
test edx, edx
je 0x4b0ec2
cmp dword [ebx + 0x28], 0
jne 0x4b13d1
cmp dword [eax + 0x2c], 0
jne 0x4b13d1
cmp dword [ebx + 0x24], 0
je 0x4b0ee0
test edx, edx
je 0x4b0ee0
cmp dword [eax + 0x18], 0
jne 0x4b13d1
mov esi, dword [eax + 8]
xor ecx, ecx
cmp word [esi], cx
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0x4b13d1
test byte [eax + 6], 1
jne 0x4b0f00
test edx, edx
je 0x4b0f1a
xor esi, esi
inc esi
cmp word [ecx], si
mov esi, dword [esp + 0x14]
jg 0x4b13d1
cmp dword [ebp + 0xc], 0
jne 0x4b13d1
mov di, word [ebx + 6]
xor ecx, ecx
inc ecx
and di, cx
mov ecx, dword [esp + 0x18]
mov word [esp + 0xe], di
je 0x4b0f39
cmp dword [ebp + 0x10], 0
jne 0x4b13d1
cmp dword [ebx + 0x18], 0
mov edi, dword [esp + 0x10]
je 0x4b0f4d
cmp dword [eax + 0x18], 0
jne 0x4b13d1
cmp dword [ebp + 0xc], 0
je 0x4b0f5d
cmp dword [eax + 0x18], 0
jne 0x4b13d1
test edx, edx
je 0x4b0f6c
xor edx, edx
cmp dword [ebx + 0xc], edx
jne 0x4b13d1
test byte [esi + ecx + 0x1d], 0x20
jne 0x4b13d1
lea edx, [eax + 0x1c]
cmp dword [edx], 0
mov dword [esp + 0x2c], edx
je 0x4b1017
xor edx, edx
cmp dword [eax + 0x18], edx
jne 0x4b13d1
cmp dword [ebp + 0xc], edx
jne 0x4b13d1
cmp word [esp + 0xe], dx
jne 0x4b13d1
inc edx
cmp word [ecx], dx
jne 0x4b13d1
test byte [eax + 6], 5
jne 0x4b13d1
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4b0fcb
cmp byte [eax + 4], 0x70
jne 0x4b13d1
mov eax, dword [eax + 8]
test eax, eax
je 0x4b13d1
xor edi, edi
inc edi
cmp word [eax], di
mov edi, dword [esp + 0x10]
jne 0x4b13d1
mov eax, edx
test eax, eax
jne 0x4b0fb0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4b1017
cmp dword [eax], edx
jle 0x4b1017
mov eax, dword [eax + 0xc]
add eax, 0xe
xor edi, edi
cmp word [eax], di
je 0x4b13d1
mov edi, dword [ebx + 0x18]
inc edx
add eax, 0x14
cmp edx, dword [edi]
mov edi, dword [esp + 0x10]
jl 0x4b0ffd
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1f0], edx
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b10ad
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], eax
mov edi, dword [ebx + 0x18]
xor eax, eax
mov esi, dword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x10]
push eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], eax
call fcn.004bf9f8
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x28], esi
xor esi, esi
mov dword [ebx + 0x18], edi
mov dword [ebx + 8], ecx
mov byte [ebx + 4], 0x70
mov dword [ebx + 0x24], esi
test eax, eax
jne 0x4b107b
mov eax, dword [esp + 0x20]
jmp 0x4b1085
mov edx, dword [esp + 0x20]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], esi
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x1c], eax
cmp byte [edi + 0x1e], 0
jne 0x4b13cc
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x28], edx
test edx, edx
jne 0x4b103a
mov esi, dword [esp + 0x14]
mov eax, dword [esi + ecx + 0x18]
mov esi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
push dword [eax + ecx + 8]
push edi
call fcn.004d4cf2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push dword [ecx + eax + 0xc]
push edi
call fcn.004d4cf2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push dword [ecx + eax + 0x10]
push edi
call fcn.004d4cf2
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov dword [eax + edx + 8], ecx
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x18], ecx
mov ecx, dword [eax + edx + 0x14]
test ecx, ecx
je 0x4b1147
movzx eax, word [ecx + 0x20]
cmp ax, word [esp + 0x38]
jne 0x4b1136
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20c]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0x20c], ecx
jmp 0x4b113b
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + edx + 0x14], ecx
jmp 0x4b1149
xor ecx, ecx
mov eax, dword [esi + 8]
mov byte [esp + 0xe], cl
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], eax
movsx eax, word [eax]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4b1178
mov edi, dword [esp + 0x14]
mov dl, byte [edi + edx + 0x1d]
mov edi, dword [esp + 0x10]
mov byte [esp + 0xe], dl
jmp 0x4b119c
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, edi
call fcn.004b9ffb
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 8], ecx
test ecx, ecx
je 0x4b13c1
mov eax, dword [esp + 0x20]
xor edx, edx
inc edx
cmp eax, edx
jle 0x4b11d0
mov eax, dword [ebp + 8]
mov edx, ecx
inc eax
mov ecx, edi
push eax
mov eax, dword [esp + 0x24]
dec eax
push eax
call fcn.004ba088
pop ecx
pop ecx
mov ecx, eax
mov dword [ebx + 8], ecx
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x24], ecx
jne 0x4b13c1
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4b1236
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add edi, 8
mov ebx, dword [esp + 0x10]
add esi, 8
add edi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.004ba1bc
push 0xe
pop ecx
push 0x38
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.00438880
mov edi, dword [esp + 0x3c]
add esi, 0x38
add edi, 0x38
mov dword [esp + 0x38], esi
add esp, 0xc
mov dword [esp + 0x30], edi
sub dword [esp + 0x20], 1
jne 0x4b11f0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dl, byte [esp + 0xe]
mov byte [eax + ecx + 0x1d], dl
xor eax, eax
mov edi, dword [ebx]
mov ecx, eax
mov dword [esp + 0x30], ecx
cmp dword [edi], eax
jle 0x4b1298
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov edx, dword [edi + 0xc]
cmp dword [eax + edx + 4], 0
jne 0x4b1282
mov edx, dword [eax + edx + 8]
test edx, edx
je 0x4b1282
mov ecx, esi
call fcn.004d4a31
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x24]
mov dword [edx + ecx + 4], eax
mov eax, edx
mov ecx, dword [esp + 0x30]
inc ecx
add eax, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [edi]
jl 0x4b1258
mov edi, dword [ebx]
mov esi, dword [esp + 0x28]
push dword [esi]
mov edx, edi
mov edi, dword [esp + 0x14]
push dword [esp + 0x20]
mov ecx, edi
call fcn.004b1478
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x4b12d9
push dword [esi]
mov edx, dword [ebx + 0x10]
mov ecx, edi
push dword [esp + 0x20]
call fcn.004b1478
push dword [esi]
mov edx, dword [ebx + 0x14]
mov ecx, edi
push dword [esp + 0x28]
call fcn.004b14bd
add esp, 0x10
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4b12ea
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esi + 0x18], eax
jmp 0x4b1302
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x4b1300
push dword [esi]
mov ecx, edi
push dword [esp + 0x20]
call fcn.004b1478
pop ecx
pop ecx
xor eax, eax
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4b1314
push eax
push eax
mov ecx, edi
call fcn.004bfde5
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
mov ecx, edi
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
je 0x4b1369
mov dword [ebx + 0x14], edx
mov dword [ebx + 0xc], eax
push dword [esi]
push dword [esp + 0x20]
call fcn.004b14bd
mov dword [ebx + 0x14], eax
mov ecx, edi
mov edx, dword [esi + 0x14]
xor eax, eax
push eax
push eax
call fcn.004bfde5
mov edx, dword [ebx + 0x14]
mov ecx, edi
push eax
call fcn.004c0317
add esp, 0x14
mov dword [ebx + 0x14], eax
mov edx, dword [esi + 0x10]
xor eax, eax
mov ecx, edi
push eax
call fcn.004bfcd0
pop ecx
mov dword [ebx + 0x10], eax
jmp 0x4b138a
push dword [esi]
push dword [esp + 0x20]
call fcn.004b14bd
push dword [esp + 0x38]
mov edx, eax
mov dword [ebx + 0xc], eax
mov ecx, edi
call fcn.004c0317
add esp, 0xc
mov dword [ebx + 0xc], eax
mov ax, word [esi + 6]
xor ecx, ecx
inc ecx
and ax, cx
xor ecx, ecx
or word [ebx + 6], ax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4b13a7
mov dword [ebx + 0x28], eax
mov dword [esi + 0x28], ecx
mov ebx, dword [ebx + 0x1c]
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], esi
test ebx, ebx
jne 0x4b1149
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.004b3f2a
xor eax, eax
inc eax
jmp 0x4b13d3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret