Function at 0x48fd10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x512000]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov edx, dword [eax + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov esi, dword [edx]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], edx
cmp esi, 0x20424b41
jne 0x48fd50
mov ecx, dword [eax + 4]
add ecx, 0x20
jmp 0x48fd5e
cmp esi, 0x2b424b41
jne 0x48fd61
mov ecx, dword [eax + 4]
add ecx, 0x40
mov dword [ebp - 0x3c], ecx
cmp esi, 0x20424b41
jne 0x48fd71
mov esi, dword [eax + 8]
sub esi, 0x20
jmp 0x48fd84
cmp esi, 0x2b424b41
jne 0x48fd81
mov esi, dword [eax + 8]
sub esi, 0x40
jmp 0x48fd84
mov esi, dword [ebp - 0x40]
mov ecx, dword [edx + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
movdqu xmmword [ebp - 0x28], xmm0
lea eax, [ecx + ebx]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10]
mov edx, dword [ebp + 0xc]
add edx, eax
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x18]
sub edx, eax
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
dec eax
test dword [edx + 8], 0x40000000
mov edx, dword [edi]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, edi
je 0x48fe39
call dword [edx + 0x10]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea esi, [eax*4]
mov eax, dword [edi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [eax + 0x14]
add eax, esi
sub esp, 0x10
neg eax
mov dword [ebp - 0x1c], eax
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
movdqu xmmword [eax], xmm0
mov eax, esp
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00490100
jmp 0x48fe96
call dword [edx + 0x10]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
lea esi, [eax*4]
mov eax, dword [edi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [eax + 0x14]
add eax, esi
sub esp, 0x10
neg eax
mov dword [ebp - 0x1c], eax
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
movdqu xmmword [eax], xmm0
mov eax, esp
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004902a0
mov eax, dword [ebp - 0x38]
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push eax
push dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.00490030
mov esi, dword [ebp - 0x44]
add esp, 0xc
mov eax, dword [esi + 0xc]
test dword [eax + 8], 0x40000000
je 0x48fee0
movzx eax, byte [eax + 8]
mov ecx, edi
mov edx, dword [edi]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [edx + 0xa4]
mov eax, dword [esi + 0xc]
add eax, 0x10
push eax
push dword [ebp - 0x40]
call dword [0x4c824c]
mov ecx, dword [esi + 0xc]
test dword [ecx + 8], 0x80000000
je 0x49001d
mov eax, dword [ebp + 0x18]
mov esi, dword [ecx + 0xc]
cmp eax, 2
jne 0x48ff14
mov eax, esi
and eax, 0xffffff
jmp 0x48ff25
cmp eax, 1
jne 0x48ff25
test esi, 0xff000000
je 0x49001d
movzx eax, word [ecx + 4]
mov dword [ebp - 0x2c], eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4c824c]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov edx, dword [ebp - 0x14]
sub eax, edx
test eax, eax
jle 0x490006
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
test eax, eax
jle 0x490006
test edx, edx
jle 0x48ff7e
mov eax, dword [edi]
mov ecx, edi
push 1
push esi
push edx
push dword [ebp - 0x2c]
push ebx
push dword [ebp + 0xc]
call dword [eax + 0x9c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jge 0x48ffa2
mov edx, dword [edi]
sub eax, ecx
push 1
push esi
push eax
push dword [ebp - 0x2c]
lea eax, [ecx + ebx]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call dword [edx + 0x9c]
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
jle 0x48ffc7
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov edx, dword [edi]
add eax, ebx
push 1
push esi
push ecx
push dword [ebp - 0x18]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call dword [edx + 0x9c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], eax
jge 0x49001d
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov edx, dword [edi]
add eax, ebx
push 1
push esi
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x10]
push ecx
push esi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
add eax, dword [ebp - 0x10]
push eax
call dword [edx + 0x9c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, edi
push 1
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push ebx
push dword [ebp + 0xc]
call dword [eax + 0x9c]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004abee8
mov esp, ebp
pop ebp
ret 0x14