Function at 0x410a30
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x44], 0
push 0x54b6a8
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x20]
push eax
push 0x54b6a8
call fcn.00403040
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040f970
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
push eax
push dword [ebp - 0x18]
call fcn.00420bb0
mov eax, dword [ebp - 0x64]
mov ecx, 0x5b3144
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x24], edi
jle 0x410bab
mov edi, edi
push dword [ebx + edi*4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
add esp, 4
mov edx, str.__language
inc edi
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x410b0a
test si, si
je 0x410b06
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x410b0a
add ecx, 4
add edx, 4
test si, si
jne 0x410ae4
xor ecx, ecx
jmp 0x410b0f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x410b83
mov edx, str._language
mov ecx, eax
lea ebx, [ebx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x410b46
test si, si
je 0x410b42
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x410b46
add ecx, 4
add edx, 4
test si, si
jne 0x410b20
xor ecx, ecx
jmp 0x410b4b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x410b83
mov ecx, 0x54b75c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410b7a
test dx, dx
je 0x410b76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410b7a
add eax, 4
add ecx, 4
test dx, dx
jne 0x410b54
xor eax, eax
jmp 0x410b7f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410b9f
cmp edi, dword [ebp - 0x24]
jge 0x410ba8
mov esi, dword [ebx + edi*4]
push esi
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x44]
push eax
push esi
call fcn.00403040
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x410ad0
mov esi, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 0
jne 0x410d01
push str.English
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push str.English
call fcn.00403040
push str.LanguageName
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00420de0
add esp, 4
lea ecx, [ebp - 0x20]
push eax
push str.LanguageName
call fcn.0040e2d0
push 0x54b784
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00420de0
add esp, 4
lea ecx, [ebp - 0x34]
push eax
push 0x54b784
call fcn.0040e2d0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x20]
call fcn.0042e230
mov ecx, eax
call fcn.0040e840
mov eax, dword [ebp - 0x54]
mov ebx, 0x5b3144
test eax, eax
cmovne ebx, eax
push ebx
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x44]
push eax
push ebx
call fcn.00403040
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
add eax, eax
push eax
push dword [ebp - 0x54]
call fcn.00420bb0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
call fcn.00420bb0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.00420bb0
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.00420bb0
push str.Language
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push str.Language
call fcn.00403040
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040f800
push dword [ebp - 0x44]
mov ecx, eax
push dword [ebp - 0x3c]
call fcn.00403040
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
push str.SettingsPath
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push str.SettingsPath
call fcn.00403040
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00411050
test eax, eax
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0xc]
sete bl
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
test bl, bl
je 0x410e6a
lea eax, [ebp - 0x288]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x288]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410dd1
mov eax, dword [0x54b7c0]
mov dword [ecx], eax
mov eax, dword [0x54b7c4]
mov dword [ecx + 4], eax
mov eax, dword [0x54b7c8]
mov dword [ecx + 8], eax
mov ax, word [0x54b7cc]
push str.SettingsPath
mov word [ecx + 0xc], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push str.SettingsPath
call fcn.00403040
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040f800
mov esi, eax
lea eax, [ebp - 0x288]
push eax
call fcn.00420e00
add esp, 4
mov ecx, esi
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00403040
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
add eax, eax
push eax
push dword [ebp - 0x64]
call fcn.00420bb0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
add eax, eax
mov dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.00420bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret