Function at 0x4275c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ff15
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x4bd514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
xor esi, esi
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x218], ax
call fcn.004676e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x42764a
lea eax, [ebp - 0x35c]
push str.Error._config::init._GetModuleFileName_return_0.
push eax
call fcn.004882bb
add esp, 8
push 0x4a8620
lea ecx, [ebp - 0x35c]
push ecx
call fcn.004675bb
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x230], dx
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x427670
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00404150
push 1
push 0x49c0c4
lea ebx, [ebp - 0x234]
mov dword [ebp - 4], esi
call fcn.00420490
inc eax
push eax
push 0
lea ecx, [ebp - 0x250]
push ecx
mov ecx, ebx
call fcn.00403230
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4bf3a8
mov byte [ebp - 4], 1
call fcn.00403870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x238], 8
jb 0x4276e8
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0043ac18
add esp, 4
push 1
push 0x49c0c4
lea ebx, [ebp - 0x234]
call fcn.00420490
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x250]
push eax
mov ecx, ebx
call fcn.00403230
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4bf3c4
mov byte [ebp - 4], 2
call fcn.00403870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x238], 8
jb 0x42773b
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.0043ac18
add esp, 4
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x427779
lea eax, [ebp - 0x35c]
push str.Error._config::init._Can_not_find_CSIDL_COMMON_APPDATA.
push eax
call fcn.004882bb
add esp, 8
push 0x4a8620
lea ecx, [ebp - 0x35c]
push ecx
call fcn.004675bb
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.004030e0
mov ebx, 0x49c0c4
mov ecx, eax
lea esi, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0040e760
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, 0x4bf434
mov byte [ebp - 4], 4
call fcn.00403870
mov esi, 8
cmp dword [ebp - 0x254], esi
jb 0x4277d1
mov eax, dword [ebp - 0x268]
push eax
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], cx
cmp dword [ebp - 0x238], esi
jb 0x427804
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0043ac18
add esp, 4
push 0x4bf450
mov ecx, 0x4bf434
lea esi, [ebp - 0x2a4]
call fcn.00413910
add esp, 4
mov ebx, 0x49c0c4
mov ecx, eax
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0040e760
push 0x4bf46c
mov ecx, eax
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 6
call fcn.00413910
add esp, 4
mov ecx, eax
lea esi, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.0040e760
push 0xffffffffffffffff
xor esi, esi
push esi
mov ebx, 8
push eax
mov ecx, 0x4bf3fc
mov byte [ebp - 4], bl
call fcn.00403870
cmp dword [ebp - 0x254], ebx
jb 0x42788b
mov eax, dword [ebp - 0x268]
push eax
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], esi
mov word [ebp - 0x268], cx
cmp dword [ebp - 0x270], ebx
jb 0x4278bc
mov edx, dword [ebp - 0x284]
push edx
call fcn.0043ac18
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x274], esi
mov word [ebp - 0x284], ax
cmp dword [ebp - 0x238], ebx
jb 0x4278e8
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.0043ac18
add esp, 4
xor edx, edx
mov byte [ebp - 4], dl
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x24c], dx
cmp dword [ebp - 0x28c], ebx
jb 0x427917
mov eax, dword [ebp - 0x2a0]
push eax
call fcn.0043ac18
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4279be
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2a4]
call fcn.004030e0
mov ebx, 0x49c0c4
mov ecx, eax
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 9
call fcn.0040e760
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, 0x4bf418
mov byte [ebp - 4], 0xa
call fcn.00403870
mov esi, 8
cmp dword [ebp - 0x238], esi
jb 0x427989
mov eax, dword [ebp - 0x24c]
push eax
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
cmp dword [ebp - 0x28c], esi
jb 0x4279d0
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.0043ac18
add esp, 4
jmp 0x4279d0
push 0xffffffffffffffff
push esi
push 0x4bf434
mov ecx, 0x4bf418
call fcn.00403870
push 0x4bf450
mov ecx, 0x4bf418
lea esi, [ebp - 0x2a4]
call fcn.00413910
add esp, 4
mov ebx, 0x49c0c4
mov ecx, eax
lea esi, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call fcn.0040e760
push 0x4bf46c
mov ecx, eax
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 0xc
call fcn.00413910
add esp, 4
mov ecx, eax
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 0xd
call fcn.0040e760
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, 0x4bf3e0
mov byte [ebp - 4], 0xe
call fcn.00403870
mov esi, 8
cmp dword [ebp - 0x238], esi
jb 0x427a58
mov eax, dword [ebp - 0x24c]
push eax
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
cmp dword [ebp - 0x270], esi
jb 0x427a89
mov edx, dword [ebp - 0x284]
push edx
call fcn.0043ac18
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x274], ebx
mov word [ebp - 0x284], ax
cmp dword [ebp - 0x254], esi
jb 0x427ab5
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0043ac18
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], dx
cmp dword [ebp - 0x28c], esi
jb 0x427ae4
mov eax, dword [ebp - 0x2a0]
push eax
call fcn.0043ac18
add esp, 4
call fcn.00427b20
cmp dword [ebp - 0x21c], esi
jb 0x427b00
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0043ac18
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046544a
mov esp, ebp
pop ebp
ret