Function at 0x41f090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439225
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x4447bc]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68c], ecx
mov dword [ebp - 0x18], 0xa
movzx eax, word [ebp + 0xc]
cmp eax, 0x800b
jne 0x41f0dc
mov dword [ebp - 0x18], 1
jmp 0x41f0ef
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x8009
jne 0x41f0ef
mov dword [ebp - 0x18], 0x3e8
mov dword [ebp - 0x14], 0
push 1
push 0x23
lea edx, [ebp - 0x454]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x43c844
push 0x104
lea eax, [ebp - 0x454]
push eax
call fcn.00428a28
add esp, 0xc
push 0x43c858
push 0x104
lea ecx, [ebp - 0x454]
push ecx
call fcn.00428a28
add esp, 0xc
push str.rt_ccsUTF_8
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00429803
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00408130
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x41f231
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00429616
add esp, 4
test eax, eax
jne 0x41f225
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041eff0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41f225
mov dword [ebp - 0x458], 0x64
lea edx, [ebp - 0x458]
push edx
push 0x43c898
lea eax, [ebp - 0x454]
push eax
call fcn.00429ba4
add esp, 0xc
cmp eax, 1
je 0x41f1ca
jmp 0x41f16c
push 0x20
lea ecx, [ebp - 0x454]
push ecx
call fcn.00407630
add esp, 8
add eax, 2
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x670]
call fcn.00427a30
mov byte [ebp - 4], 1
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x38]
call fcn.00420760
mov ecx, dword [ebp - 0x458]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x670]
call fcn.004126f0
jmp 0x41f16c
mov edx, dword [ebp - 0x14]
push edx
call fcn.004296c1
add esp, 4
mov dword [ebp - 0x3c], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00412570
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
push 0x43c8a0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00427ad0
add esp, 0xc
push 2
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x68c]
add ecx, 4
call fcn.00420190
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x41f2f1
push 0x104
lea eax, [ebp - 0x664]
push eax
push 3
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x68c]
add ecx, 4
call fcn.00415a80
lea edx, [ebp - 0x664]
push edx
lea ecx, [ebp - 0x674]
call fcn.00427a30
mov byte [ebp - 4], 3
lea eax, [ebp - 0x674]
push eax
lea ecx, [ebp - 0x38]
call fcn.00420760
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x674]
call fcn.004126f0
lea ecx, [ebp - 0x10]
call fcn.0041bb30
push eax
push 1
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x68c]
add ecx, 4
call fcn.004200d0
jmp 0x41f259
push 1
push 0x23
lea eax, [ebp - 0x454]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.eboostr
push 0x104
lea ecx, [ebp - 0x454]
push ecx
call fcn.00428a28
add esp, 0xc
push str._application.ini
push 0x104
lea edx, [ebp - 0x454]
push edx
call fcn.00428a28
add esp, 0xc
mov dword [ebp - 0x14], 0
push str.wt_ccsUTF_8
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00429803
add esp, 0xc
test eax, eax
jne 0x41f3ef
cmp dword [ebp - 0x14], 0
je 0x41f3ef
lea edx, [ebp - 0x66c]
push edx
lea ecx, [ebp - 0x38]
call fcn.0040d050
jmp 0x41f38c
push 0
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x66c]
call fcn.00420980
lea ecx, [ebp - 0x684]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004203d0
push eax
lea ecx, [ebp - 0x66c]
call fcn.00424960
movzx edx, al
test edx, edx
je 0x41f3e3
lea ecx, [ebp - 0x66c]
call fcn.00420960
mov ecx, eax
call fcn.0041bb30
push eax
lea ecx, [ebp - 0x66c]
call fcn.00420960
mov eax, dword [eax + 4]
push eax
push str._d__s_n
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042a7f8
add esp, 0x10
jmp 0x41f378
mov edx, dword [ebp - 0x14]
push edx
call fcn.004296c1
add esp, 4
mov dword [ebp - 0x688], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004126f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041fb70
mov eax, dword [ebp - 0x688]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00428b32
mov esp, ebp
pop ebp
ret 0x10