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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa91
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 0x48a448
xor al, al
jmp 0x48a76f
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48a78b
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 0x48a4ac
test ebx, ebx
jne 0x48a484
xor ecx, ecx
jmp 0x48a49f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a490
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 0x48a795
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a4e7
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f7d0
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004ea426
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a795
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 + 0x534d70]
call fcn.00450310
test eax, eax
je 0x48a78b
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 0x48a570
test esi, esi
jne 0x48a54f
xor ecx, ecx
jmp 0x48a563
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a554
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 0x48a795
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48a5a8
push ebx
lea ecx, [ebp - 0x224]
call fcn.0044f7d0
mov esi, dword [ebp - 0x224]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004ea426
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x48a795
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a5e6
push esi
push edi
call fcn.004e0110
add esp, 8
test eax, eax
je 0x48a5e6
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a72c
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a602
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 0x48a510
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x48a74c
push esi
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x48a74c
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dfec0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00489eb0
add esp, 0x1c
test eax, eax
je 0x48a74c
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a676
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 0x48a795
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48a6cc
push esi
lea ecx, [ebp - 0x220]
call fcn.0044f7d0
mov edi, dword [ebp - 0x220]
lea eax, [esi + 1]
push eax
push edi
call fcn.004ea426
add esp, 8
cmp esi, dword [edi - 8]
jg 0x48a795
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
cmp dword [edi - 0xc], eax
jl 0x48a70a
push 0x53826c
push edi
call fcn.004e0110
add esp, 8
test eax, eax
je 0x48a70a
sub eax, edi
sar eax, 1
test eax, eax
jg 0x48a728
cmp dword [edi - 0xc], 0
jl 0x48a728
push str.TENCENT
push edi
call fcn.004e0110
add esp, 8
test eax, eax
je 0x48a728
sub eax, edi
sar eax, 1
je 0x48a74c
mov bl, 1
jmp 0x48a74e
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a728
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x48a74e
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 0x48a76d
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.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80070057
call fcn.00450260
int3