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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x49f008]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x1c], ebx
call edi
mov dword [ebx + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
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.0046087c
add esp, 4
xor edi, eax
mov eax, 1
cmove edi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1c], edi
lea eax, [esp + 0x10]
push eax
push eax
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call ebx
mov edx, dword [esp + 0x20]
mov esi, eax
sub edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sbb ecx, dword [esp + 0x2c]
push 0
push 0x2710
push ecx
push edx
call fcn.00476100
mov ebx, dword [esp + 0x1c]
sub esi, eax
push 0x208
lea eax, [esp + 0x34]
push 0
push eax
mov dword [ebx + 0x20], esi
call fcn.00451eb0
add esp, 0xc
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431730
sub ecx, edx
lea eax, [esp + 0x30]
sar ecx, 1
lea edx, [esp + 0x30]
lea edx, [edx + ecx*2]
cmp edx, eax
jbe 0x431769
nop
movzx eax, word [edx - 2]
cmp eax, 0x5c
je 0x431769
cmp eax, 0x2f
je 0x431769
add edx, 0xfffffffe
lea eax, [esp + 0x30]
cmp edx, eax
ja 0x431750
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431770
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00450030
add esp, 0xc
lea eax, [esp + 0x30]
push 0x2e
push eax
call fcn.004516ae
add esp, 8
test eax, eax
je 0x4317ad
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov edx, 0x104
jne 0x4317cc
xor eax, eax
mov word [esp + 0x30], ax
push str.log.tlg
jmp 0x4317d1
push str..tlg
call fcn.004307b0
add esp, 4
lea edi, [ebx + 0x24]
xor eax, eax
mov word [edi], ax
push 1
push 0x1a
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [edi], 0
je 0x43182b
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431800
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 + 0x22], 0x5c
je 0x43182b
push 0x48edf8
mov edx, 0x104
mov ecx, edi
call fcn.004307b0
add esp, 4
push str.Tencent_
mov edx, 0x104
mov ecx, edi
call fcn.004307b0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push 0
push edi
call esi
push str.Logs_
mov edx, 0x104
mov ecx, edi
call fcn.004307b0
add esp, 4
push 0
push edi
call esi
lea eax, [esp + 0x30]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.004307b0
add esp, 4
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 0x4318ab
mov byte [ebx + 0x23f], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00431500
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret