Function at 0x140027098
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xor r15d, r15d
mov qword [rdi + 0x260], r15
mov qword [rdi + 0x268], r15
mov qword [rdi + 0x270], r15
mov dword [rdi + 0x258], 0x10101
mov qword [rdi + 0x240], r15
mov qword [rdi + 0x248], r15
mov dword [rdi + 0x250], 2
mov dword [rdi + 0x254], 0x3e8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.14000d338
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x58]
call fcn.140026020
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140027156
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rsp + 0x68]
sub rsi, qword [rsp + 0x60]
sar rsi, 3
mov r14d, 1
cmp r14, rsi
jae 0x1400272fc
lea r12d, [r14 + 0x2f]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + r14*8]
test rbx, rbx
je 0x1400272f0
cmp word [rbx], 0x2f
jne 0x1400271ac
movzx ecx, word [rbx + 2]
call fcn.14003f978
test eax, eax
je 0x1400271ac
cmp word [rbx + 4], r15w
jne 0x1400271ac
movzx eax, word [rbx + 2]
sub eax, r12d
jmp 0x1400271ce
mov r8d, 0xa
lea rdx, str._loglevel:
mov rcx, rbx
call fcn.1400329dc
test eax, eax
jne 0x1400271d9
lea rcx, [rbx + 0x14]
call fcn.140041e60
mov dword [rdi + 0x250], eax
jmp 0x1400272f0
mov r8d, 8
lea rdx, str._logbuf:
mov rcx, rbx
call fcn.1400329dc
test eax, eax
jne 0x1400272f0
mov dword [rdi + 0x254], r15d
movzx ecx, word [rbx]
test cx, cx
je 0x1400272d9
jmp 0x140027212
add rbx, 2
movzx ecx, word [rbx]
call fcn.14003f984
test eax, eax
jne 0x14002720b
movzx edx, word [rbx]
cmp dx, 0x2b
jne 0x14002722b
add rbx, 2
movzx edx, word [rbx]
cmp dx, r12w
jne 0x1400272bc
movzx eax, word [rbx + 2]
or ax, 0x20
cmp ax, 0x78
jne 0x1400272b8
add rbx, 4
mov ecx, dword [rdi + 0x254]
movzx edx, word [rbx]
movzx eax, dx
sub ax, r12w
cmp ax, 9
ja 0x140027265
shl ecx, 4
add ecx, 0xffffffd0
jmp 0x140027285
lea eax, [rdx - 0x61]
cmp ax, 5
ja 0x140027276
shl ecx, 4
add ecx, 0xffffffa9
jmp 0x140027285
lea eax, [rdx - 0x41]
cmp ax, 5
ja 0x1400272be
shl ecx, 4
add ecx, 0xffffffc9
add ecx, edx
mov dword [rdi + 0x254], ecx
add rbx, 2
jmp 0x14002724d
cmp dx, 0x39
ja 0x1400272c3
mov eax, dword [rdi + 0x254]
lea ecx, [rax + rax*4]
movzx eax, dx
lea edx, [rcx - 0x18]
lea edx, [rax + rdx*2]
add rbx, 2
mov dword [rdi + 0x254], edx
movzx edx, word [rbx]
cmp dx, r12w
jae 0x140027293
test dx, dx
je 0x1400272d9
movzx ecx, byte [rbx]
call fcn.140042070
test eax, eax
je 0x1400272d9
add rbx, 2
cmp word [rbx], r15w
jne 0x1400272c3
add dword [rdi + 0x254], 8
cmp dword [rdi + 0x254], 1
ja 0x1400272f0
mov byte [rdi + 0x259], r15b
inc r14
cmp r14, rsi
jb 0x140027177
mov dword [rbp - 0x80], 0x50
xor edx, edx
lea r8d, [rdx + 0x4c]
lea rcx, [rbp - 0x7c]
call fcn.14002dc80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x68], rax
lea rax, str.TXLOGGER_BYCORETEAM
mov qword [rbp - 0x40], rax
lea rax, [0x140027000]
mov qword [rbp - 0x78], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x1400273c4
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], 0xfffffffffffffffd
mov eax, 0x64
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.loger_command_window
mov rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 0x248], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [rdi + 0x248], r15
jne 0x1400273cb
mov byte [rdi + 0x258], r15b
mov rcx, rdi
call fcn.140026d78
nop
lea rcx, [rsp + 0x60]
call fcn.14000c6c4
nop
mov rax, rdi
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret