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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d95a6
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 0x48a78f
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.004a474b
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x224]
call fcn.0041c9e0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.00442290
xor edi, edi
or ebx, 0xffffffff
push dword [edi + 0x4eb608]
lea ecx, [ebp - 0x228]
call fcn.0041c9e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x48a9c4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x48a7fb
push esi
lea ecx, [ebp - 0x228]
call fcn.0041cbd0
mov eax, dword [ebp - 0x228]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004b0e82
mov eax, dword [ebp - 0x228]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x48a9c4
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 0x48a860
mov ecx, dword [ebp - 0x224]
cmp dword [ecx - 0xc], 0
jl 0x48a860
push eax
push ecx
call fcn.004a6c3e
add esp, 8
test eax, eax
je 0x48a85a
sub eax, dword [ebp - 0x224]
sar eax, 1
test eax, eax
jg 0x48a96b
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 0x48a87b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, 0x7c
jb 0x48a7b2
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x48a996
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48a996
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea edx, [ebp - 0x220]
mov ecx, esi
push 0
push 0
call fcn.0048a1c0
add esp, 8
test eax, eax
je 0x48a996
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a8e6
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.0041cd40
lea ecx, [ebp - 0x224]
call fcn.00442290
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
jl 0x48a992
push 0x4f21fc
push eax
call fcn.004a6c3e
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x224]
test ecx, ecx
je 0x48a941
sub ecx, eax
sar ecx, 1
test ecx, ecx
jg 0x48a992
cmp dword [eax - 0xc], 0
jl 0x48a992
push str.TENCENT
push eax
call fcn.004a6c3e
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x48a98c
mov eax, dword [ebp - 0x224]
sub ecx, eax
sar ecx, 1
je 0x48a99c
mov bl, 1
jmp 0x48a99e
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 0x48a98c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
mov bl, 1
jmp 0x48a99e
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 0x48a9bd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x48a773
push 0x80070057
call fcn.0041ce60
int3