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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dab16
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x511070]
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 0x48bc7f
xor al, al
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.004a578d
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x224]
call fcn.0041c970
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.004434c0
xor edi, edi
or ebx, 0xffffffff
push dword [edi + 0x4ec608]
lea ecx, [ebp - 0x228]
call fcn.0041c970
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x48beb4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x48bceb
push esi
lea ecx, [ebp - 0x228]
call fcn.0041cb60
mov eax, dword [ebp - 0x228]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004b1e32
mov eax, dword [ebp - 0x228]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x48beb4
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x228]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x48bd50
mov ecx, dword [ebp - 0x224]
cmp dword [ecx - 0xc], 0
jl 0x48bd50
push eax
push ecx
call fcn.004a7c3e
add esp, 8
test eax, eax
je 0x48bd4a
sub eax, dword [ebp - 0x224]
sar eax, 1
test eax, eax
jg 0x48be5b
mov eax, dword [ebp - 0x228]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bd6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, 0x7c
jb 0x48bca2
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x48be86
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48be86
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea edx, [ebp - 0x220]
mov ecx, esi
push 0
push 0
call fcn.0048b790
add esp, 8
test eax, eax
je 0x48be86
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48bdd6
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.0041ccd0
lea ecx, [ebp - 0x224]
call fcn.004434c0
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
jl 0x48be82
push 0x4f2d2c
push eax
call fcn.004a7c3e
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x224]
test ecx, ecx
je 0x48be31
sub ecx, eax
sar ecx, 1
test ecx, ecx
jg 0x48be82
cmp dword [eax - 0xc], 0
jl 0x48be82
push str.TENCENT
push eax
call fcn.004a7c3e
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x48be7c
mov eax, dword [ebp - 0x224]
sub ecx, eax
sar ecx, 1
je 0x48be8c
mov bl, 1
jmp 0x48be8e
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48be7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
mov bl, 1
jmp 0x48be8e
mov eax, dword [ebp - 0x224]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48bead
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x48bc63
push 0x80070057
call fcn.0041cdf0
int3