Function at 0x4014c0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x460], ecx
push 0
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004011d0
push 0
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
mov ecx, 0x42d960
call fcn.004027c0
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004028e0
push 0
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
mov ecx, 0x42d960
call fcn.004027c0
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x2c], eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004028e0
push 2
push 0
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [ebp - 0x460]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x30]
call fcn.00410cc0
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x464], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x6f
mov ecx, dword [ebp - 0x464]
push ecx
mov edx, dword [ebp - 0x464]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00401150
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x468], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x6d
mov edx, dword [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 1
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00401170
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x46c], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x6e
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 2
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00401170
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x9b
mov ecx, dword [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 0x3ff
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00401170
push 1
push 0x3ff
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00402830
push 0
push 0x3ff
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.004027f0
push 0x3ec
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.00409d40
push eax
lea ecx, [ebp - 4]
call fcn.004024f0
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x70
mov ecx, dword [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x474]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x78
push 2
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 0
lea ecx, [ebp - 4]
call fcn.00402410
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x71
mov edx, dword [ebp - 0x478]
push edx
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x78
push 2
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 1
lea ecx, [ebp - 4]
call fcn.00402410
mov ecx, dword [ebp - 0x460]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x30]
call fcn.00409e40
push eax
push 0x72
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
push 2
lea ecx, [ebp - 4]
call fcn.00402410
push 0xfffffffffffffffe
push 2
lea ecx, [ebp - 4]
call fcn.00402360
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
lea ecx, [ebp - 0x28]
push ecx
push 0
lea ecx, [ebp - 4]
call fcn.00402330
push 0
push 8
push 0
lea ecx, [ebp - 4]
call fcn.00402910
push 0
push 0x20
lea ecx, [ebp - 4]
call fcn.004023e0
mov edx, dword [ebp - 0x460]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x460]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x460]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x460]
mov eax, dword [edx + 0x10]
call eax
push 0x3ff
lea ecx, [ebp - 0x454]
push ecx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.004027d0
test eax, eax
je 0x401961
xor edx, edx
mov word [ebp - 0x240], dx
push 0x206
push 0
lea eax, [ebp - 0x23e]
push eax
call fcn.00417120
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x240]
push ecx
push 0x425460
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov word [ebp - 0x448], dx
push 0x206
push 0
lea eax, [ebp - 0x446]
push eax
call fcn.00417120
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
push 0x104
lea edx, [ebp - 0x448]
push edx
call fcn.004170a0
add esp, 0xc
push 0x425488
lea eax, [ebp - 0x448]
push eax
call fcn.004027a0
add esp, 8
lea ecx, [ebp - 0x448]
push ecx
push 1
push 0x4254ac
push 0x4254c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x3ff
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00402830
push 3
push 3
push 0
lea ecx, [ebp - 4]
call fcn.004022e0
push 0
lea edx, [ebp - 0x458]
push edx
lea ecx, [ebp - 4]
call fcn.00402390
mov ecx, eax
call fcn.004027f0
lea ecx, [ebp - 4]
call fcn.00402810
mov dword [ebp - 0x45c], 0
lea ecx, [ebp - 0x30]
call fcn.00401130
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 0xc