Function at 0x41ba20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480706
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3dc
mov eax, dword [str.00000000]
mov ecx, dword [0x49f3d4]
mov dl, byte [0x49f3d8]
push ebx
push esi
push edi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0xf1]
mov byte [esp + 0xf0], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xe8]
push eax
call fcn.004022e0
add esp, 4
lea ecx, [esp + 0x10]
push 0x4aab8c
call fcn.00463025
push str.config_trsmin.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x3f4], 0
call fcn.00463393
lea ecx, [esp + 0x1e8]
push 0x1ff
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._trsenv
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045fc96
mov edi, 0x49cdf4
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1e8]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, 0x4aaa70
call fcn.0041e820
mov eax, dword [eax]
lea edx, [esp + 0x1e8]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00462fb7
lea eax, [esp + 0x1e8]
push eax
call fcn.0045fc96
mov edi, str._trsmin.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1ec]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1f0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044f2c0
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push str.trynum
push ecx
mov ecx, 0x4aaa70
call fcn.0041d4c0
mov edx, dword [esp + 0x18]
push 0x4aa680
push edx
mov byte [esp + 0x3f8], 1
call fcn.0044d292
add esp, 8
test eax, eax
jne 0x41bc0f
mov dword [0x49f004], 0xffffffff
jmp 0x41bc83
mov eax, dword [esp + 0x18]
push eax
call fcn.0044d48b
lea ecx, [esp + 0x1ec]
mov esi, eax
push ecx
push esi
push str.trynum
push str.option
call fcn.0040e660
lea edx, [esp + 0x3c]
inc eax
push 0xa
push edx
push eax
mov dword [0x49f004], eax
call fcn.004508e3
lea eax, [esp + 0x208]
lea ecx, [esp + 0x48]
push eax
push ecx
push str.trynum
push str.option
call fcn.0040e7d0
mov eax, dword [0x49f004]
add esp, 0x30
cmp eax, esi
jle 0x41bc7a
mov dword [0x49f004], 0
jmp 0x41bc83
sub esi, eax
inc esi
mov dword [0x49f004], esi
lea edx, [esp + 0xc]
push 0x454
push edx
call fcn.0040e100
add esp, 8
mov eax, dword [0x49f004]
mov bl, 2
test eax, eax
mov byte [esp + 0x3f0], bl
jle 0x41bd1b
push 0x49e158
lea ecx, [esp + 0x10]
call fcn.00463393
lea eax, [esp + 0x14]
push 0x459
push eax
call fcn.0040e100
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3f4], 3
call fcn.004633cf
lea ecx, [esp + 0x14]
mov byte [esp + 0x3f0], bl
call fcn.00462fb7
mov edx, dword [0x49f004]
lea ecx, [esp + 0x28]
push 0xa
push ecx
push edx
call fcn.004508e3
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0xc]
push eax
call fcn.00463393
push 0x49e150
lea ecx, [esp + 0x10]
call fcn.00463393
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4aa680
call fcn.00463025
lea ecx, [esp + 0x18]
push 0x453
push ecx
mov byte [esp + 0x3fc], 4
call fcn.0040e100
add esp, 4
lea ecx, [esp + 0xf0]
mov edx, esp
mov dword [esp + 0x24], esp
push ecx
push eax
push edx
mov byte [esp + 0x404], 5
call fcn.0046324c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x400], 6
call fcn.00462d2c
mov eax, dword [esp + 0x404]
lea ecx, [esp + 0x48]
push eax
push 0
mov byte [esp + 0x404], 7
call fcn.004012e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3f0], 9
call fcn.00462fb7
lea ecx, [esp + 0x3c]
call fcn.00463c91
cmp eax, 1
je 0x41beaf
mov eax, dword [0x4aacb0]
test eax, eax
je 0x41bdfe
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xdc]
push ecx
push edx
push str.regcode
push str.option
call fcn.0040e7d0
add esp, 0x10
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0
push 0
push 0
push 0
call fcn.0040e7d0
add esp, 0x10
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3f0], 0xe
call fcn.00462fb7
lea ecx, [esp + 0xe0]
mov byte [esp + 0x3f0], 0xd
call fcn.00462fb7
lea ecx, [esp + 0xdc]
mov byte [esp + 0x3f0], 0xc
call fcn.00462fb7
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3f0], 0xb
call fcn.00474e4c
lea ecx, [esp + 0x9c]
mov byte [esp + 0x3f0], 0xa
call fcn.00462fb7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3f0], bl
call fcn.0046388e
lea ecx, [esp + 0xc]
mov byte [esp + 0x3f0], 1
call fcn.00462fb7
lea ecx, [esp + 0x18]
mov byte [esp + 0x3f0], 0
call fcn.00462fb7
lea ecx, [esp + 0x10]
mov dword [esp + 0x3f0], 0xffffffff
call fcn.00462fb7
xor al, al
jmp 0x41bfa3
lea eax, [esp + 0xdc]
push eax
call fcn.0040d6f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xe0]
push ecx
push edx
push str.regcode
push str.option
call fcn.0040e7d0
add esp, 0x14
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0
push 0
push 0
push 0
call fcn.0040e7d0
add esp, 0x10
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3f0], 0x13
call fcn.00462fb7
lea ecx, [esp + 0xe0]
mov byte [esp + 0x3f0], 0x12
call fcn.00462fb7
lea ecx, [esp + 0xdc]
mov byte [esp + 0x3f0], 0x11
call fcn.00462fb7
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3f0], 0x10
call fcn.00474e4c
lea ecx, [esp + 0x9c]
mov byte [esp + 0x3f0], 0xf
call fcn.00462fb7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3f0], bl
call fcn.0046388e
lea ecx, [esp + 0xc]
mov byte [esp + 0x3f0], 1
call fcn.00462fb7
lea ecx, [esp + 0x18]
mov byte [esp + 0x3f0], 0
call fcn.00462fb7
lea ecx, [esp + 0x10]
mov dword [esp + 0x3f0], 0xffffffff
call fcn.00462fb7
mov al, 1
mov ecx, dword [esp + 0x3e8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3e8
ret