Function at 0x41ccb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
lea eax, [esi + 0xbc]
push eax
push ebp
mov dword [eax], ebp
call fcn.00518d20
add esp, 8
mov ecx, esi
call fcn.0041c980
mov ecx, esi
call fcn.0048a350
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x8c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, esi
call fcn.00423d80
mov dword [esp + 0x20], eax
mov eax, dword [0x554abc]
cmp eax, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x11
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], ebp
jne 0x41cdc7
lea edx, [esp + 0x34]
mov edi, 0x554071
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp eax, ebp
jne 0x41cd41
cmp edi, 0x554071
jne 0x41cdbe
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41cda2
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push edx
call fcn.0050fe10
lea ebx, [edi - 9]
xor eax, eax
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0x6f
push 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [edi - 1], 4
mov byte [edi], 8
mov dword [edi + 3], ebp
mov dword [edi + 7], ebp
lea ecx, [esp + 0x30]
mov dword [edi - 5], edx
call fcn.00510bb0
lea ecx, [esp + 0x2c]
mov dword [ebx], eax
call fcn.0050fe40
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
add edi, 0x14
jmp 0x41cd2f
mov eax, dword [esp + 0x14]
mov dword [0x554abc], eax
cmp dword [esi + 0xd4], 1
jne 0x41cdd9
push 1
mov ecx, esi
call fcn.0041da00
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x8c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ecx - 6]
and edi, 0xffff
shl edi, 0x10
or edi, 0x10
push edi
push ebp
push 0x41f
push edx
call ebx
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
cmp eax, 0x18
setle cl
dec ecx
and ecx, 8
add ecx, 0x10
mov eax, ecx
and eax, 0xffff
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, dword [esi + 0x8c]
push edx
push ebp
push 0x420
push eax
call ebx
mov ecx, dword [esi + 0x90]
push edi
push ebp
push 0x41f
push ecx
call ebx
cmp dword [esi + 0x2c], ebp
je 0x41ce5b
mov edx, dword [esi + 0x90]
push edx
call fcn.0041cb80
add esp, 4
mov edx, dword [esi + 0x90]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.005187e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x90]
add esp, 0xc
push ebp
push eax
push ecx
push ebp
push ebp
push ebp
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x90]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x2b0
call fcn.00531ba5
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x41cf34
mov ecx, ebx
call fcn.004cd980
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x20], 0x5409b0
or eax, 0xffffffff
mov byte [ebx + 0x25c], cl
mov dword [ebx + 0x260], ebp
mov dword [ebx + 0x264], ebp
mov dword [ebx + 0x268], ebp
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x4c], eax
lea edx, [ebx + 0x26c]
xor eax, eax
xor ecx, ecx
mov dword [edx], eax
xor edi, edi
mov dword [ebx], 0x540e54
mov dword [ebx + 0x20], 0x540e50
mov dword [edx + 4], ecx
mov ecx, 0x80
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0x38], ebp
mov dword [edx + 8], edi
lea edi, [ebx + 0x50]
mov dword [edx + 0xc], eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx + 0x280], 0xffffffff
jmp 0x41cf36
xor ebx, ebx
mov eax, dword [esi + 0x90]
push ebp
push eax
mov dword [esi + 0x3c], ebx
call edi
mov ecx, dword [esi + 0x8c]
push ebp
push ecx
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], 0x22b
mov dword [esp + 0x54], 0x20
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x5479d0]
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x3c]
cmp eax, ebp
mov dword [esp + 0x20], ecx
jne 0x41cf8d
mov dword [0x5479d0], ebp
lea edx, [edi + 0x1c]
push edx
push 0x5479a0
push 0x55e2f8
call fcn.0041ae50
mov ebx, eax
cmp bx, bp
je 0x41cff0
lea eax, [edi + 8]
push edi
push eax
push 0x55e2f8
call fcn.0040f8b0
mov ecx, dword [0x55e2fc]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, dword [esp + 0x54]
push edi
sub ecx, eax
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x54]
sub edx, ecx
and ebx, 0xffff
push edx
push eax
push ecx
push 0x5600094c
push ebp
push ebx
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, dword [esi + 0x64]
lea edi, [esi + 0x64]
push ebp
push ebp
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.0042c340
mov ecx, dword [esi + 0x3c]
push ebp
call fcn.0042c750
cmp dword [0x554ac0], ebp
jl 0x41d0c8
mov ecx, dword [esi + 0x3c]
mov dword [0x554ac4], ecx
mov ecx, dword [esi + 0x3c]
call fcn.0042af50
lea eax, [esi + 0x44]
mov ecx, dword [esi + 0x3c]
neg eax
sbb eax, eax
push 0xa
and eax, edi
mov edx, dword [eax]
push edx
call fcn.0042c6a0
mov ecx, dword [esi + 0x3c]
push ebp
push 7
push 0x6f
push ebp
call fcn.0042aa20
mov ecx, dword [esi + 0xbc]
push ebp
mov dword [eax + 0x2c], ecx
mov edx, dword [0x554068]
push 7
mov dword [eax + 0x28], edx
mov ecx, dword [esi + 0x3c]
push 0x70
push ebp
call fcn.0042aa20
mov ecx, dword [esi + 0xbc]
push 1
mov dword [eax + 0x2c], ecx
mov edx, dword [0x55407c]
mov dword [eax + 0x28], edx
mov ecx, dword [esi + 0x3c]
push 0x6f
call fcn.0042c7b0
mov ecx, dword [esi + 0x3c]
push 1
push 0x70
call fcn.0042c7b0
mov ecx, dword [esi + 0x3c]
push 1
push ebp
call fcn.0042c7f0
mov ecx, dword [esi + 0x3c]
push 1
push 1
call fcn.0042c7f0
mov ecx, esi
call fcn.0041d4d0
mov dword [0x554ac0], 1
jmp 0x41d0d6
mov eax, dword [0x554ac4]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.0042cc10
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SetParent]
mov edx, dword [ecx + 4]
push edx
push eax
call ebx
lea eax, [esi + 0x44]
neg eax
sbb eax, eax
and eax, edi
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi + 0x3c]
call fcn.0042c5f0
cmp dword [esi + 0xac], ebp
je 0x41d123
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [edi + 4]
push eax
push ecx
call ebx
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x3c]
push edx
call fcn.0042c5f0
mov ecx, esi
call fcn.0041d7e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret 0x10