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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x428840]
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], ecx
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041a8f0
add esp, 4
movsx edx, byte [ebp + eax - 0x111]
cmp edx, 0x5c
je 0x419369
push 0x425220
lea eax, [ebp - 0x110]
push eax
call fcn.0041a290
add esp, 8
push 0x425224
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041a290
add esp, 8
lea edx, [ebp - 0x110]
push edx
push 0x104
mov eax, dword [ebp - 0x114]
add eax, 0x20c
push eax
push 0x42522d
push 0x425230
push 0x425238
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x114]
movsx edx, byte [ecx + 0x20c]
test edx, edx
je 0x419405
mov eax, dword [ebp - 0x114]
add eax, 0x20c
push eax
call fcn.0041a8f0
add esp, 4
mov ecx, dword [ebp - 0x114]
movsx edx, byte [ecx + eax + 0x20b]
cmp edx, 0x5c
je 0x4193fb
push 0x425240
mov eax, dword [ebp - 0x114]
add eax, 0x20c
push eax
call fcn.0041a290
add esp, 8
mov eax, 1
jmp 0x419a46
push 0x104
mov ecx, dword [ebp - 0x114]
add ecx, 0x20c
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
mov edx, dword [ebp - 0x114]
add edx, 0x20c
push edx
call fcn.0041a690
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419446
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ecx, ax
mov edx, dword [ebp - 0x114]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x118], 0x1401
jg 0x419695
cmp dword [ebp - 0x118], 0x1401
je 0x4198e5
cmp dword [ebp - 0x118], 0x416
jg 0x419579
cmp dword [ebp - 0x118], 0x416
je 0x4199ae
cmp dword [ebp - 0x118], 0x40c
jg 0x41954d
cmp dword [ebp - 0x118], 0x40c
je 0x41992d
cmp dword [ebp - 0x118], 0x407
jg 0x419518
cmp dword [ebp - 0x118], 0x407
je 0x419909
cmp dword [ebp - 0x118], 0x80
je 0x41992d
cmp dword [ebp - 0x118], 0x401
je 0x4198e5
cmp dword [ebp - 0x118], 0x404
je 0x4199cc
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x408
je 0x41993f
cmp dword [ebp - 0x118], 0x40a
je 0x4199bd
cmp dword [ebp - 0x118], 0x40b
je 0x41991b
jmp case.0x419572.2
mov edx, dword [ebp - 0x118]
sub edx, 0x40d
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 8
ja case.0x419572.2
mov eax, dword [ebp - 0x118]
jmp dword [eax*4 + 0x419a52]
cmp dword [ebp - 0x118], 0xc07
jg 0x41961f
cmp dword [ebp - 0x118], 0xc07
je 0x419909
cmp dword [ebp - 0x118], 0x80a
jg 0x4195ea
cmp dword [ebp - 0x118], 0x80a
je 0x4199bd
cmp dword [ebp - 0x118], 0x801
je 0x4198e5
cmp dword [ebp - 0x118], 0x804
je 0x4198f7
cmp dword [ebp - 0x118], 0x807
je 0x419909
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x810
je case.0x419572.3
cmp dword [ebp - 0x118], 0x816
je 0x4199ae
cmp dword [ebp - 0x118], 0xc01
je 0x4198e5
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x1007
jg 0x419670
cmp dword [ebp - 0x118], 0x1007
je 0x419909
cmp dword [ebp - 0x118], 0xc0a
je 0x4199bd
cmp dword [ebp - 0x118], 0xc0c
je 0x41992d
cmp dword [ebp - 0x118], 0x1001
je 0x4198e5
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x100a
je 0x4199bd
cmp dword [ebp - 0x118], 0x100c
je 0x41992d
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x2c0a
jg 0x4197d1
cmp dword [ebp - 0x118], 0x2c0a
je 0x4199bd
cmp dword [ebp - 0x118], 0x2001
jg 0x41975b
cmp dword [ebp - 0x118], 0x2001
je 0x4198e5
cmp dword [ebp - 0x118], 0x1801
jg 0x419726
cmp dword [ebp - 0x118], 0x1801
je 0x4198e5
cmp dword [ebp - 0x118], 0x1407
je 0x419909
cmp dword [ebp - 0x118], 0x140a
je 0x4199bd
cmp dword [ebp - 0x118], 0x140c
je 0x41992d
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x180a
je 0x4199bd
cmp dword [ebp - 0x118], 0x1c01
je 0x4198e5
cmp dword [ebp - 0x118], 0x1c0a
je 0x4199bd
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x2801
jg 0x4197ac
cmp dword [ebp - 0x118], 0x2801
je 0x4198e5
cmp dword [ebp - 0x118], 0x200a
je 0x4199bd
cmp dword [ebp - 0x118], 0x2401
je 0x4198e5
cmp dword [ebp - 0x118], 0x240a
je 0x4199bd
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x280a
je 0x4199bd
cmp dword [ebp - 0x118], 0x2c01
je 0x4198e5
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x3c0a
jg 0x419873
cmp dword [ebp - 0x118], 0x3c0a
je 0x4199bd
cmp dword [ebp - 0x118], 0x340a
jg 0x419842
cmp dword [ebp - 0x118], 0x340a
je 0x4199bd
cmp dword [ebp - 0x118], 0x3001
je 0x4198e5
cmp dword [ebp - 0x118], 0x300a
je 0x4199bd
cmp dword [ebp - 0x118], 0x3401
je 0x4198e5
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x3801
je 0x4198e5
cmp dword [ebp - 0x118], 0x380a
je 0x4199bd
cmp dword [ebp - 0x118], 0x3c01
je 0x4198e5
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x480a
jg 0x4198c0
cmp dword [ebp - 0x118], 0x480a
je 0x4199bd
cmp dword [ebp - 0x118], 0x4001
je 0x4198e5
cmp dword [ebp - 0x118], 0x400a
je 0x4199bd
cmp dword [ebp - 0x118], 0x440a
je 0x4199bd
jmp case.0x419572.2
cmp dword [ebp - 0x118], 0x4c0a
je 0x4199bd
cmp dword [ebp - 0x118], 0x500a
je 0x4199bd
jmp case.0x419572.2
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 0xe
jmp 0x4199e8
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 2
jmp 0x4199e8
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 0xb
jmp 0x4199e8
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 0xc
jmp 0x4199e8
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 6
jmp 0x4199e8
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 0xa
jmp 0x4199e8
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 0xd
jmp 0x4199e8
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 5
jmp 0x4199e8
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 0xf
jmp 0x4199e8
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 4
jmp 0x4199e8
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 1
jmp 0x4199e8
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 8
jmp 0x4199e8
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 9
jmp 0x4199e8
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 7
jmp 0x4199e8
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 3
jmp 0x4199e8
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 8], 0
push 0x425244
mov edx, dword [ebp - 0x114]
add edx, 0x20c
push edx
call fcn.0041a290
add esp, 8
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 8]
mov edx, dword [ecx*4 + 0x428178]
push edx
mov eax, dword [ebp - 0x114]
add eax, 0x20c
push eax
call fcn.0041a290
add esp, 8
push 0x42524c
mov ecx, dword [ebp - 0x114]
add ecx, 0x20c
push ecx
call fcn.0041a290
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
call fcn.0041d00e
mov esp, ebp
pop ebp
ret