Function at 0x48a390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fdf1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48a3d8
xor al, al
jmp 0x48a6ff
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48a71b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push ebx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.0044f3f0
test al, al
jne 0x48a43c
test ebx, ebx
jne 0x48a414
xor ecx, ecx
jmp 0x48a42f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a420
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x220]
call fcn.0044f580
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x220]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x48a725
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a477
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f7d0
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004ea796
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a725
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov dword [ebp - 0x228], eax
nop dword [eax]
mov esi, dword [eax + 0x534eb8]
call fcn.00450310
test eax, eax
je 0x48a71b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.0044f3f0
test al, al
jne 0x48a500
test esi, esi
jne 0x48a4df
xor ecx, ecx
jmp 0x48a4f3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a4e4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0044f580
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x224]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x48a725
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48a538
push ebx
lea ecx, [ebp - 0x224]
call fcn.0044f7d0
mov esi, dword [ebp - 0x224]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004ea796
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x48a725
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a576
push esi
push edi
call fcn.004e0480
add esp, 8
test eax, eax
je 0x48a576
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a6bc
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a592
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x228]
add eax, 4
mov dword [ebp - 0x228], eax
cmp eax, 0x7c
jb 0x48a4a0
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x48a6dc
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48a6dc
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e0230
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00489e40
add esp, 0x1c
test eax, eax
je 0x48a6dc
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a606
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0044f580
mov edi, dword [ebp - 0x220]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x48a725
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a65c
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f7d0
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004ea796
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a725
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a69a
push 0x5383d4
push edi
call fcn.004e0480
add esp, 8
test eax, eax
je 0x48a69a
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a6b8
cmp dword [edi - 0xc], 0
jl 0x48a6b8
push str.TENCENT
push edi
call fcn.004e0480
add esp, 8
test eax, eax
je 0x48a6b8
sub eax, edi
sar eax, 1
je 0x48a6dc
mov bl, 1
jmp 0x48a6de
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a6b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x48a6de
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48a6fd
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80070057
call fcn.00450260
int3