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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7d1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x54b144]
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 0x48a1e8
xor al, al
jmp 0x48a50f
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x48a52b
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.0044f2b0
test al, al
jne 0x48a24c
test ebx, ebx
jne 0x48a224
xor ecx, ecx
jmp 0x48a23f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a230
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x220]
call fcn.0044f440
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x220]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x48a535
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a287
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f690
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004e7176
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a535
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 + 0x530dd0]
call fcn.004501e0
test eax, eax
je 0x48a52b
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.0044f2b0
test al, al
jne 0x48a310
test esi, esi
jne 0x48a2ef
xor ecx, ecx
jmp 0x48a303
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a2f4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0044f440
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x224]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x48a535
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48a348
push ebx
lea ecx, [ebp - 0x224]
call fcn.0044f690
mov esi, dword [ebp - 0x224]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004e7176
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x48a535
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a386
push esi
push edi
call fcn.004dce60
add esp, 8
test eax, eax
je 0x48a386
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a4cc
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a3a2
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 0x48a2b0
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x48a4ec
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48a4ec
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dcc10
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00489c50
add esp, 0x1c
test eax, eax
je 0x48a4ec
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a416
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0044f440
mov edi, dword [ebp - 0x220]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x48a535
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a46c
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f690
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004e7176
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a535
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a4aa
push 0x5342cc
push edi
call fcn.004dce60
add esp, 8
test eax, eax
je 0x48a4aa
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a4c8
cmp dword [edi - 0xc], 0
jl 0x48a4c8
push str.TENCENT
push edi
call fcn.004dce60
add esp, 8
test eax, eax
je 0x48a4c8
sub eax, edi
sar eax, 1
je 0x48a4ec
mov bl, 1
jmp 0x48a4ee
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a4c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x48a4ee
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 0x48a50d
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.004dafe6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450130
push 0x80070057
call fcn.00450130
int3