Function at 0x1000152e
Capabilities:
Check for debugger via api
Get disk information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov esi, esp
xor eax, eax
mov ecx, 4
mov dword [esi + 0x94], eax
mov eax, ecx
call fcn.10105360
mov eax, esp
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x283
mov dword [ecx], 0xa779c8
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov dword [esi + 0x90], eax
call ecx
mov ecx, 0x18
mov dword [esi + 0x8c], eax
mov eax, ecx
call fcn.10105360
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0x140
mov dword [esi + 0x88], eax
mov eax, ecx
call fcn.10105360
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, eax
mov edx, dword [esi + 0x94]
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x7c], edx
jmp 0x10001742
mov eax, dword [esi + 0x78]
add eax, 1
cmp eax, 0x22
mov dword [esi + 0x7c], eax
je 0x1000187e
jmp 0x10001742
mov eax, dword [esi + 0x74]
add eax, 1
cmp eax, 0x1b0
sete cl
mov dword [esi + 0x70], eax
mov byte [esi + 0x6f], cl
mov al, byte [esi + 0x6f]
test al, 1
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x68], ecx
jne 0x10001833
jmp 0x1000170b
mov eax, dword [esi + 0x90]
mov dword [eax], 0x67b
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 0xa29d7a
mov ecx, dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call ecx
mov dword [esi + 0x64], eax
sub esp, 0x14
mov eax, esp
mov dword [eax + 0x10], 0xcfe
mov dword [eax + 0xc], 0xcc2
mov dword [eax + 8], 0x7d3
mov dword [eax + 4], 0x7d3
mov dword [eax], 0x454c99
mov eax, dword [sym.imp.KERNEL32.dll_UnlockFile]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x5cccae
mov ecx, dword [sym.imp.USER32.dll_GetMenuContextHelpId]
mov dword [esi + 0x60], eax
call ecx
mov dword [esi + 0x5c], eax
sub esp, 4
mov eax, esp
mov dword [eax], 0x34c
mov eax, dword [sym.imp.USER32.dll_PostQuitMessage]
call eax
sub esp, 4
mov eax, esp
mov dword [eax], 0xa13a01
mov eax, dword [sym.imp.GDI32.dll_GetBkColor]
call eax
mov dword [esi + 0x58], eax
jmp 0x100015c1
mov eax, dword [esi + 0x54]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esi + 0x50], eax
call ecx
mov ecx, dword [esi + 0x50]
add ecx, 1
sub esp, 0xc
mov edx, esp
mov dword [edx + 8], 0x40e
mov dword [edx + 4], 0xbfc
mov dword [edx], 0x92ed52
mov edx, dword [sym.imp.GDI32.dll_OffsetRgn]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x332
mov ecx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x44], eax
call ecx
mov ecx, dword [esi + 0x48]
cmp ecx, 0xa
mov dword [esi + 0x40], eax
mov dword [esi + 0x54], ecx
je 0x100015c1
jmp 0x100016a0
mov eax, dword [esi + 0x68]
mov ecx, 0x88888889
mov dword [esi + 0x74], eax
mul ecx
shr edx, 3
imul eax, edx, 0xf
mov ecx, dword [esi + 0x74]
sub ecx, eax
mov dword [esi + 0x3c], ecx
je 0x100017c1
jmp 0x1000172e
mov eax, dword [esi + 0x3c]
sub eax, 0xa
mov dword [esi + 0x38], eax
je 0x100017df
jmp 0x100015dc
mov eax, dword [esi + 0x7c]
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe93be7
mov ecx, dword [sym.imp.KERNEL32.dll_LocalUnlock]
mov dword [esi + 0x78], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xcae0ba
mov ecx, dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esi + 0x34], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x9aafde
mov ecx, dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x30], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esi + 0x98]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x67f
mov dword [ecx + 4], 0x67f
mov dword [ecx], 0xf545d
mov ecx, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov dword [esi + 0x2c], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x68], ecx
jmp 0x1000170b
sub esp, 8
mov eax, esp
mov ecx, dword [esi + 0x88]
mov dword [eax + 4], ecx
mov dword [eax], 0xee3460
mov eax, dword [sym.imp.GDI32.dll_GetWorldTransform]
call eax
mov dword [esi + 0x24], eax
xor eax, eax
mov ecx, 0x140
sub esp, 0xc
mov edx, dword [esi + 0x80]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x140
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
call fcn.10105390
add esp, 0xc
sub esp, 8
mov eax, esp
mov ecx, dword [esi + 0x84]
mov dword [eax + 4], ecx
mov dword [eax], 0x8a5aab
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
mov dword [esi + 0x18], eax
jmp 0x100015dc
xor eax, eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x4d311d
mov ecx, dword [sym.imp.GDI32.dll_PathToRegion]
mov dword [esi + 0x14], eax
call ecx
xor ecx, ecx
mov edx, dword [esi + 0x78]
sub edx, 8
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
je 0x10001674
jmp 0x10001864
mov eax, dword [esi + 0x78]
sub eax, 0x56
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 0x54], ecx
je 0x10001608
jmp 0x100016a0
lea esp, [ebp - 4]
pop esi
pop ebp
ret