Function at 0x402f30
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 0x49c17e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
push esi
mov eax, dword [0x4b8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
lea eax, [ebx + 8]
mov dword [ebp - 4], 5
push eax
call fcn.0040d3d0
lea eax, [ebx + 0x20]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x18]
push eax
call fcn.0040d3d0
lea eax, [ebx + 0x38]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x30]
push eax
call fcn.0040d3d0
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x48]
push eax
call fcn.0040d3d0
lea eax, [ebx + 0x68]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x60]
push eax
call fcn.0040d3d0
lea eax, [ebx + 0x80]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x78]
push eax
call fcn.0040d3d0
xorps xmm0, xmm0
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xf
mov byte [esi + 0x90], 0
movups xmmword [esi + 0xa8], xmm0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0xf
mov byte [esi + 0xa8], 0
movups xmmword [esi + 0xc0], xmm0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0xf
mov byte [esi + 0xc0], 0
movups xmmword [esi + 0xd8], xmm0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0xf
mov byte [esi + 0xd8], 0
movups xmmword [esi + 0xf0], xmm0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0xf
mov byte [esi + 0xf0], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
movups xmmword [esi + 0x114], xmm0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0xf
mov byte [esi + 0x114], 0
movups xmmword [esi + 0x12c], xmm0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0xf
mov byte [esi + 0x12c], 0
movups xmmword [esi + 0x144], xmm0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0xf
mov byte [esi + 0x144], 0
movups xmmword [esi + 0x15c], xmm0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0xf
mov byte [esi + 0x15c], 0
movups xmmword [esi + 0x174], xmm0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0xf
mov byte [esi + 0x174], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 0
movups xmmword [esi + 0x19c], xmm0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0xf
mov byte [esi + 0x19c], 0
movups xmmword [esi + 0x1b4], xmm0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0xf
mov byte [esi + 0x1b4], 0
movups xmmword [esi + 0x1cc], xmm0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0xf
mov byte [esi + 0x1cc], 0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x1f0]
push 0
mov byte [esi + 0x1e8], 0
call fcn.0040dbb0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x40321a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40336c
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x403260
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40336c
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
cmp ecx, 0xf
jbe 0x4032a6
mov edx, dword [ebx + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40329c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40336c
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebx + 0x64]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0xf
mov byte [ebx + 0x38], 0
cmp ecx, 0xf
jbe 0x4032ec
mov edx, dword [ebx + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4032e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40336c
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0xf
mov byte [ebx + 0x50], 0
cmp ecx, 0xf
jbe 0x40332e
mov edx, dword [ebx + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403324
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40336c
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebx + 0x94]
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0xf
mov byte [ebx + 0x68], 0
cmp ecx, 0xf
jbe 0x40337c
mov edx, dword [ebx + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403372
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403372
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004431bb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x90