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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x468100]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
call esi
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call esi
mov esi, dword [esp + 0xc]
xor edi, eax
xor esi, edi
xor esi, dword [esp + 8]
push 0
call fcn.0043e833
add esp, 4
xor esi, eax
jne 0x420b05
mov esi, 1
lea ecx, [esp + 8]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [ebx + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0
sbb ecx, dword [esp + 0x18]
push 0x2710
push ecx
push eax
call fcn.004434d0
sub esi, eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov dword [ebx + 0x20], esi
mov word [esp + 0x2c], ax
call fcn.00442420
add esp, 0xc
push 0x104
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420b90
sub eax, edx
sar eax, 1
lea ecx, [esp + eax*2 + 0x20]
lea eax, [esp + 0x20]
cmp ecx, eax
jbe 0x420bc9
jmp 0x420bb0
movzx eax, word [ecx - 2]
cmp eax, 0x5c
je 0x420bc9
cmp eax, 0x2f
je 0x420bc9
add ecx, 0xfffffffe
lea edx, [esp + 0x20]
cmp ecx, edx
ja 0x420bb0
mov eax, ecx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x420bd0
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
call fcn.0043e320
add esp, 0xc
lea edx, [esp + 0x20]
push 0x2e
push edx
call fcn.0043f35f
add esp, 8
test eax, eax
je 0x420c0a
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0x20], 0
lea eax, [esp + 0x20]
jne 0x420c24
xor edx, edx
mov word [esp + 0x20], dx
mov ecx, str.log.tlg
jmp 0x420c29
mov ecx, str..tlg
call fcn.00420910
push 1
lea esi, [ebx + 0x24]
push 0x1a
xor eax, eax
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 0x420c76
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420c53
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 + 0x22], 0x5c
je 0x420c76
mov ecx, 0x45b4a4
mov eax, esi
call fcn.00420910
mov ecx, str.Tencent_
mov eax, esi
call fcn.00420910
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
mov ecx, str.Logs_
mov eax, esi
call fcn.00420910
push 0
push esi
call edi
lea ecx, [esp + 0x20]
mov eax, esi
call fcn.00420910
push str.NoTXLog
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420cdc
mov byte [ebx + 0x23f], 1
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00420990
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
xor ecx, esp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret