Function at 0x46e590
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [0x97efc0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
cmp dword [edi + 0x18], 0x2f
jne 0x46e5bf
push edi
push ebx
call fcn.0046b0e0
add esp, 8
jmp 0x46e6ca
movups xmm0, xmmword [edi + 0x58]
sub esp, 0x10
lea esi, [edi + 0x58]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040a460
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x46e5f3
mov ecx, dword [eax]
mov eax, dword [ebx + ecx*4 + 0x63ee0]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x46e6ce
movups xmm0, xmmword [esi]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x46e60f
test eax, eax
jne 0x46e6b8
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
cmp ecx, 2
je 0x46e6b8
xor eax, eax
test ecx, ecx
push 4
push 0
sete al
push esi
push ebx
mov dword [esp + 0x24], eax
call fcn.00476910
mov edx, dword [ebx + 0x63fec]
add esp, 0x10
mov ebp, dword [ebx + 0x640fc]
mov esi, dword [ebx + 0x63bc8]
shr ebp, 2
shr edx, 2
add ebp, edx
shr esi, 2
add ebp, esi
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x24], 6
mov edx, ebp
mov dword [esp + 0x1c], ebp
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x18
mov ecx, eax
imul ecx, ebp
mov ebp, dword [esp + 0x14]
add ecx, dword [ebx + 0x64208]
nop dword [eax + eax]
cmp dword [ecx + 4], ebp
jne 0x46e68c
mov esi, dword [ecx + 8]
test esi, esi
je 0x46e691
inc edx
add ecx, eax
jmp 0x46e680
cmp dword [esp + 0x18], 0
sete al
sub edx, dword [esp + 0x1c]
movzx eax, al
push eax
push dword [esp + 0x14]
push edx
push ebp
push dword [ecx + 0xc]
push esi
push 1
push ebx
call fcn.0046d8f0
add esp, 0x20
jmp 0x46e6ca
mov eax, dword [edi + 0x64]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x64230]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [esp + 0x10], eax
mov edx, 0x58
mov ecx, edi
lea ebp, [ecx + edx]
test eax, eax
je 0x46e868
mov eax, dword [edi + 0x18]
cmp eax, 0x8e
jne 0x46e716
movups xmm0, xmmword [ebp]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmovne eax, ecx
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 4]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x14], eax
jmp 0x46e72c
imul eax, eax, 0x64
movzx eax, byte [eax + 0x5237e4]
cmp dword [edi + eax*4 + 0x30], 0
setne al
mov byte [esp + 0x14], al
lea esi, [ebx + 0x10]
push 0x20
push esi
call fcn.0047ece0
add esp, 8
test eax, eax
je 0x46e868
push eax
push esi
call fcn.0047fd20
add esp, 8
test eax, eax
je 0x46e868
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
cmp eax, 0x8e
jne 0x46e78e
movups xmm0, xmmword [ebp]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmovne eax, ecx
mov eax, dword [eax + 0x20]
movzx eax, word [eax + 6]
and eax, 0xf
jmp 0x46e79c
imul eax, eax, 0x64
movzx eax, byte [eax + 0x5237e3]
mov eax, dword [edi + eax*4 + 0x30]
push eax
call fcn.0045db20
add esp, 4
mov ebp, eax
cmp byte [esp + 0x14], 0
je 0x46e7af
inc ebp
xor esi, esi
test ebp, ebp
je 0x46e7d9
lea eax, [edi + 0x68]
push 4
push esi
push eax
push ebx
call fcn.00476910
add esp, 0x10
mov dword [esp + esi*4 + 0x20], eax
test eax, eax
je 0x46e868
inc esi
lea eax, [edi + 0x68]
cmp esi, ebp
jb 0x46e7b8
imul eax, dword [edi + 0x18], 0x64
movzx eax, byte [eax + 0x523806]
mov ecx, dword [edi + eax*4 + 0x30]
push ecx
call fcn.00477140
movzx ecx, byte [ecx + 0x46e88c]
add esp, 4
mov esi, eax
jmp dword [ecx*4 + 0x46e880]
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eec95
add esp, 0x20
ret