Function at 0x481090
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x586864
mov eax, dword fs:[0]
push eax
sub esp, 0xca0
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0xcb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc4]
mov esi, ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00402390
push 4
lea eax, [esp + 0x24]
xor edi, edi
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xcc4], edi
call fcn.00401a60
mov eax, dword [eax]
push str..url
push eax
call fcn.005522fc
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48112c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
lea ecx, [esp + 0x18]
je 0x481177
push ecx
push esi
call fcn.004693b0
mov ecx, dword [esp + 0x20]
add esp, 8
cmp dword [ecx - 0xc], edi
je 0x48116b
mov eax, dword [ebp + 0x568c]
cmp eax, edi
je 0x4817bf
push edi
push edi
push 0xffffffffffffffff
push 1
push 1
push edi
push edi
push ecx
push eax
call fcn.004d7180
jmp 0x4817bf
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x4817bf
push 4
lea edx, [esp + 0x24]
push edx
call fcn.00401a60
mov eax, dword [eax]
push str..lnk
push eax
call fcn.005522fc
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4811b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4812a6
lea ecx, [esp + 0x1c]
push ecx
push 0x591ba8
push 1
push edi
push 0x591bb8
mov dword [esp + 0x30], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4817bf
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], edi
mov edx, dword [eax]
mov edx, dword [edx]
push 0x591bf8
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4817bf
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x4817bf
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0x79
push edi
push eax
call edx
test eax, eax
jl 0x481295
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x58]
push edx
push 0x104
lea edx, [esp + 0x2b0]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x481295
lea eax, [esp + 0x2a4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x481260
sub eax, edx
sar eax, 1
cmp eax, edi
jle 0x481295
mov eax, dword [ebp + 0x568c]
cmp eax, edi
je 0x481295
push edi
push edi
push 0xffffffffffffffff
push 1
push 1
push edi
push edi
lea ecx, [esp + 0x2c0]
push ecx
push eax
call fcn.004d7180
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4817bf
push 6
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040dce0
mov eax, dword [eax]
push str._send
push eax
call fcn.005522fc
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4812eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x481441
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffa
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
call fcn.00401a60
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc0], 1
call fcn.00402310
mov byte [esp + 0xcbc], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
push 0x400
lea ecx, [esp + 0x4b0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0x4ac]
push eax
lea ecx, [esp + 0x1c]
call fcn.004021d0
push 3
lea eax, [ebp + 0x5d68]
call fcn.004bf060
lea ecx, [esp + 0x2c]
call fcn.00538d38
lea ecx, [esp + 0x18]
mov byte [esp + 0xcbc], 2
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00539068
call fcn.00530e1f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4813ba
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
mov edi, ebp
mov byte [esp + 0xcc0], 3
call fcn.00489200
mov esi, dword [ebp + 0x7584]
push ebp
call fcn.0049d5e0
test esi, esi
je 0x481403
mov eax, dword [ebp + 0x7588]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x30]
push edx
push eax
call ecx
add esp, 0xc
mov byte [esp + 0xcbc], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48142b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcbc], 0
call fcn.00538dd6
jmp 0x4817bf
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.004020f0
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0xcbc], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, edi
jl 0x481489
push 0x5984c8
push ecx
call fcn.00552eeb
add esp, 8
cmp eax, edi
je 0x481489
sub eax, dword [esp + 0x18]
sar eax, 1
jns 0x48150b
push 0x5958a8
lea ecx, [esp + 0x20]
push 0x5f2878
push ecx
call fcn.00401ba0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xcc8], 5
call fcn.00401ae0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc0], 6
call fcn.00402310
lea ecx, [esp + 0x20]
call fcn.004a4690
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcbc], 4
call fcn.004a4690
mov ecx, dword [esp + 0x28]
call fcn.004600b0
test eax, eax
jne 0x4816d3
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402310
jmp 0x4816d3
lea edi, [esp + 0x18]
call fcn.00431fa0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x4816d3
push str.cdrom:
push eax
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x4816d3
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x4816d3
lea ecx, [esp + 0x20]
call fcn.004026e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcbc], 7
call fcn.00538d38
mov bl, 8
lea edi, [esp + 0x2c]
mov byte [esp + 0xcbc], bl
call fcn.00460570
cmp dword [esp + 0x34], 0
lea ecx, [esp + 0x1c]
jne 0x4815f9
call fcn.004026e0
push 0x5ac8ec
push str.cdrom:
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xcc8], 9
call fcn.0041cd10
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push 0x5ac8f8
push ecx
call fcn.00405480
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0
push 0
push edx
call fcn.00539414
lea ecx, [esp + 0x1c]
call fcn.004a4690
mov ecx, edi
mov byte [esp + 0xcbc], 7
call fcn.00538dd6
lea ecx, [esp + 0x20]
call fcn.004a4690
lea ecx, [esp + 0x28]
call fcn.004a4690
lea ecx, [esp + 0x18]
call fcn.004a4690
jmp 0x4817ea
call fcn.004026e0
xor esi, esi
mov byte [esp + 0xcbc], 0xa
cmp dword [esp + 0x34], esi
jle 0x481673
mov edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00402310
test esi, esi
jl 0x481827
cmp esi, dword [esp + 0x34]
jge 0x481827
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
push eax
push str.cdrom:
lea edx, [esp + 0x24]
push edx
call fcn.0041cd10
mov ecx, dword [esp + 0x1c]
call fcn.004600b0
test eax, eax
jne 0x481814
test esi, esi
jne 0x48166a
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402310
add esi, 1
cmp esi, dword [esp + 0x34]
jl 0x481610
mov byte [esp + 0xcbc], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48169a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcbc], 7
call fcn.00538dd6
mov byte [esp + 0xcbc], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4816d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
call fcn.00538d38
mov dword [esp + 0x40], vtable.CStringArrayEx.0
lea ecx, [esp + 0x24]
push ecx
push 0x591ba8
push 1
push 0
mov byte [esp + 0xccc], 0xb
push 0x591bb8
mov dword [esp + 0x38], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 0x24], 0
je 0x481750
push 0
push 0
lea edx, [esp + 0x2ac]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x481744
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2a8]
call fcn.00480cc0
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004ab020
test eax, eax
jge 0x481786
mov eax, dword [ebp + 0x568c]
test eax, eax
je 0x481786
mov edx, dword [esp + 0x28]
push 0
push 0
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push edx
push eax
call fcn.004d7180
lea ecx, [esp + 0x40]
mov byte [esp + 0xcbc], 4
call fcn.00538dd6
mov byte [esp + 0xcbc], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4817bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xcbc], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4817ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xcb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc98]
xor ecx, esp
call fcn.00552101
add esp, 0xcac
ret 4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402310
jmp 0x481673
call fcn.00530cad
int3