Function at 0x4a4750
Capabilities:
Check if file exists
Get common file path
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x6088d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4a47ba
mov ecx, 0x104
lea eax, [esp + 0x10]
call fcn.00403540
mov esi, dword [esp + 0x10]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test esi, esi
jne 0x4a47ce
xor ecx, ecx
jmp 0x4a47e8
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4a47d3
sub ecx, edi
sar ecx, 1
js 0x4a49bd
cmp ecx, dword [esi - 8]
jg 0x4a49bd
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x4a4867
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4a4824
mov ecx, 0x104
lea eax, [esp + 0x10]
call fcn.00403540
mov esi, dword [esp + 0x10]
push 0
push 0x2e
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test esi, esi
jne 0x4a4839
xor eax, eax
jmp 0x4a4855
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a4840
sub eax, edx
sar eax, 1
js 0x4a49bd
cmp eax, dword [esi - 8]
jg 0x4a49bd
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
push 0x38
push str.QQPinyin_Camera_2CA8DCBA_B838_4ed9_A926_37F3313910A3.bmp
lea eax, [esp + 0x18]
push eax
call fcn.0040aee0
mov eax, dword [0x6784cc]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4a48c3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a48c3
cmp dword [ebx + 0x215c], 0
je 0x4a48a6
mov ecx, dword [0x6784cc]
push 6
push ecx
call ebp
cmp dword [ebx + 0x2158], 0
je 0x4a48c3
cmp dword [ebx + 0x215c], 0
jne 0x4a48c3
mov edx, dword [0x6784cc]
push 9
push edx
call ebp
mov eax, dword [ebx + 4]
push 5
push eax
call ebp
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebx + 4]
push 0x213
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4982
lea edi, [ebx + 0x1170]
lea eax, [esp + 0x10]
call fcn.0040ab90
mov eax, dword [edi]
push 1
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0040a210
lea ecx, [ebx + 0x1054]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004a5030
mov edx, dword [ebx + 0x2338]
xor edi, edi
push edi
push edx
call ebp
mov eax, dword [ebx + 0x11ac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xf0
push eax
call esi
test eax, eax
je 0x4a4962
mov dword [ebx + 0x1180], edi
mov ecx, dword [ebx + 0x11a8]
push edi
push edi
push 0xf0
push ecx
call esi
test eax, eax
je 0x4a497c
mov dword [ebx + 0x1194], edi
push ebx
call fcn.004a0470
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a49aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 0x80070057
call fcn.00403650
int3