Function at 0x4b06d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x28]
push esi
lea ecx, [esp + 0xc]
mov eax, dword [ebx]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.0041e750
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.0041e750
add esp, 0x20
test esi, eax
jne 0x4b08e9
test esi, esi
jne 0x4b0772
test eax, eax
jne 0x4b0772
mov al, byte [ebx + 4]
cmp al, 2
je 0x4b0756
cmp al, 4
je 0x4b0756
cmp al, 3
je 0x4b0756
cmp al, 7
je 0x4b0756
cmp al, 0xf
jne 0x4b0772
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
push eax
mov eax, dword [ebp + 0x2c]
push eax
call dword [0x500048]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 4]
cmp al, 2
jne 0x4b07b9
mov ecx, dword [ebp + 0x2c]
mov dl, byte [ebx + 7]
mov al, byte [ebx + 6]
push ecx
mov cl, byte [ebx + 5]
push edx
push eax
push ecx
sub esp, 0x18
lea esi, [ebx + 0x80]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
lea esi, [ebx + 0x68]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004b0a10
add esp, 0x40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 4
jne 0x4b07f1
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
push ebx
call fcn.004b0ae0
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 3
jne 0x4b0829
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
push ebx
call fcn.004b0ff0
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 7
jne 0x4b0841
mov edx, dword [ebp + 0x2c]
push edx
push ebx
call fcn.004b1370
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x10
jne 0x4b0859
mov eax, dword [ebp + 0x2c]
push eax
push ebx
call fcn.004b1370
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0xf
jne 0x4b0871
mov ecx, dword [ebp + 0x2c]
push ecx
push ebx
call fcn.004b1370
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 8
jne 0x4b08e9
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b0887
cmp byte [eax], 0x2a
je 0x4b08e9
mov esi, 0x52c90c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4b08b0
test cl, cl
je 0x4b08ac
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4b08b0
add eax, 2
add esi, 2
test cl, cl
jne 0x4b088c
xor eax, eax
jmp 0x4b08b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b08e9
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
add ebx, 0x68
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.004b08f0
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret