Function at 0x451de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc24], eax
mov dword [ebp - 0xc18], ecx
test ebx, ebx
je 0x452252
test eax, eax
je 0x452252
test ecx, ecx
je 0x452252
push esi
push edi
xor eax, eax
xor esi, esi
push 0x1fe
push eax
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x40a]
push eax
call fcn.0043a7a0
add esp, 0xc
lea eax, [ebp - 0x40c]
cmp dword [ebp + 0x1c], esi
je 0x451ec6
mov edi, dword [ebp + 0xc]
mov edx, 0x100
mov ecx, eax
test edi, edi
je 0x451e94
sub edi, eax
mov edi, edi
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x451e86
movzx eax, word [edi + ecx]
test ax, ax
je 0x451e86
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x451e60
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x451ee4
test edx, edx
jne 0x451e8d
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x451ee4
mov edi, str.Play
sub edi, eax
jmp 0x451ea0
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x451e86
movzx eax, word [edi + ecx]
test ax, ax
je 0x451e86
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x451ea0
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x451ee4
push 0x100
push eax
push 0x471118
push ebx
call fcn.004532e0
mov esi, eax
add esp, 0x10
test esi, esi
js 0x45223f
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push eax
call fcn.0043a7a0
add esp, 0xc
lea eax, [ebp - 0x60c]
cmp dword [ebp + 0x1c], 0
je 0x451f54
mov edi, 0x471124
mov edx, 0x100
mov ecx, eax
sub edi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x451f46
movzx eax, word [edi + ecx]
test ax, ax
je 0x451f46
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x451f20
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x451f6a
test edx, edx
jne 0x451f4d
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x451f6a
push 0x100
push eax
push 0x471128
push ebx
call fcn.004532e0
add esp, 0x10
mov esi, eax
test esi, esi
js 0x45223f
lea eax, [ebp - 0x60c]
push eax
call fcn.0043a974
mov ecx, dword [ebx]
add esp, 4
mov dword [ebp - 0xc20], eax
lea eax, [ebp - 0xc1c]
mov dword [ebp - 0xc1c], 0
push eax
push str.FileTask
push ebx
call dword [ecx + 0x94]
mov edi, dword [ebp - 0xc1c]
test edi, edi
je 0x4521ad
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80a]
push eax
call fcn.0043a7a0
push 0x100
lea eax, [ebp - 0x80c]
push eax
push 0x471148
push edi
call fcn.004532e0
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x45223f
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call fcn.0043a7a0
push 0x100
lea eax, [ebp - 0xa0c]
push eax
push str.arguments
push dword [ebp - 0xc1c]
call fcn.004532e0
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x45223f
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0043a7a0
push 0x100
lea eax, [ebp - 0x204]
push eax
push str.baseKnownFolderID
push dword [ebp - 0xc1c]
call fcn.004532e0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x45213e
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00453080
mov esi, eax
add esp, 8
test esi, esi
jne 0x45223f
lea eax, [ebp - 0xc14]
push eax
push esi
push esi
push dword [ebp - 0xc18]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x45223f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043a7a0
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc14]
push eax
push 0x47118c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00402670
push 1
push dword [ebp + 0x20]
lea eax, [ebp - 0xa0c]
push dword [ebp - 0xc20]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0xc24]
push dword [ebp + 0x18]
call fcn.00453ca0
add esp, 0x40
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x45223f
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0xc18]
lea eax, [ebp - 0xc14]
push 0x472ffc
push 0x104
push eax
call fcn.00402670
push esi
push dword [ebp + 0x20]
lea eax, [ebp - 0xa0c]
push dword [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0xc24]
push dword [ebp + 0x18]
call fcn.00453ca0
add esp, 0x34
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
lea ecx, [ebp - 0xc18]
push ecx
push str.URLTask
push ebx
mov dword [ebp - 0xc18], 0
call dword [eax + 0x94]
mov edi, dword [ebp - 0xc18]
test edi, edi
je 0x45223f
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0043a7a0
push 0x100
lea eax, [ebp - 0x204]
push eax
push str.Link
push edi
call fcn.004532e0
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x45223f
push 0
push dword [ebp + 0x20]
lea eax, [ebp - 0x204]
push dword [ebp - 0xc20]
push 0
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0xc24]
push dword [ebp + 0x18]
call fcn.00453ca0
add esp, 0x20
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80070057
xor ecx, ebp
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret