Function at 0x40a1a0
Capabilities:
Get process heap flags

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 0x509dfb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x53307c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
xor eax, eax
mov dword [ebp - 0x80], esi
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x522d78
mov word [esi], ax
call fcn.00405140
xor eax, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0x60]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 4
lea ecx, [esi + 0x78]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x90]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0xa8]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc0]
xor eax, eax
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
xor eax, eax
mov byte [ebp - 4], 8
lea ecx, [esi + 0xd8]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x522d78
mov word [ecx], ax
call fcn.00405140
lea edi, [esi + 0xf0]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [esi + 0x108], al
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], 7
mov word [esi + 0x10c], ax
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x74]
call fcn.0040cc40
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
push str.system
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.004ef4fb
add esp, 8
test eax, eax
jne 0x40a3d9
mov byte [esi + 0x108], 1
xor eax, eax
mov dword [ebp - 0x34], 0
push eax
push 0x522d78
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00405140
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push 0xc
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.explorer.exe
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405140
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c680
add esp, 8
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x5c]
call fcn.0040cc40
mov esi, eax
cmp edi, esi
je 0x40a474
mov ecx, edi
call fcn.00405280
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40a4ae
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a59d
push edx
push ecx
call fcn.0049e956
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40a4fc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a2
push edx
push ecx
call fcn.0049e956
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x40a546
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a53c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a7
push edx
push ecx
call fcn.0049e956
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40a57c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a572
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5ac
push edx
push ecx
call fcn.0049e956
add esp, 8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049e964
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
int3