Function at 0x401a00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x434084]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 8], 1
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.0041c510
add esp, 4
movsx edx, byte [ebp + eax - 0x119]
cmp edx, 0x5c
je 0x401a60
push 0x42b6e8
lea eax, [ebp - 0x118]
push eax
call fcn.0041c3e0
add esp, 8
push 0x42b6ec
lea ecx, [ebp - 0x118]
push ecx
call fcn.0041c3e0
add esp, 8
lea edx, [ebp - 0x118]
push edx
push 0x104
mov eax, dword [ebp - 0x11c]
add eax, 0x20c
push eax
push 0x42b6f5
push 0x42b6f8
push 0x42b700
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx + 0x20c]
test edx, edx
je 0x401b1e
mov eax, dword [ebp - 0x11c]
add eax, 0x20c
push eax
call fcn.0041c510
add esp, 4
mov ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx + eax + 0x20b]
cmp edx, 0x5c
je 0x401af2
push 0x42b708
mov eax, dword [ebp - 0x11c]
add eax, 0x20c
push eax
call fcn.0041c3e0
add esp, 8
mov ecx, dword [ebp - 0x11c]
add ecx, 0x20c
push ecx
mov edx, dword [ebp - 0x11c]
add edx, 0x310
push edx
call fcn.0041c3d0
add esp, 8
mov eax, 1
jmp 0x4022fc
push 0x104
mov eax, dword [ebp - 0x11c]
add eax, 0x20c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
mov ecx, dword [ebp - 0x11c]
add ecx, 0x20c
push ecx
call fcn.00413b20
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401b5e
mov edx, dword [ebp - 4]
mov byte [edx + 1], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x1407
jg 0x401df5
cmp dword [ebp - 0x120], 0x1407
je case.0x401d12.3
cmp dword [ebp - 0x120], 0x801
jg 0x401cb2
cmp dword [ebp - 0x120], 0x801
je 0x4020e9
cmp dword [ebp - 0x120], 0x40c
jg 0x401c86
cmp dword [ebp - 0x120], 0x40c
je 0x402131
cmp dword [ebp - 0x120], 0x408
jg 0x401c51
cmp dword [ebp - 0x120], 0x408
je 0x402143
cmp dword [ebp - 0x120], 0x404
jg 0x401c3c
cmp dword [ebp - 0x120], 0x404
je 0x4021e2
cmp dword [ebp - 0x120], 0x80
je 0x402131
cmp dword [ebp - 0x120], 0x401
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x407
je case.0x401d12.3
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x409
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x40a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x40b
je 0x40211f
jmp case.0x401d12.1
mov ecx, dword [ebp - 0x120]
sub ecx, 0x40d
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 9
ja case.0x401d12.1
mov edx, dword [ebp - 0x120]
jmp dword [edx*4 + 0x402308]
cmp dword [ebp - 0x120], 0xc09
jg 0x401d4e
cmp dword [ebp - 0x120], 0xc09
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x810
jg 0x401d19
cmp dword [ebp - 0x120], 0x810
je case.0x401cab.3
mov eax, dword [ebp - 0x120]
sub eax, 0x804
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 6
ja case.0x401d12.1
mov ecx, dword [ebp - 0x120]
jmp dword [ecx*4 + 0x402330]
cmp dword [ebp - 0x120], 0x816
je case.0x401cab.9
cmp dword [ebp - 0x120], 0xc01
je 0x4020e9
cmp dword [ebp - 0x120], 0xc07
je case.0x401d12.3
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x1009
jg 0x401dc0
cmp dword [ebp - 0x120], 0x1009
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x1001
jg 0x401dab
cmp dword [ebp - 0x120], 0x1001
je 0x4020e9
cmp dword [ebp - 0x120], 0xc0a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0xc0c
je 0x402131
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x1007
je case.0x401d12.3
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x100a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x100c
je 0x402131
cmp dword [ebp - 0x120], 0x1401
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x280a
jg 0x401f83
cmp dword [ebp - 0x120], 0x280a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x1c0a
jg 0x401edc
cmp dword [ebp - 0x120], 0x1c0a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x1809
jg 0x401ea7
cmp dword [ebp - 0x120], 0x1809
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x140c
jg 0x401e92
cmp dword [ebp - 0x120], 0x140c
je 0x402131
cmp dword [ebp - 0x120], 0x1409
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x140a
je case.0x401d12.6
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x1801
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x180a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x1c01
je 0x4020e9
cmp dword [ebp - 0x120], 0x1c09
je case.0x401d12.5
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x2409
jg 0x401f4e
cmp dword [ebp - 0x120], 0x2409
je case.0x401d12.5
cmp dword [ebp - 0x120], 0x200a
jg 0x401f39
cmp dword [ebp - 0x120], 0x200a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x2001
je 0x4020e9
cmp dword [ebp - 0x120], 0x2009
je case.0x401d12.5
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x2401
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x240a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x2801
je 0x4020e9
cmp dword [ebp - 0x120], 0x2809
je case.0x401d12.5
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x380a
jg 0x40204a
cmp dword [ebp - 0x120], 0x380a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x300a
jg 0x402015
cmp dword [ebp - 0x120], 0x300a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x2c0a
jg 0x402000
cmp dword [ebp - 0x120], 0x2c0a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x2c01
je 0x4020e9
cmp dword [ebp - 0x120], 0x2c09
je case.0x401d12.5
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x3001
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x3401
je 0x4020e9
cmp dword [ebp - 0x120], 0x340a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x3801
je 0x4020e9
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x440a
jg 0x4020b4
cmp dword [ebp - 0x120], 0x440a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x4001
jg 0x40209f
cmp dword [ebp - 0x120], 0x4001
je 0x4020e9
cmp dword [ebp - 0x120], 0x3c01
je 0x4020e9
cmp dword [ebp - 0x120], 0x3c0a
je case.0x401d12.6
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x400a
je case.0x401d12.6
jmp case.0x401d12.1
cmp dword [ebp - 0x120], 0x480a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x4c0a
je case.0x401d12.6
cmp dword [ebp - 0x120], 0x500a
je case.0x401d12.6
jmp case.0x401d12.1
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 0xe
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 2
jmp 0x402207
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 8], 0xb
jmp 0x402207
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 0xc
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 6
jmp 0x402207
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 8], 0xa
jmp 0x402207
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 0xd
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 5
jmp 0x402207
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 8], 0xf
jmp 0x402207
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 4
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 1
jmp 0x402207
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 8], 0x10
jmp 0x402207
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 8
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 9
jmp 0x402207
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 8], 7
jmp 0x402207
mov edx, dword [ebp - 0x11c]
mov dword [edx + 8], 3
jmp 0x402207
mov eax, dword [ebp - 0x11c]
mov dword [eax + 8], 0
jmp 0x402207
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
push 0x42b70c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x42b710
mov ecx, dword [ebp - 0x11c]
add ecx, 0x20c
push ecx
call fcn.0041c3e0
add esp, 8
mov edx, dword [ebp - 0x11c]
add edx, 0x20c
push edx
mov eax, dword [ebp - 0x11c]
add eax, 0x310
push eax
call fcn.0041c3d0
add esp, 8
cmp dword [ebp - 8], 0
je 0x40228f
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 8]
mov eax, dword [edx*4 + 0x434018]
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x20c
push ecx
call fcn.0041c3e0
add esp, 8
jmp 0x4022aa
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
add eax, 0x20c
push eax
call fcn.0041c3e0
add esp, 8
push 0x42b718
mov ecx, dword [ebp - 0x11c]
add ecx, 0x310
push ecx
call fcn.0041c3e0
add esp, 8
push 0x42b71c
mov edx, dword [ebp - 0x11c]
add edx, 0x20c
push edx
call fcn.0041c3e0
add esp, 8
push 0x42b720
mov eax, dword [ebp - 0x11c]
add eax, 0x310
push eax
call fcn.0041c3e0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
call fcn.00412020
mov esp, ebp
pop ebp
ret