Function at 0x408200
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 0x4c218b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x4f238c]
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 0x4e7e9c
mov word [esi], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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 0x4e7e9c
mov word [ecx], ax
call fcn.00405100
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.00407030
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.004a7062
add esp, 8
test eax, eax
jne 0x408439
mov byte [esi + 0x108], 1
xor eax, eax
mov dword [ebp - 0x34], 0
push eax
push 0x4e7e9c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00405100
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.00405100
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.00406a70
lea edx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x5c]
call fcn.00407030
mov esi, eax
cmp edi, esi
je 0x4084cf
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 0x408509
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085f8
push edx
push ecx
call fcn.0045757d
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 0x408557
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40854d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085fd
push edx
push ecx
call fcn.0045757d
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 0x4085a1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408602
push edx
push ecx
call fcn.0045757d
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x4085d7
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4085cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408607
push edx
push ecx
call fcn.0045757d
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.00457808
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
call fcn.004a2f99
int3