Function at 0x409cb0
Capabilities:
Accept command line arguments

Disassembly:
mov al, byte [esp + 0x10]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov byte [section..data], al
call fcn.00403c00
cmp byte [section..data], 0
mov esi, eax
je 0x409cdb
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 0x2ff], 1
cmp byte [section..data], 0
je 0x409cf6
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea ecx, [esp + 0x14]
push ecx
push 8
push 0x3a
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0
call edi
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
call fcn.00403c00
cmp byte [section..data], 0
mov esi, eax
je 0x409d42
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebp
cmp byte [section..data], 0
je 0x409d62
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea edx, [esp + 0x1c]
push edx
push 8
push 0x34
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0
call edi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
call fcn.00403c00
cmp byte [section..data], 0
mov esi, eax
je 0x409da2
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x2c8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 0x2c4], ebp
cmp byte [section..data], 0
je 0x409dc4
push 0x47e5e0
call ebx
xor eax, eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0x18
push 0x32
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 0
call edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.00403c00
mov ecx, eax
call fcn.00401e70
call fcn.00403c00
cmp byte [section..data], 0
mov esi, eax
je 0x409e47
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esp + 0x40]
mov byte [esi + 0x2ea], al
cmp byte [section..data], 0
je 0x409e61
push 0x47e5e0
call ebx
cmp byte [esp + 0x3c], 0
je 0x409e77
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00408010
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x409e88
push eax
call fcn.00408010
add esp, 4
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x409eb2
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409eab
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00413ab0
mov ecx, eax
call fcn.00413ae0
call fcn.00403c00
cmp byte [section..data], 0
mov esi, eax
je 0x409ed9
push 0x47e5e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 0x2fc], 1
cmp byte [section..data], 0
je 0x409ef0
push 0x47e5e0
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10