Function at 0x411140
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x442db2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov al, byte [0x469cb0]
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov byte [esp + 0x180], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x181]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [edx + 0x37c]
xor ebx, ebx
mov dword [esp + 0x18], edx
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x411198
mov eax, 0x445318
lea ecx, [esp + 0x180]
push 0x104
push ecx
push eax
call fcn.004244d6
lea edx, [esp + 0x18c]
add esp, 0xc
test edx, edx
je 0x411207
lea edi, [esp + 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411207
cmp byte [esp + ecx + 0x17f], 0x5c
je 0x411207
mov edi, 0x44f458
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x298]
mov eax, dword [eax + 4]
mov ebp, dword [eax]
cmp ebp, eax
mov dword [esp + 0x14], ebp
je 0x411774
jmp 0x411225
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x10], ebx
jne 0x411236
mov ecx, dword [ebp]
mov dword [esp + 0x14], ecx
jmp 0x411760
mov dl, byte [0x469cb0]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], dl
add ebp, 8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x41125f
mov eax, 0x445318
push 1
push 0x452164
push eax
call fcn.00429e45
add esp, 0xc
test eax, eax
jne 0x4115c7
lea eax, [esp + 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x7c]
test ecx, ecx
je 0x4112d4
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4112d4
cmp byte [esp + ecx + 0x7b], 0x5c
je 0x4112d4
mov edi, 0x44f458
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.temp.cab
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x17]
mov ecx, edx
and ecx, 3
mov byte [esp + 0x70], al
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x70]
call fcn.00403f10
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x74]
call fcn.00403ab0
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x6c]
mov dword [esp + 0x28c], ebx
push edx
push ebp
push eax
call fcn.00411a50
test eax, eax
push 1
lea ecx, [esp + 0x70]
sete bl
mov dword [esp + 0x290], 0xffffffff
call fcn.00403f10
test bl, bl
je 0x4113fb
mov eax, dword [ebp + 4]
test eax, eax
jne 0x411381
mov eax, 0x445318
lea ecx, [esp + 0x7c]
push ecx
push eax
push str.Validation_failed__The_cabinet_file__s_could_not_be_extracted_to__s_from__s.
push 8
push 0x45a150
call fcn.004018d0
mov dl, byte [esp + 0x27]
add esp, 0x14
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], dl
push 0
call fcn.00403f10
mov edi, str.Cabinet_file_could_not_be_extracted:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Cabinet_file_could_not_be_extracted:
lea ecx, [esp + 0x64]
call fcn.00403ab0
lea eax, [esp + 0x5c]
mov dword [esp + 0x28c], 1
push eax
push ebp
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28c], 0xffffffff
push 1
call fcn.00403f10
xor ebx, ebx
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.00402ad0
add esp, 8
test eax, eax
je 0x411645
mov edi, str..cab
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push str..cab
add ecx, 0x37c
call fcn.00403b50
cmp eax, dword [0x445314]
je 0x411645
mov ebp, dword [ebp + 4]
mov eax, 0x445318
cmp ebp, ebx
je 0x411453
mov eax, ebp
lea edx, [esp + 0x7c]
push eax
push edx
push str.Reading_CAB_file:__s___s_
push 1
push 0x45a150
call fcn.004018d0
mov eax, dword [esp + 0x2b0]
add esp, 0x14
lea ecx, [esp + 0x7c]
push eax
push 0x4117a0
push ebx
push ecx
call dword [0x459c38]
test eax, eax
jne 0x411756
lea edx, [esp + 0x7c]
push edx
push str.Validation_Failed.__Could_not_iterate_through_cabinet__s.
push 8
push 0x45a150
call fcn.004018d0
mov al, byte [esp + 0x23]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
push ebx
call fcn.00403f10
mov edi, str.Could_not_iterate_through_cabinet:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00403d20
test al, al
je 0x4114ff
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, str.Could_not_iterate_through_cabinet:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], 0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0x290], 4
call fcn.00403f10
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00403d20
test al, al
je 0x411560
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x294], 5
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 4
push 1
call fcn.00403f10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28c], 0xffffffff
cmp eax, ebx
je 0x411634
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41162b
cmp al, 0xff
je 0x41162b
dec al
mov byte [ecx], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x411756
lea edi, [esp + 0x180]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x4115fb
mov eax, 0x445318
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4113fd
push ecx
call fcn.0043ad4c
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x411756
lea eax, [esp + 0x7c]
push eax
push str.The_cabinet_file__s_was_not_found.
push 8
push 0x45a150
call fcn.004018d0
mov cl, byte [esp + 0x23]
add esp, 0x10
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
push ebx
call fcn.00403f10
mov edi, str.Cabinet_file_could_not_be_found:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x50]
push ebp
call fcn.00403d20
test al, al
je 0x4116b4
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov edx, ecx
mov esi, str.Cabinet_file_could_not_be_found:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call fcn.00403c80
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x290], 2
mov byte [esp + 0x40], al
call fcn.00403f10
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x40]
push ebp
call fcn.00403d20
test al, al
je 0x411713
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00403c80
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x294], 3
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 2
push 1
call fcn.00403f10
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x290], 0xffffffff
call fcn.00403f10
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x298]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edx + 4]
jne 0x411221
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret 0xc