Function at 0x100090a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov eax, 0x4030
mov ebp, esp
push edi
push esi
push ebx
call fcn.1000c208
sub esp, eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x4014], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4010], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4018], eax
mov eax, dword [0x1001c050]
test eax, eax
je 0x100090e8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov dword [esp], 0
call sym.mapi32.dll_MAPIInitialize
sub esp, 4
test eax, eax
je 0x10009600
mov edi, dword [0x1001c04c]
test edi, edi
je 0x10009610
mov eax, esi
mov edx, 0x1b
and eax, 0x40000
mov dword [ebp - 0x4020], eax
je 0x10009130
lea esp, [ebp - 0xc]
mov eax, edx
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.10007850
mov dword [ebp - 0x2008], eax
mov eax, dword [ebx + 8]
call fcn.10007850
mov dword [ebp - 0x2004], eax
mov eax, dword [ebx + 0xc]
call fcn.10007850
mov dword [ebp - 0x2000], eax
mov eax, dword [ebx + 0x10]
call fcn.10007850
mov dword [ebp - 0x1ffc], eax
mov eax, dword [ebx + 0x14]
call fcn.10007850
xor edx, edx
mov dword [ebp - 0x1ff8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1ff4], eax
mov eax, dword [ebx + 0x1c]
call fcn.10007930
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x1ff0], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x1fec], edx
mov dword [ebp - 0x1fe4], eax
test edx, edx
je 0x1000923b
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x1000923b
lea eax, [edx + edx*2]
mov dword [esp + 4], 8
xor edi, edi
shl eax, 3
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
xor ecx, ecx
mov dword [ebp - 0x401c], eax
mov eax, dword [ebx + 0x20]
sub esp, 0xc
test eax, eax
je 0x1000922c
mov dword [ebp - 0x4024], esi
mov esi, ecx
lea esi, [esi]
mov eax, dword [ebp - 0x401c]
add esi, 1
lea edx, [eax + edi]
mov eax, dword [ebx + 0x24]
add eax, edi
add edi, 0x18
call fcn.10007930
cmp esi, dword [ebx + 0x20]
jb 0x10009208
mov esi, dword [ebp - 0x4024]
mov eax, dword [ebp - 0x401c]
mov dword [ebp - 0x1fe8], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10009307
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x10009307
lea eax, [eax + eax*2]
mov dword [esp + 4], 8
shl eax, 3
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [ebx + 0x28]
sub esp, 0xc
test eax, eax
je 0x10009301
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x4028], esi
lea edi, [ecx + 4]
xor edx, edx
mov dword [ebp - 0x4024], ecx
mov esi, edx
mov dword [ebp - 0x401c], ebx
nop
lea ecx, [esi + esi*2]
add edi, 0x18
add esi, 1
lea ebx, [ecx*8]
add eax, ebx
mov edx, dword [eax + 4]
mov dword [edi - 0x18], edx
mov edx, dword [eax + 8]
mov dword [edi - 0x14], edx
mov eax, dword [eax + 0xc]
call fcn.10007850
mov edx, dword [ebp - 0x401c]
mov dword [edi - 0x10], eax
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + ebx + 0x10]
call fcn.10007850
mov edx, dword [ebp - 0x401c]
mov dword [edi - 0xc], eax
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + ebx + 0x14]
mov dword [edi - 8], ecx
cmp esi, dword [edx + 0x28]
jb 0x100092a0
mov ecx, dword [ebp - 0x4024]
mov ebx, edx
mov esi, dword [ebp - 0x4028]
mov dword [ebp - 0x1fe0], ecx
mov eax, dword [ebp - 0x4018]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x200c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4010]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4014]
mov dword [esp], eax
call dword [0x1001c04c]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edx, eax
mov eax, dword [ebx + 0x1c]
sub esp, 0x14
test eax, eax
je 0x100093c3
mov eax, dword [ebp - 0x1ff0]
mov dword [ebp - 0x4010], edx
mov edi, dword fs:[0x18]
mov eax, dword [eax + 8]
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 esi
mov eax, dword [ebp - 0x1ff0]
sub esp, 0xc
mov eax, dword [eax + 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 esi
mov eax, dword [ebp - 0x1ff0]
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 esi
mov edx, dword [ebp - 0x4010]
sub esp, 0xc
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10009494
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x10009494
xor edi, edi
mov dword [ebp - 0x4014], ebx
mov eax, dword fs:[0x18]
mov ebx, edi
mov dword [ebp - 0x4018], edx
mov edi, eax
lea esi, [esi]
mov eax, dword [ebp - 0x1fe8]
lea ecx, [ebx + ebx*2]
add ebx, 1
shl ecx, 3
mov dword [ebp - 0x4010], ecx
mov eax, dword [eax + ecx + 8]
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 esi
mov eax, dword [ebp - 0x1fe8]
mov ecx, dword [ebp - 0x4010]
sub esp, 0xc
mov eax, dword [eax + ecx + 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 esi
mov eax, dword [ebp - 0x4014]
sub esp, 0xc
cmp ebx, dword [eax + 0x20]
jb 0x100093f8
mov edx, dword [ebp - 0x4018]
mov ebx, eax
mov ecx, dword [ebp - 0x1fe8]
mov dword [ebp - 0x4010], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x4010]
sub esp, 0xc
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10009562
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10009562
mov dword [ebp - 0x4014], ebx
mov ebx, dword [ebp - 0x4020]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x4018], edx
mov edi, eax
lea esi, [esi]
mov eax, dword [ebp - 0x1fe0]
lea ecx, [ebx + ebx*2]
add ebx, 1
shl ecx, 3
mov dword [ebp - 0x4010], ecx
mov eax, dword [eax + ecx + 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 esi
mov eax, dword [ebp - 0x1fe0]
mov ecx, dword [ebp - 0x4010]
sub esp, 0xc
mov eax, dword [eax + ecx + 0x10]
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 esi
mov eax, dword [ebp - 0x4014]
sub esp, 0xc
cmp ebx, dword [eax + 0x28]
jb 0x100094c8
mov edx, dword [ebp - 0x4018]
mov ecx, dword [ebp - 0x1fe0]
mov dword [ebp - 0x4010], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x4010]
sub esp, 0xc
mov eax, dword [ebp - 0x2008]
mov dword [ebp - 0x4010], edx
mov ebx, dword fs:[0x18]
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 esi
mov eax, dword [ebp - 0x2004]
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 esi
mov eax, dword [ebp - 0x1ffc]
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 esi
mov eax, dword [ebp - 0x1ff8]
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 esi
mov edx, dword [ebp - 0x4010]
sub esp, 0xc
jmp 0x10009121
mov edx, esi
mov eax, ebx
call fcn.10007d00
mov edx, eax
jmp 0x10009121
lea ebx, [ebp - 0x200c]
mov dword [esp + 0xc], 0x1000
mov edi, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 8], ebx
lea esi, [ebp - 0x400c]
mov dword [esp + 4], 1
mov eax, dword [section..bss]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], esi
mov dword [esp + 4], 2
mov eax, dword [section..bss]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x4010]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
mov edx, 0x1a
sub esp, 0x10
jmp 0x10009121