Function at 0x40a360
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 0x504ecb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x52d324]
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 0x51e7c4
mov word [esi], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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 0x51e7c4
mov word [ecx], ax
call fcn.00402710
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.00409c60
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.004e319d
add esp, 8
test eax, eax
jne 0x40a599
mov byte [esi + 0x108], 1
xor eax, eax
mov dword [ebp - 0x34], 0
push eax
push 0x51e7c4
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00402710
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.00402710
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.00409710
lea edx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x5c]
call fcn.00409c60
mov esi, eax
cmp edi, esi
je 0x40a62f
mov ecx, edi
call fcn.00402480
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 0x40a669
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a65f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a758
push edx
push ecx
call fcn.004dc783
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 0x40a6b7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a75d
push edx
push ecx
call fcn.004dc783
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 0x40a701
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a762
push edx
push ecx
call fcn.004dc783
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40a737
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a72d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a767
push edx
push ecx
call fcn.004dc783
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.004dc214
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2bf9
call fcn.004e2bf9
call fcn.004e2bf9
call fcn.004e2bf9
int3