Function at 0x4a6560
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
movzx esi, word [edi + 0x40]
mov ebx, dword [edi + 0x2c]
mov eax, esi
mov edx, dword [edi + 0x28]
mov ebp, dword [edi + 0x24]
movzx ecx, bl
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x18], eax
lea eax, [ecx - 0x41]
mov dword [esp + 0x10], esi
cmp eax, 0x18
ja case.0x4a65a3.67
movzx eax, byte [eax + 0x4a67f0]
jmp dword [eax*4 + 0x4a67d8]
shr ebx, 0x10
mov byte [edx + ebx*4 - 0x20000], 0x4e
mov eax, dword [esp + 0x14]
add cl, 2
mov word [edx + 2], ax
mov byte [edx], cl
mov ax, word [ebp + 0x26]
mov word [edi + 0x46], ax
mov eax, dword [esp + 0x20]
mov word [ebp + 0x26], ax
jmp case.0x4a65a3.67
mov eax, dword [edi + 0x1c]
movzx ecx, byte [eax + 8]
mov eax, esi
shl eax, 8
or ecx, eax
shl ecx, 8
or ecx, 0x57
mov dword [edx], ecx
mov ax, word [ebp + 0x26]
mov word [edi + 0x46], ax
mov eax, dword [esp + 0x20]
mov word [ebp + 0x26], ax
jmp case.0x4a65a3.67
push dword [edi + 0x34]
mov ecx, dword [edi + 0x924]
mov eax, dword [edi + 0x138]
push dword [edi + 0x928]
push dword [eax + ecx*4]
push edi
call fcn.004d68c0
mov eax, dword [edi + 0x138]
add esp, 0x10
mov ecx, dword [edi + 0x924]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0x928]
mov ecx, dword [ecx + 0x1c]
lea eax, [eax + eax*2]
mov byte [ecx + eax*4 + 0xb], 0xff
mov dl, byte [edi + 0x4b]
cmp dl, byte [ecx + eax*4 + 9]
jbe 0x4a6650
mov byte [ecx + eax*4 + 9], dl
mov eax, dword [edi + 0x138]
movzx ecx, word [edi + 0x44]
mov ecx, dword [eax + ecx*4]
mov ax, word [ecx + 0x48]
inc word [ecx + 0x3c]
mov word [edi + 0x48], ax
mov eax, dword [esp + 0x20]
mov word [ecx + 0x48], ax
jmp case.0x4a65a3.67
mov ecx, dword [edi + 0x928]
mov eax, dword [edi + 0x138]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x42], si
push dword [edi + 0x34]
push edi
call fcn.004c5ec0
mov ebx, dword [esp + 0x20]
movups xmm0, xmmword [edi]
mov edx, dword [edi + 8]
sub edx, dword [edi + 0x14]
mov dword [edi + 0x130], 0
lea esi, [ebx + 0x50]
movups xmmword [ebx], xmm0
shl edx, 3
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [edi - 0x1a0]
mov dword [ebx], eax
mov al, byte [edi - 0x1a8]
and al, 3
mov dword [edi - 0x1a0], ebx
mov byte [ebx + 4], al
mov eax, esi
mov byte [ebx + 5], 9
add esi, edx
mov ecx, dword [edi + 0x14]
shl ecx, 3
sub eax, ecx
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x10], eax
movzx eax, word [edi + 6]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edi + 0x1c]
push esi
call fcn.0050d110
movzx eax, word [edi + 6]
lea eax, [eax + eax*2]
lea ecx, [esi + eax*4]
mov dword [ebx + 0x20], ecx
mov eax, dword [edi + 0x18]
shl eax, 2
push eax
push dword [edi + 0x20]
push ecx
call fcn.0050d110
xor eax, eax
mov word [edi + 0x40], ax
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x138]
movzx ecx, word [ebx + 0x40]
mov dword [eax + ecx*4], ebx
movzx eax, word [ebx + 0x40]
push eax
lea eax, [edi - 0x1b8]
push eax
call fcn.0049e700
mov ebx, dword [edi + 0x54]
add esp, 0x28
mov eax, dword [ebx + 8]
test byte [eax + 0x57], 2
je 0x4a67ce
push 0x96c8a339
push ebx
call fcn.004c0e40
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4a67ce
mov esi, dword [ebx + 0x14]
push 4
push str.stop
push ebx
lea ecx, [esi + 8]
mov dword [ebx + 0x14], ecx
call fcn.0049fef0
movd xmm0, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], 0xfffffffb
mov ecx, dword [ebx + 0x14]
cvtdq2pd xmm0, xmm0
push ebp
push ebx
lea eax, [ecx + 8]
mov dword [ebx + 0x14], eax
movsd qword [ecx], xmm0
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + 8]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx], eax
mov dword [ecx + 4], 0xfffffff7
call fcn.004c0da0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret