Function at 0x478940
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9940
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
call fcn.00478b40
push 1
push 0x200
lea ecx, [ebp - 0x20]
call fcn.0044e760
mov esi, eax
lea edx, [edi + 0x1c]
lea ecx, [esi + 4]
cmp edx, ecx
je 0x4789bb
mov eax, dword [ecx]
mov dword [ecx], 0
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x4789bb
push 1
push ecx
call fcn.00489239
add esp, 8
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov dword [esi], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4789d8
push 1
push eax
call fcn.00489239
add esp, 8
mov edi, dword [edi + 0x1c]
mov ecx, 0x80
mov esi, dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp eax, 0x3241434e
je 0x478a04
cmp eax, 0x3341434e
jne 0x478a08
mov byte [edi + 0x20], 3
jmp 0x478a08
mov byte [edi + 0x20], 2
movzx eax, byte [esi + 4]
mov byte [edi + 0x21], al
movzx eax, byte [esi + 5]
mov byte [edi + 0x22], al
mov dl, byte [esi + 6]
cmp dl, byte [esi + 0x20]
movzx eax, dl
mov dword [ebp - 0x14], eax
movzx eax, byte [esi + 0x20]
mov ecx, dword [ebp - 0x14]
cmovb ecx, eax
xor edx, edx
mov byte [edi + 0x23], cl
movzx eax, byte [esi + 0x21]
mov byte [edi + 0x24], al
movzx eax, byte [esi + 7]
mov byte [edi + 0x25], al
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x34], ecx
mov ecx, 0x40
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x3c], eax
movups xmm0, xmmword [esi + 0x30]
add esi, 0x100
mov dword [ebp - 0x14], edx
movups xmmword [edi + 0x40], xmm0
add edi, 0x5c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
lea edi, [esi + 0x80]
add esi, 0x40
nop word [eax + eax]
cmp byte [esi + 8], 0
je 0x478b0b
mov eax, dword [esi]
movups xmm0, xmmword [edi]
mov ecx, dword [ebp - 0x18]
shl eax, 9
add ecx, 0x50
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
shl eax, 9
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [edi + 0x10]
mov eax, dword [ecx + 4]
mov byte [ebp - 0x58], dl
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x30], xmm0
cmp eax, dword [ecx + 8]
je 0x478afe
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x30], xmm0
add dword [ecx + 4], 0x38
jmp 0x478b0b
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.00478bf0
mov edx, dword [ebp - 0x14]
inc edx
add edi, 0x20
add esi, 0x10
mov dword [ebp - 0x14], edx
cmp edx, 4
jb 0x478a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8