Function at 0x41daa0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Contain obfuscated stackstrings
Create directory
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4325d8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x43e0b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x270], eax
xor edi, edi
mov dword [ebp - 0x26c], edi
mov eax, dword [esi + 8]
sub eax, 0x10
mov dword [ebp - 0x274], esi
call fcn.00405330
lea ebx, [eax + 0x10]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 4], edi
cmp dword [ebx - 0xc], edi
jne 0x41db1d
push str.QQUpd
lea ecx, [ebp - 0x258]
push ecx
lea ebx, [edi + 5]
call fcn.00405280
mov ebx, dword [ebp - 0x258]
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x41dd0c
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 2
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 3
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 4
mov edx, dword [0x43e060]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e060
call eax
add eax, 0x10
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 5
mov eax, dword [esi + 0xc]
push edx
call fcn.0040b4c0
mov edi, dword [ebp - 0x264]
add esp, 0x10
cmp dword [edi - 0xc], 0
je 0x41dc7a
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x252]
push ecx
mov word [ebp - 0x254], ax
call fcn.00420a30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x254]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41dc43
push eax
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x254]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc7a
lea ecx, [ebp - 0x254]
call fcn.0041e330
test eax, eax
je 0x41dc7a
lea edx, [ebp - 0x254]
lea edi, [ebp - 0x25c]
call fcn.00404910
mov edi, dword [ebp - 0x264]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dcc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dce6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x40], 0
mov dword [ebp - 0x48], 0x620061
mov dword [ebp - 0x44], 0x640063
mov dword [ebp - 0x40], 0x660065
mov dword [ebp - 0x3c], 0x680067
mov dword [ebp - 0x38], 0x670069
mov dword [ebp - 0x34], 0x6c006b
mov dword [ebp - 0x30], 0x6e006d
mov dword [ebp - 0x2c], 0x70006f
mov dword [ebp - 0x28], 0x720071
mov dword [ebp - 0x24], 0x740073
mov dword [ebp - 0x20], 0x760075
mov dword [ebp - 0x1c], 0x780077
mov dword [ebp - 0x18], 0x7a0079
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.0041fdb6
add eax, esi
xor edx, edx
mov ecx, 0x1a
div ecx
mov edi, dword [ebx - 0xc]
lea esi, [edi + 1]
movzx edx, word [ebp + edx*2 - 0x48]
mov dword [ebp - 0x260], edx
test esi, esi
jns 0x41dda5
push 0x80070057
call fcn.00401540
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x41ddc9
mov eax, esi
lea ecx, [ebp - 0x258]
call fcn.004055c0
mov ebx, dword [ebp - 0x258]
mov ax, word [ebp - 0x260]
mov word [ebx + edi*2], ax
cmp esi, dword [ebx - 8]
jg 0x41dd9b
xor ecx, ecx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.0041fdb6
add eax, esi
xor edx, edx
mov ecx, 0x1a
div ecx
mov edi, dword [ebx - 0xc]
lea esi, [edi + 1]
movzx edx, word [ebp + edx*2 - 0x48]
mov dword [ebp - 0x260], edx
test esi, esi
jns 0x41de19
push 0x80070057
call fcn.00401540
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x41de3d
mov eax, esi
lea ecx, [ebp - 0x258]
call fcn.004055c0
mov ebx, dword [ebp - 0x258]
mov ax, word [ebp - 0x260]
mov word [ebx + edi*2], ax
cmp esi, dword [ebx - 8]
jg 0x41dd9b
mov dword [ebx - 0xc], esi
xor ecx, ecx
push 4
mov word [ebx + esi*2], cx
push str..exe
lea ebx, [ebp - 0x258]
call fcn.00405500
lea edx, [ebp - 0x268]
push edx
call fcn.0040a970
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x268]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41dea7
xor eax, eax
lea ecx, [ebp - 0x268]
call fcn.004055c0
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x41e02e
lea esp, [esp]
mov esi, dword [ebp - 0x258]
push eax
push esi
call fcn.0041fd2b
add esp, 8
test eax, eax
jne 0x41e034
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x41df38
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41df22
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41df22
call fcn.00405330
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41df17
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x258], esi
jmp 0x41df38
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x258]
push ecx
call fcn.00405280
mov esi, dword [ebp - 0x258]
call fcn.0041fdb6
cdq
mov ecx, 0x1a
idiv ecx
mov edi, dword [esi - 0xc]
lea ebx, [edi + 1]
movzx edx, word [ebp + edx*2 - 0x48]
mov dword [ebp - 0x260], edx
test ebx, ebx
js 0x41dd9b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41df82
mov eax, ebx
lea ecx, [ebp - 0x258]
call fcn.004055c0
mov esi, dword [ebp - 0x258]
mov ax, word [ebp - 0x260]
mov word [esi + edi*2], ax
cmp ebx, dword [esi - 8]
jg 0x41dd9b
xor ecx, ecx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call fcn.0041fdb6
add eax, edi
xor edx, edx
mov ecx, 0x1a
div ecx
mov edi, dword [esi - 0xc]
lea ebx, [edi + 1]
movzx edx, word [ebp + edx*2 - 0x48]
mov dword [ebp - 0x260], edx
test ebx, ebx
js 0x41dd9b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41dff4
mov eax, ebx
lea ecx, [ebp - 0x258]
call fcn.004055c0
mov esi, dword [ebp - 0x258]
mov ax, word [ebp - 0x260]
mov word [esi + edi*2], ax
cmp ebx, dword [esi - 8]
jg 0x41dd9b
mov dword [esi - 0xc], ebx
xor ecx, ecx
push 4
mov word [esi + ebx*2], cx
push str..exe
lea ebx, [ebp - 0x258]
call fcn.00405500
mov eax, dword [ebp - 0x26c]
jmp 0x41dec0
mov esi, dword [ebp - 0x258]
mov edi, dword [ebp - 0x25c]
cmp dword [edi - 0xc], 0
jne 0x41e205
lea edx, [ebp - 0x264]
push edx
call fcn.0040ca10
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x264]
cmp dword [ecx - 0xc], 0
je 0x41e08f
call fcn.0041e330
test eax, eax
je 0x41e08f
lea eax, [ebp - 0x264]
lea edi, [ebp - 0x25c]
call fcn.004048a0
mov eax, dword [ebp - 0x274]
mov dword [eax + 0x40], 1
jmp 0x41e1d9
mov ecx, dword [ebp - 0x274]
test byte [ecx + 0x54], 1
jne 0x41e150
mov ebx, dword [ebp - 0x270]
push ebx
mov ecx, 0x4388a0
mov dword [0x441520], 0x64
call fcn.00404800
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e149
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebx
jmp 0x41e303
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x41e179
mov eax, ebx
lea ecx, [ebp - 0x25c]
call fcn.004055c0
mov edi, dword [ebp - 0x25c]
cmp dword [edi - 8], ebx
jge 0x41e188
push 0x80070057
call fcn.00401540
push 1
push 0x1a
xor eax, eax
push edi
mov dword [edi - 0xc], ebx
push eax
mov word [edi + 0x208], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0041f064
add esp, 8
test eax, eax
js 0x41dd9b
cmp eax, dword [edi - 8]
jg 0x41dd9b
push 9
xor ecx, ecx
mov dword [edi - 0xc], eax
push str.Tencent_
lea ebx, [ebp - 0x25c]
mov word [edi + eax*2], cx
call fcn.00405500
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e1ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x25c]
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x25c]
call fcn.00404d30
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x41e238
test eax, eax
jns 0x41e22e
push 0x80070057
call fcn.00401540
cmp word [ecx], 0x5c
jne 0x41e238
xor bl, bl
jmp 0x41e23a
mov bl, 1
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e25c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e278
push 1
push 0x438680
lea ebx, [ebp - 0x25c]
call fcn.00405500
mov edi, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x258]
push ecx
push edx
lea ebx, [ebp - 0x25c]
call fcn.00404db0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2fd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e965
mov esp, ebp
pop ebp
ret 4