Function at 0x422b00
Capabilities:
Check for time delay via gettickcount
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x471080]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], ebx
call edi
mov dword [ebx + 0x18], eax
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movq qword [esp + 0x10], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov esi, eax
call edi
mov edi, dword [esp + 0x14]
xor esi, eax
xor edi, esi
xor edi, dword [esp + 0x10]
push 0
call fcn.00441e6f
mov ecx, dword [esp + 0x10]
add esp, 4
xor edi, eax
mov eax, 1
cmove edi, eax
lea eax, [esp + 0x10]
push eax
push eax
push eax
lea eax, [esp + 0x2c]
mov dword [ecx + 0x1c], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call ebx
mov edx, dword [esp + 0x18]
mov esi, eax
sub edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x24]
push 0
push 0x2710
push ecx
push edx
call fcn.00458c70
mov ebx, dword [esp + 0xc]
sub esi, eax
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [ebx + 0x20], esi
call fcn.0043fa60
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422bf1
sub ecx, edx
lea eax, [esp + 0x28]
sar ecx, 1
lea edx, [esp + 0x28]
lea edx, [edx + ecx*2]
cmp edx, eax
jbe 0x422c29
nop
movzx eax, word [edx - 2]
cmp eax, 0x5c
je 0x422c29
cmp eax, 0x2f
je 0x422c29
add edx, 0xfffffffe
lea eax, [esp + 0x28]
cmp edx, eax
ja 0x422c10
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422c30
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00440230
add esp, 0xc
lea eax, [esp + 0x28]
push 0x2e
push eax
call fcn.0043f03e
add esp, 8
test eax, eax
je 0x422c6d
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0x28], 0
jne 0x422c8f
xor eax, eax
lea ecx, [esp + 0x28]
push str.log.tlg
mov word [esp + 0x2c], ax
call fcn.004228a0
add esp, 4
jmp 0x422cdd
mov esi, str..tlg
lea eax, [esp + 0x28]
xor ecx, ecx
nop word [eax + eax]
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x422ca0
lea edx, [ecx + 1]
cmp edx, 0x104
jae 0x422cd0
movzx edi, word [esi]
test di, di
je 0x422cd0
mov word [eax], di
inc edx
add eax, 2
add esi, 2
inc ecx
cmp edx, 0x104
jb 0x422cb5
cmp ecx, 0x104
jae 0x422cdd
xor ecx, ecx
mov word [eax], cx
push 1
lea esi, [ebx + 0x24]
xor eax, eax
push 0x1a
push esi
mov word [esi], ax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esi], 0
je 0x422d28
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422d02
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 + 0x22], 0x5c
je 0x422d28
push 0x463f74
mov ecx, esi
call fcn.004228a0
add esp, 4
mov eax, esi
test eax, eax
je 0x422d77
xor ecx, ecx
cmp word [eax], cx
je 0x422d3f
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x422d35
lea edx, [ecx + 1]
cmp edx, 0x104
jae 0x422d6a
mov ebx, str.Tencent_
sub ebx, eax
movzx edi, word [ebx + eax]
test di, di
je 0x422d6a
mov word [eax], di
inc edx
add eax, 2
inc ecx
cmp edx, 0x104
jb 0x422d51
cmp ecx, 0x104
jae 0x422d77
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call ebx
mov eax, esi
test eax, eax
je 0x422ddc
xor ecx, ecx
cmp word [eax], cx
je 0x422d9a
nop
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x422d90
lea edx, [ecx + 1]
cmp edx, 0x104
jae 0x422dcf
mov ebx, str.Logs_
sub ebx, eax
nop dword [eax]
movzx edi, word [ebx + eax]
test di, di
je 0x422dc9
mov word [eax], di
inc edx
add eax, 2
inc ecx
cmp edx, 0x104
jb 0x422db0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp ecx, 0x104
jae 0x422ddc
xor ecx, ecx
mov word [eax], cx
push 0
push esi
call ebx
test esi, esi
je 0x422e35
xor eax, eax
cmp word [esi], ax
je 0x422dfa
nop dword [eax]
add esi, 2
inc eax
cmp word [esi], 0
jne 0x422df0
lea ecx, [eax + 1]
cmp ecx, 0x104
jae 0x422e29
lea edi, [esp + 0x28]
sub edi, esi
nop dword [eax + eax]
movzx edx, word [edi + esi]
test dx, dx
je 0x422e29
mov word [esi], dx
inc ecx
add esi, 2
inc eax
cmp ecx, 0x104
jb 0x422e10
cmp eax, 0x104
jae 0x422e35
xor eax, eax
mov word [esi], ax
push str.NoTXLog
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x422e6d
mov byte [ecx + 0x23f], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
call fcn.00422960
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret