Function at 0x10008d90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0x4024
mov ebp, esp
push edi
push esi
push ebx
call fcn.1000c208
sub esp, eax
mov eax, dword [0x1001c04c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
test eax, eax
je 0x10008dc0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov dword [ebp - 0x4010], edx
mov dword [esp], 0
call sym.mapi32.dll_MAPIInitialize
sub esp, 4
test eax, eax
je 0x10008e78
lea ebx, [ebp - 0x200c]
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], ebx
lea edi, [ebp - 0x400c]
mov dword [esp + 4], 1
mov eax, dword [section..bss]
mov dword [esp], eax
mov dword [ebp - 0x4010], edx
call edx
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x1000
mov dword [esp + 4], 2
mov eax, dword [section..bss]
mov dword [esp], eax
mov edx, dword [ebp - 0x4010]
call edx
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0xc], 0x30
call dword [sym.imp.user32.dll_MessageBoxW]
mov dword [ebp - 0x4010], 0x1a
mov eax, dword [ebp - 0x4010]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea edi, [ebp - 0x200c]
mov ecx, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
call fcn.10007790
mov dword [ebp - 0x4018], eax
mov dword [ebp - 0x2008], eax
mov eax, dword [ebx + 8]
call fcn.10007790
mov edx, dword [ebp - 0x4010]
mov dword [ebp - 0x401c], eax
mov dword [ebp - 0x2004], eax
mov eax, dword [ebx + 0x28]
test eax, eax
mov dword [ebp - 0x1fe4], eax
je 0x10008f73
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x10008f73
lea eax, [eax + eax*2]
mov dword [ebp - 0x4014], edx
xor esi, esi
xor edi, edi
shl eax, 3
mov dword [esp + 4], 8
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebx + 0x28]
sub esp, 0xc
mov edx, dword [ebp - 0x4014]
mov dword [ebp - 0x4010], eax
test ecx, ecx
je 0x10008f67
mov eax, ebx
mov dword [ebp - 0x4014], edx
mov ebx, edi
mov edi, eax
lea esi, [esi]
nop
mov eax, dword [edi + 0x2c]
add ebx, 1
mov eax, dword [eax + esi + 0xc]
call fcn.10007790
mov ecx, dword [ebp - 0x4010]
mov dword [ecx + esi + 0xc], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + esi + 0x10]
call fcn.10007790
mov ecx, dword [ebp - 0x4010]
mov dword [ecx + esi + 0x10], eax
add esi, 0x18
cmp ebx, dword [edi + 0x28]
jb 0x10008f28
mov edx, dword [ebp - 0x4014]
mov ebx, edi
mov eax, dword [ebp - 0x4010]
mov dword [ebp - 0x1fe0], eax
lea eax, [ebp - 0x200c]
call fcn.10007d00
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x4010], eax
test edx, edx
je 0x10009036
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10009036
mov eax, dword [ebp - 0x1fe0]
xor edx, edx
mov dword [ebp - 0x4014], ebx
mov edi, dword fs:[0x18]
lea esi, [eax + 0xc]
mov dword [ebp - 0x4020], eax
mov ebx, esi
mov esi, edx
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp + 4], 0
add esi, 1
add ebx, 0x18
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx - 0x14]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x4014]
sub esp, 0xc
cmp esi, dword [eax + 0x28]
jb 0x10008fc0
mov eax, dword [ebp - 0x4020]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x4018]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x401c]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x4010]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14