Function at 0x41e2d1
Capabilities:
Get common file path

Disassembly:
push 0x6ac
mov eax, 0x4313cb
call fcn.00422220
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x420], ax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push 0x24
push ebx
mov esi, ecx
mov dword [ebp - 0x6ac], ebx
mov dword [ebp - 0x6b0], ebx
mov dword [ebp - 0x6b8], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41e347
test eax, esp
sti
invalid
push 0x409bdc
lea eax, [ebp - 0x420]
push eax
push 0x408764
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00415825
add esp, 0x14
xor eax, eax
mov word [ebp - 0x12], ax
xor edi, edi
inc edi
cmp word [ebp - 0x218], bx
je 0x41e426
push ebx
push edi
lea eax, [ebp - 0x218]
push eax
call fcn.00434058
sti
in eax, 7
add ah, ch
add byte [eax], al
jo 0x41e2f3
ror byte [edi], 0x85
mov cl, 0
add byte [eax], al
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x6b0], eax
cmp eax, ebx
je 0x41e426
lea ecx, [ebp - 0x6a8]
mov dword [ebp - 0x6b4], ebx
call fcn.0041e0eb
mov dword [ebp - 4], ebx
push 0xff
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x6b4]
push dword [ebp - 0x6b0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jbe 0x41e409
sub esp, 0x1c
lea eax, [ebp - 0x620]
mov ecx, esp
mov dword [ebp - 0x6b8], esp
push eax
call fcn.0041d969
lea ecx, [ebp - 0x6a8]
call fcn.0041e123
lea ecx, [esi + 0x20]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x6a8]
push edx
push eax
call fcn.0041e1eb
inc dword [ebp - 0x6b4]
mov dword [ebp - 0x6b8], edi
jmp 0x41e3a4
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x6a8]
call fcn.004184a3
cmp dword [ebp - 0x6b8], ebx
jne 0x41e59a
lea ecx, [ebp - 0x664]
call fcn.0041e0eb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6ac], esp
push 0x408378
mov dword [ebp - 4], edi
call fcn.0041d969
lea ecx, [ebp - 0x664]
call fcn.0041e123
mov eax, dword [esi + 0x24]
add esi, 0x20
lea ecx, [ebp - 0x664]
push ecx
push eax
mov ecx, esi
call fcn.0041e1eb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6ac], esp
push 0x409bc8
call fcn.0041d969
lea ecx, [ebp - 0x664]
call fcn.0041e123
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x664]
push ecx
push eax
mov ecx, esi
call fcn.0041e1eb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6ac], esp
push 0x409bb0
call fcn.0041d969
lea ecx, [ebp - 0x664]
call fcn.0041e123
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x664]
push ecx
push eax
mov ecx, esi
call fcn.0041e1eb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6ac], esp
push 0x409b94
call fcn.0041d969
lea ecx, [ebp - 0x664]
call fcn.0041e123
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x664]
push ecx
push eax
mov ecx, esi
call fcn.0041e1eb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6ac], esp
push 0x409b74
call fcn.0041d969
lea ecx, [ebp - 0x664]
call fcn.0041e123
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x664]
push ecx
push eax
mov ecx, esi
call fcn.0041e1eb
cmp dword [0x444664], ebx
je 0x41e587
mov al, byte [0x444668]
cmp al, 3
jae 0x41e546
cmp al, bl
jne 0x41e587
mov ecx, dword [0x444654]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x41e587
mov ecx, dword [0x44465c]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x444658]
jne 0x41e587
cmp eax, ecx
jne 0x41e587
push 0x406a08
push dword [0x444634]
push dword [0x444630]
call fcn.0041269f
push ebx
push edi
lea ecx, [ebp - 0x664]
mov dword [ebp - 0x6ac], edi
call fcn.004184a3
cmp dword [ebp - 0x6b0], ebx
je 0x41e5ae
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x6ac]
call fcn.004228d1
ret