Function at 0x1801ace70
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.180358570
sub rsp, rax
mov rax, qword [0x18054e100]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, rcx
mov qword [0x1805b1c98], rcx
lea r14, [0x1805b2cf0]
xor edx, edx
mov rcx, r14
mov r8d, 0x104
call fcn.18038da60
mov r8d, 0x104
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rbx, 0xffffffffffffffff
test eax, eax
je 0x1801ad002
mov rdi, rbx
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1801acef0
xor eax, eax
test rcx, rcx
je 0x1801acf1b
movzx edx, byte [rax + r14]
cmp dl, 0x2f
je 0x1801acf10
cmp dl, 0x5c
jne 0x1801acf13
mov rdi, rax
inc rax
cmp rax, rcx
jb 0x1801acf01
xor ecx, ecx
call fcn.18035eb58
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.18035ef0c
mov eax, dword [rsp + 0x40]
lea rdx, str.__02d:_02d:_02d____s_n
mov r9d, dword [rsp + 0x44]
lea rcx, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1801dbed0
lea r8, str.INIT:_Thunder
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.18007b4c0
cmp rdi, rbx
je 0x1801ad002
inc rdi
cmp rdi, 0x104
jae 0x1801ad1c6
mov r8, r14
mov byte [rdi + r14], 0
mov edx, 0x104
lea rcx, [0x1805b2e00]
call fcn.180370ab4
lea r8, str.Thunder.log
mov edx, 0x104
lea rcx, [0x1805b2e00]
call fcn.180370e3c
lea r8, [0x18048ee4c]
lea rdx, [0x1805b2e00]
lea rcx, [rsp + 0x30]
call fcn.180369744
test eax, eax
jne 0x1801acff3
mov rcx, qword [rsp + 0x30]
lea r8, [rbp - 0x70]
lea rdx, [0x18043af08]
call fcn.1801dbf50
mov rcx, qword [rsp + 0x30]
call fcn.180369514
lea rcx, str.INIT:_Thunder
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1801ad009
mov byte [0x180573ee3], 0
lea rdi, [0x1805b3020]
xor edx, edx
mov rcx, rdi
mov r8d, 0x104
call fcn.18038da60
mov r8d, 0x104
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1801ad150
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1801ad040
xor eax, eax
test rcx, rcx
je 0x1801ad069
movzx edx, byte [rax + rdi]
cmp dl, 0x2f
je 0x1801ad05e
cmp dl, 0x5c
jne 0x1801ad061
mov rbx, rax
inc rax
cmp rax, rcx
jb 0x1801ad050
xor ecx, ecx
call fcn.18035eb58
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.18035ef0c
mov eax, dword [rsp + 0x40]
lea rdx, str.__02d:_02d:_02d____s_n
mov r9d, dword [rsp + 0x44]
lea rcx, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1801dbed0
lea r8, str.INIT:_Thunder_Chat
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.18007b4c0
cmp rbx, 0xffffffffffffffff
je 0x1801ad150
inc rbx
cmp rbx, 0x104
jae 0x1801ad1c0
mov r8, rdi
mov byte [rbx + rdi], 0
mov edx, 0x104
lea rcx, [0x1805b2f10]
call fcn.180370ab4
lea r8, str.ThunderChat.log
mov edx, 0x104
lea rcx, [0x1805b2f10]
call fcn.180370e3c
lea r8, [0x18048ee4c]
lea rdx, [0x1805b2f10]
lea rcx, [rsp + 0x30]
call fcn.180369744
test eax, eax
jne 0x1801ad141
mov rcx, qword [rsp + 0x30]
lea r8, [rbp - 0x70]
lea rdx, [0x18043af08]
call fcn.1801dbf50
mov rcx, qword [rsp + 0x30]
call fcn.180369514
lea rcx, str.INIT:_Thunder_Chat
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1801ad157
mov byte [0x180573ee2], 0
call fcn.1801b2700
call fcn.1801ad1d0
test eax, eax
jne 0x1801ad199
lea rcx, str.Cleaning_up_hooks
call fcn.1801dba10
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x1801b4c80]
mov dword [rsp + 0x20], 0
mov edx, 0x1fffff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.180357630
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180357c08
int3
call fcn.180357c08
int3