Function at 0x140195530
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x728]
sub rsp, 0x800
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140306028]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
xor r14d, r14d
mov r15d, r14d
mov dword [rsp + 0x60], r14d
mov dword [rbp + 0x5d0], r14d
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp]
call fcn.140203f00
mov rsi, qword [rax]
mov qword [rsp + 0x40], rsi
mov rax, qword [0x1403076e8]
sub rax, rsi
movabs r13, 0x2aaaaaaaaaaaaaab
test rax, rax
jg 0x140195b20
lea rax, [rsi + 0xea60]
mov qword [0x1403076e8], rax
mov dword [rsp + 0x70], r14d
mov rcx, qword [0x140307ce8]
mov r8, qword [0x140307ce0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140195b20
xor r12d, r12d
nop word [rax + rax]
movsxd rsi, r14d
lea rdx, [rsi + rsi*2]
shl rdx, 4
add rdx, r8
lea rcx, [rbp + 0x580]
call fcn.14003da70
nop
lea rdx, [rbp + 0x580]
lea rcx, [rbp + 0x510]
call fcn.14003da70
mov rbx, qword [0x140307d40]
mov rdi, qword [0x140307d48]
cmp rbx, rdi
je 0x1401956af
cmp qword [rbp + 0x528], 0x10
setae r15b
mov r14, qword [rbp + 0x520]
mov r13, qword [rbp + 0x510]
nop dword [rax + rax]
lea rdx, [rbp + 0x510]
test r15b, r15b
cmovne rdx, r13
mov r8, qword [rbx + 0x18]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x140195690
mov rcx, qword [rcx]
cmp r8, r14
jne 0x14019569e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401956aa
add rbx, 0x240
cmp rbx, rdi
jne 0x140195670
mov r14d, dword [rsp + 0x70]
mov qword [rbp - 0x70], rbx
lea rcx, [rbp + 0x510]
call fcn.1401fdef0
cmp rbx, qword [0x140307d48]
je 0x140195abb
mov rax, qword [0x140307d40]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1401f52b0
mov rdx, rax
lea rcx, [0x140307d40]
call fcn.1401f5390
mov r15, rax
mov rdx, rsi
call fcn.1401f5c30
imul ecx, dword [rax + 0x24], 0x64
call fcn.1401f5c30
add ecx, dword [rax + 0x20]
movsxd rcx, ecx
imul r13, rcx, 0x1f8
add r13, qword [r15 + 0xc8]
movzx ecx, word [r13]
imul rax, rcx, 0x3b8
add rax, qword [0x140307de8]
cmp byte [rax + 0x14d], 0
jne 0x14019577a
mov rax, qword [0x140307ce0]
mov qword [rsp + 0x68], rax
mov r8, rsi
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.1401f5120
mov r8, qword [rax]
lea rdx, [rbp - 0x68]
call fcn.1401f5c70
dec r14d
sub r12, 0x30
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
jmp 0x140195acc
mov rdx, rsi
call fcn.1401f5c30
mov dword [rax + 0x28], 0
lea rdx, [r13 + 0x1a0]
lea rcx, [rbp + 0x5a0]
call fcn.14003da70
nop
mov rdx, qword [rbp + 0x5b0]
cmp rdx, 2
jb 0x1401957bd
add rdx, 0xfffffffffffffffe
xor r8d, r8d
lea rcx, [rbp + 0x5a0]
call fcn.1401fb440
mov r8, qword [0x1403076c0]
mov rdi, qword [r8 + 0x28]
imul rax, qword [r8 + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x14019585e
add rdi, 0x30
cmp dword [rdi + 8], 5
jne 0x140195831
mov rdx, qword [rdi]
test rdx, rdx
je 0x140195831
lea r8, [rdx + 0x250]
add rdx, 0x98
lea rcx, [rbp + 0x530]
call fcn.1402022f0
lea rdx, [rbp + 0x5a0]
mov rcx, rax
call fcn.140202580
movzx ebx, al
lea rcx, [rbp + 0x530]
call fcn.1401fdef0
test bl, bl
jne 0x14019584f
mov r8, qword [0x1403076c0]
add rdi, 0x1c8
imul rcx, qword [r8 + 0x30], 0x1c8
add rcx, qword [r8 + 0x28]
lea rax, [rdi - 0x30]
cmp rax, rcx
jae 0x14019585e
jmp 0x1401957e0
mov rdx, rsi
call fcn.1401f5c30
mov dword [rax + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x550], xmm0
movups xmmword [rbp + 0x560], xmm0
movups xmmword [rbp + 0x570], xmm0
mov rax, qword [0x140307ce0]
mov esi, dword [rax + r12 + 0x20]
mov edi, dword [rax + r12 + 0x24]
mov rdx, r13
mov rcx, r15
call fcn.140068c10
movsxd rbx, eax
lea rcx, [rbx + 0x70]
call fcn.140222890
mov r14, rax
lea r8, [rbx + 0x70]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [r14], 5
mov ecx, dword [rbp + 0x550]
mov dword [r14 + 4], ecx
mov dword [r14 + 0xc], 8
mov ecx, dword [rbp + 0x560]
mov dword [r14 + 0x14], ecx
mov ecx, dword [rbp + 0x570]
mov dword [r14 + 0x18], ecx
mov eax, dword [rbp + 0x574]
mov dword [r14 + 0x1c], eax
mov eax, dword [rbp + 0x578]
mov dword [r14 + 0x20], eax
mov eax, dword [rbp + 0x57c]
mov dword [r14 + 0x24], eax
mov dword [r14 + 0x2c], esi
mov dword [r14 + 0x30], edi
lea rax, [r14 + 0x38]
mov qword [rbp + 0x508], rax
mov rax, qword [0x140307ce0]
mov esi, dword [rax + r12 + 0x24]
mov edi, dword [rax + r12 + 0x20]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x68], rax
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.140046420
mov rbx, rax
mov rdx, r13
lea rcx, [rbp + 0x310]
call fcn.14006bbd0
nop
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x508]
call fcn.140068cb0
mov rbx, qword [0x1403076c0]
mov rdi, qword [rbx + 0x28]
imul rax, qword [rbx + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x140195aa5
add rdi, 0x30
cmp dword [rdi + 8], 5
jne 0x140195a85
mov rcx, qword [rdi]
test rcx, rcx
je 0x140195a85
lea rdx, [r15 + 8]
add rcx, 0x2d0
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401959c5
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1401959d3
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140195a85
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140195a85
mov rdx, r13
mov rcx, r15
call fcn.140068c10
add eax, 0x70
movsxd rsi, eax
add eax, 5
xor ecx, ecx
lea r8d, [rcx + 1]
test byte [r14 + 0xc], 8
je 0x140195a48
mov edx, dword [r14 + 0x34]
add edx, eax
call fcn.140013230
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
add rcx, 4
mov r8, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [r14 + 0x34]
mov rcx, qword [rbx + 0x10]
add rcx, 4
add rcx, rsi
xor edx, edx
jmp 0x140195a6b
movsxd rdx, eax
call fcn.140013230
mov rbx, rax
mov rax, qword [rax + 0x10]
mov dword [rax], 4
mov rcx, qword [rbx + 0x10]
add rcx, 4
mov r8, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi - 0x30]
mov r8, rbx
xor edx, edx
call fcn.1400134c0
mov rbx, qword [0x1403076c0]
add rdi, 0x1c8
imul rcx, qword [rbx + 0x30], 0x1c8
add rcx, qword [rbx + 0x28]
lea rax, [rdi - 0x30]
cmp rax, rcx
jb 0x140195996
mov rcx, r14
call fcn.140222190
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
mov r14d, dword [rsp + 0x70]
inc r14d
mov dword [rsp + 0x70], r14d
add r12, 0x30
mov rcx, qword [0x140307ce8]
mov r8, qword [0x140307ce0]
sub rcx, r8
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
jb 0x140195610
mov rsi, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x60]
xor r14d, r14d
mov rcx, qword [0x1403076b8]
mov rax, rcx
sub rax, rsi
lea r12, [0x14028682b]
test rax, rax
jg 0x140195cc7
cmp byte [0x140307720], 0
je 0x140195cc7
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x5c0]
call fcn.140034d50
nop
lea rdx, str.OnConsoleMessage
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.140034df0
mov edx, dword [reloc.WS2_32.dll_ioctlsocket]
lea rcx, [rbp + 0x580]
call fcn.140017800
nop
mov r8, rax
lea rdx, str._4Global_System_Message__:_Restarting_server_for_update_in__4
lea rcx, [rbp + 0x510]
call fcn.1402021a0
nop
lea r8, str.___minutes
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.140202280
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.140034df0
nop
lea rcx, [rbp + 0x510]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
mov rcx, qword [0x1403076c0]
mov rdi, qword [rcx + 0x28]
imul rax, qword [rcx + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x140195c7d
cmp dword [rdi + 0x38], 5
jne 0x140195c65
cmp qword [rdi + 0x30], 0
je 0x140195c65
lea rax, [rbp + 0x5f0]
mov qword [rbp - 0x68], rax
mov rdx, r12
lea rcx, [rbp + 0x5f0]
call fcn.140019c40
mov rbx, rax
lea rdx, str.actionplay_sfx_nfileaudio_ogg_suspended.ogg_ndelayMS700
lea rcx, [rbp + 0x610]
call fcn.140019c40
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14004d820
mov rdx, rdi
lea rcx, [rbp + 0x5c0]
call fcn.140035180
mov rcx, qword [0x1403076c0]
add rdi, 0x1c8
imul rax, qword [rcx + 0x30], 0x1c8
add rax, qword [rcx + 0x28]
cmp rdi, rax
jb 0x140195c03
sub dword [reloc.WS2_32.dll_ioctlsocket], 1
jne 0x140195ca5
mov byte [0x1403076df], 1
mov byte [0x140307720], 0
mov dword [reloc.WS2_32.dll_ioctlsocket], 0x32
mov eax, 0x2710
jmp 0x140195caa
mov eax, 0xea60
add rax, rsi
mov qword [0x1403076b8], rax
mov rcx, qword [rbp + 0x5c8]
call fcn.140222190
mov rcx, qword [0x1403076b8]
cmp byte [0x1403076df], 0
je 0x140195ff7
sub rcx, rsi
test rcx, rcx
jg 0x140195ff7
mov rcx, qword [0x1403076c0]
mov rdi, qword [rcx + 0x28]
imul rax, qword [rcx + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x140195fc5
nop
cmp dword [rdi + 0x38], 5
jne 0x140195f9d
cmp qword [rdi + 0x30], 0
je 0x140195f9d
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x5c0]
call fcn.140034d50
nop
lea rdx, str.OnConsoleMessage
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.140034df0
mov edx, dword [reloc.WS2_32.dll_ioctlsocket]
lea rbx, str.__Should_be_back_up_in_a_minute_or_so._BYE_
test edx, edx
cmovg rbx, r12
jle 0x140195d6f
lea rcx, [rbp - 0x30]
call fcn.140017800
nop
or r15d, 1
jmp 0x140195d87
lea rdx, str.ZERO
lea rcx, [rbp + 0x5a0]
call fcn.140019c40
nop
or r15d, 2
mov dword [rbp + 0x5d0], r15d
mov r9d, 0x3d
lea r8, str._4Global_System_Message__:_Restarting_server_for_update_in__4
mov rcx, rax
call fcn.14020baa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x610], xmm0
mov qword [rbp + 0x620], r14
mov qword [rbp + 0x628], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x610], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x620], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r15d, 0xc
mov dword [rbp + 0x5d0], r15d
mov r8d, 0xa
lea rdx, str.___seconds
lea rcx, [rbp + 0x610]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x5f0], xmm0
mov qword [rbp + 0x600], r14
mov qword [rbp + 0x608], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x5f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x600], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r15d, 0xd
mov dword [rbp + 0x5d0], r15d
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140195e53
mov rdx, rbx
lea rcx, [rbp + 0x5f0]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x580], xmm0
mov qword [rbp + 0x590], r14
mov qword [rbp + 0x598], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x580], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x590], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r15d, 0xe
mov dword [rbp + 0x5d0], r15d
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0x580]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x510], xmm0
mov qword [rbp + 0x520], r14
mov qword [rbp + 0x528], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x510], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x520], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r15d, 0xf
mov dword [rbp + 0x5d0], r15d
lea rdx, [rbp + 0x510]
lea rcx, [rbp + 0x5c0]
call fcn.140034df0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x5f0]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x610]
call fcn.1401fdef0
nop
test r15b, 2
je 0x140195f67
and r15d, 0xfffffffd
mov dword [rbp + 0x5d0], r15d
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
nop
test r15b, 1
je 0x140195f81
and r15d, 0xfffffffe
mov dword [rbp + 0x5d0], r15d
lea rcx, [rbp - 0x30]
call fcn.1401fdef0
mov rdx, rdi
lea rcx, [rbp + 0x5c0]
call fcn.140035180
nop
mov rcx, qword [rbp + 0x5c8]
call fcn.140222190
add rdi, 0x1c8
mov rcx, qword [0x1403076c0]
imul rax, qword [rcx + 0x30], 0x1c8
add rax, qword [rcx + 0x28]
cmp rdi, rax
jb 0x140195d00
mov dword [rsp + 0x60], r15d
lea rax, [rsi + 0x2710]
mov qword [0x1403076b8], rax
mov eax, dword [reloc.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140195fee
mov byte [0x1403076df], al
call fcn.140096e50
mov eax, dword [reloc.WS2_32.dll_ioctlsocket]
sub eax, 0xa
mov dword [reloc.WS2_32.dll_ioctlsocket], eax
mov rax, qword [0x140307710]
sub rax, rsi
test rax, rax
jg 0x140197d6d
lea rax, [rsi + 0x3e8]
mov qword [0x140307710], rax
mov rcx, qword [0x1403076c0]
mov rdi, qword [rcx + 0x28]
imul rax, qword [rcx + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x140197d6d
mov ebx, 9
xorps xmm8, xmm8
movsd xmm9, qword [0x1402d5520]
movss xmm6, dword [0x1402d546c]
movss xmm7, dword [0x1402d5468]
movabs r15, 0x346dc5d63886594b
cmp dword [rdi + 0x38], 5
jne 0x140197d3f
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140197d3f
cmp qword [rax + 0x2e0], 0
je 0x140197d3f
cmp qword [rax + 0x260], 0
je 0x140197d3f
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140203f00
mov rdx, qword [rdi + 0x30]
movsxd rcx, dword [rdx + 0x730]
add rcx, qword [rdx + 0x670]
cmp rcx, qword [rax]
jge 0x1401962ca
cmp dword [rdx + 0x718], 0
je 0x1401962ca
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
mov rcx, qword [rdi + 0x30]
mov eax, 6
cmp dword [rcx + 0x23c], 0xbc2
cmove eax, ebx
cmp r8d, eax
jge 0x1401962ca
mov dword [rbp + 0x554], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x55c], xmm0
mov dword [rbp + 0x56c], r14d
mov dword [rbp + 0x578], r14d
mov dword [rbp + 0x558], select
mov dword [rbp + 0x550], 0x22
mov dword [rbp + 0x57c], 0x42080000
mov eax, dword [rcx + 0x71c]
shl eax, 5
add eax, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x570], xmm0
mov eax, dword [rcx + 0x720]
shl eax, 5
add eax, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x574], xmm0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140203f00
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x670], rcx
mov edx, 0x38
lea rcx, [rbp + 0x550]
call fcn.140034690
mov r14, rax
mov rcx, qword [rdi + 0x30]
mov r8d, dword [rcx + 0xf0]
xor edx, edx
lea rcx, [rbp + 0x680]
call fcn.140034d50
nop
lea rdx, str.OnPlayPositioned
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x680]
call fcn.140034df0
lea rdx, str.audio_splash.wav
lea rcx, [rbp + 0x5a0]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x680]
call fcn.140034df0
mov rsi, qword [0x1403076c0]
mov rbx, qword [rsi + 0x28]
imul rax, qword [rsi + 0x30], 0x1c8
add rax, rbx
cmp rbx, rax
jae 0x1401962b5
nop
cmp dword [rbx + 0x38], 5
jne 0x14019629d
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14019629d
mov rdx, qword [rdi + 0x30]
add rdx, 0x2d0
add rcx, 0x2d0
call fcn.140202580
test al, al
je 0x14019629d
mov dword [rsp + 0x20], 1
mov r9d, 0x38
mov r8, r14
lea edx, [r9 - 0x34]
mov rcx, rbx
call fcn.140034770
mov rdx, rbx
lea rcx, [rbp + 0x680]
call fcn.140035180
mov rsi, qword [0x1403076c0]
add rbx, 0x1c8
imul rax, qword [rsi + 0x30], 0x1c8
add rax, qword [rsi + 0x28]
cmp rbx, rax
jb 0x140196240
mov rcx, r14
call fcn.140222190
nop
mov rcx, qword [rbp + 0x688]
call fcn.140222190
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, r15
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax + 0x8c0]
add rcx, 0x927c0
cmp rcx, rdx
jge 0x140196325
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140203f00
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x8c0], rcx
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x23c], 0xdfa
jne 0x1401964c6
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.140203f00
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x680]
lea rcx, [rdx + 0xea60]
cmp rcx, qword [rax]
jge 0x1401964c6
test rdx, rdx
je 0x14019649f
mov dword [rbp + 0x5d0], 0
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x5d0]
mov edx, 0xdfa
mov rcx, rdi
call fcn.140063aa0
mov ebx, dword [rbp + 0x5d0]
dec ebx
cmp ebx, 1
jl 0x140196479
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x670]
call fcn.140034d50
nop
lea rdx, str.OnTalkBubble
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x670]
call fcn.140034df0
mov rax, qword [rdi + 0x30]
mov edx, dword [rax + 0xf0]
lea rcx, [rbp + 0x670]
call fcn.140034ed0
mov edx, ebx
lea rcx, [rbp + 0x580]
call fcn.140017800
nop
mov r8, rax
lea rdx, str._4My_torch_went_out__but_I_have
lea rcx, [rbp + 0x510]
call fcn.1402021a0
nop
lea r8, str._more___
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.140202280
mov rdx, rax
lea rcx, [rbp + 0x670]
call fcn.140034df0
mov rdx, rdi
lea rcx, [rbp + 0x670]
call fcn.140035180
nop
lea rcx, [rbp + 0x510]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
nop
mov rcx, qword [rbp + 0x678]
call fcn.140222190
mov dword [rbp + 0x5d0], 0xffffffff
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x5d0]
mov edx, 0xdfa
mov rcx, rdi
call fcn.140063aa0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140203f00
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x680], rcx
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x470], 1
jne 0x140196701
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.140203f00
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x6c0]
add rdx, 0xfa
cmp rdx, qword [rax]
jge 0x140196701
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140203f00
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x6c0], rcx
mov rdx, qword [rdi + 0x30]
add rdx, 0x98
lea rcx, [rbp + 0x5a0]
call fcn.14003da70
nop
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x8f4], 0
je 0x1401965f2
lea rbx, [rax + 0x250]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
lea edx, [rcx + 1]
lea rcx, [rbp + 0x580]
call fcn.140017800
nop
mov r8, rax
lea rdx, [0x1402c53cc]
lea rcx, [rbp + 0x510]
call fcn.1402021a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x530]
call fcn.1402023c0
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.1401fb740
lea rcx, [rbp + 0x530]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x510]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
jmp 0x1401966d6
xor esi, esi
cmp qword [rax + 0x260], rsi
jbe 0x1401966d6
xor edx, edx
lea rcx, [rax + 0x250]
call fcn.1401faf10
movzx ebx, byte [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
lea edx, [rcx + 1]
lea rcx, [rbp + 0x5f0]
call fcn.140017800
nop
mov r8, rax
lea rdx, [0x1402c53cc]
lea rcx, [rbp + 0x580]
call fcn.1402021a0
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0x510]
call fcn.140202280
nop
movzx r8d, bl
mov rdx, rax
lea rcx, [rbp + 0x530]
call fcn.140203e60
nop
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.1401fb6d0
nop
lea rcx, [rbp + 0x530]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x510]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x5f0]
call fcn.1401fdef0
inc esi
mov rax, qword [rdi + 0x30]
movsxd rdx, esi
cmp rdx, qword [rax + 0x260]
jb 0x140196603
lea rdx, [rbp + 0x5a0]
lea rcx, [rbp + 0x530]
call fcn.14003da70
mov rdx, rax
mov rcx, rdi
call fcn.140139ab0
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x23c], 0x89c
jne 0x140197476
cmp dword [rax + 0x100], 0xffffffff
je 0x140197476
cmp dword [rax + 0x104], 0xffffffff
je 0x140197476
lea rdx, str.Irradiated
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
mov rcx, qword [rdi + 0x30]
call fcn.14005ce10
test al, al
jne 0x140197476
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x768], 0xffffffff
jne 0x1401967cc
cmp dword [rax + 0x76c], 0xffffffff
jne 0x1401967cc
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
shl r8d, 5
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x768], r8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x36
sub r8d, ecx
shl r8d, 5
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x76c], r8d
mov r8, qword [rdi + 0x30]
imul eax, dword [r8 + 0x76c], 0x64
cdq
and edx, 0x1f
lea ecx, [rdx + rax]
sar ecx, 5
add ecx, dword [r8 + 0x768]
imul eax, dword [r8 + 0x104], 0x64
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, dword [r8 + 0x100]
sub ecx, eax
mov eax, ecx
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
cmp ebx, 0x3e0
jge 0x140197476
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
cmp ebx, 0x3c0
jl 0x140196879
lea rcx, [rbp + 0x28]
call fcn.140203f00
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x6a0]
add rdx, 0x5dc
cmp rdx, qword [rax]
jge 0x140197476
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140203f00
xor r14d, r14d
mov dword [rbp + 0x578], r14d
jmp 0x1401968cf
cmp ebx, 0x1e0
jl 0x140196991
lea rcx, [rbp + 0x38]
call fcn.140203f00
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x6a0]
add rdx, 0x5dc
cmp rdx, qword [rax]
jge 0x140197476
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140203f00
mov dword [rbp + 0x578], 0x3f800000
xor r14d, r14d
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x6a0], rcx
mov rcx, qword [rdi + 0x30]
xorps xmm0, xmm0
mov eax, dword [rcx + 0x100]
movdqu xmmword [rbp + 0x560], xmm0
add eax, 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [rcx + 0x104]
movss dword [rbp + 0x570], xmm0
add eax, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov qword [rbp + 0x550], r14
mov dword [rbp + 0x558], select
movss dword [rbp + 0x574], xmm0
mov dword [rbp + 0x55c], 8
mov dword [rbp + 0x57c], 0x42e40000
mov edx, 0x38
lea rcx, [rbp + 0x550]
call fcn.140034690
mov rbx, rax
mov byte [rax + 3], WSAStartup
movsd qword [rsp + 0x40], xmm9
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x20], 1
mov r9d, 0x38
mov r8, rax
lea edx, [r9 - 0x34]
mov rcx, rdi
call fcn.140034770
mov rcx, rbx
call fcn.140222190
jmp 0x140197479
cmp ebx, 0x40
jge 0x1401975f4
lea rcx, [rbp + 0x48]
call fcn.140203f00
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x6a0]
add rdx, 0x9c4
cmp rdx, qword [rax]
jge 0x140197476
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
call fcn.140203f00
mov rcx, qword [rax]
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x6a0], rcx
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x768], 0xffffffff
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x76c], 0xffffffff
mov dword [rsp + 0x70], 0xffffffff
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x70]
mov edx, 0x89c
mov rcx, rdi
call fcn.140063aa0
mov dword [rsp + 0x70], 1
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x70]
mov edx, 0x8ee
mov rcx, rdi
call fcn.140063aa0
test eax, eax
je 0x140196ba2
mov rdx, qword [rdi + 0x30]
add rdx, 0x2d0
lea rcx, [rbp + 0x5d0]
call fcn.14003da70
nop
mov edx, 8
lea rcx, [rbp - 0x70]
call fcn.140018270
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x5a0]
call fcn.14003da70
lea r9, [rbp + 0x5a0]
mov r8, qword [0x140307d48]
mov rdx, qword [0x140307d40]
lea rcx, [rbp - 0x70]
call fcn.140203470
mov rax, qword [0x140307d48]
cmp qword [rbp - 0x70], rax
je 0x140196b96
mov rax, qword [0x140307d40]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1401f52b0
mov rdx, rax
lea rcx, [0x140307d40]
call fcn.1401f5390
mov rbx, rax
mov byte [rbp - 0x7c], 0
mov dword [rsp + 0x70], 0x8ee
mov dword [rsp + 0x74], 1
lea rcx, [rax + 0xe0]
call fcn.1401f53f0
movzx ecx, ax
inc ecx
mov dword [rsp + 0x78], ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x78787879
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x11
sub r8d, ecx
mov rcx, qword [rdi + 0x30]
mov ecx, dword [rcx + 0x100]
add ecx, r8d
mov dword [rsp + 0x7c], ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x78787879
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x11
sub r8d, ecx
mov rcx, qword [rdi + 0x30]
mov ecx, dword [rcx + 0x104]
add ecx, r8d
mov dword [rbp - 0x80], ecx
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rsp + 0x50], xmm1
mov r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400644c0
nop
lea rcx, [rbp + 0x5d0]
call fcn.1401fdef0
xor r15d, r15d
mov dword [rbp + 0x550], r15d
mov qword [rbp + 0x558], r15
mov rdx, r12
lea rcx, [rbp + 0x560]
call fcn.140019c40
nop
mov dword [rbp + 0x550], 0xa
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, 0x384
cmp dword [0x140307704], 3
mov edx, 0x258
cmove ecx, edx
add rcx, rax
mov qword [rbp + 0x558], rcx
mov rcx, qword [rdi + 0x30]
add rcx, 0x848
lea rdx, [rbp + 0x550]
call fcn.1401f6dd0
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x23c], 0x8ee
mov rcx, rdi
call fcn.14005e160
xor edx, edx
lea r8d, [r15 - 1]
lea rcx, [rbp + 0x690]
call fcn.140034d50
nop
lea rdx, str.OnConsoleMessage
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x690]
call fcn.140034df0
lea rbx, [0x140289d8c]
cmp dword [0x140307704], 3
lea rax, [0x140289b88]
cmove rbx, rax
lea r8, str.You_are_aglow_with_radiation_____Irradiated___mod_added____
lea rdx, [0x140306078]
lea rcx, [rsp + 0x70]
call fcn.140202210
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.140202280
nop
lea r8, str._mins___left_
mov rdx, rax
lea rcx, [rbp + 0x530]
call fcn.140202280
mov rdx, rax
lea rcx, [rbp + 0x690]
call fcn.140034df0
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
mov rdx, rdi
lea rcx, [rbp + 0x690]
call fcn.140035180
lea rax, [rbp + 0x530]
mov qword [rsp + 0x40], rax
mov rdx, r12
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rbx, rax
lea rdx, str.actionplay_sfx_nfileaudio_dialog_confirm.wav_ndelayMS0
lea rcx, [rbp + 0x5a0]
call fcn.140019c40
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14004d820
nop
mov rcx, qword [rbp + 0x698]
call fcn.140222190
nop
lea rcx, [rbp + 0x560]
call fcn.1401fdef0
mov r14d, r15d
cmp dword [0x140307704], 3
mov eax, 3
cmove r14d, eax
mov rcx, rdi
call fcn.140136060
lea edx, [r15 + 0x18]
lea rcx, [rbp + 0x510]
call fcn.140018270
movdqa xmm0, xmmword [0x1402d61c0]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1402d65b0]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1402d6240]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1402d64b0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1402d64a0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1402d6610]
movdqa xmmword [rbp + 0xb0], xmm1
mov dword [rbp + 0xc0], 0x2766
lea rax, [rbp + 0x60]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0xc4]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x510]
call fcn.14001b000
nop
lea edx, [r15 + 0x18]
lea rcx, [rbp + 0x580]
call fcn.140018270
movdqa xmm0, xmmword [0x1402d65c0]
movdqu xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x580]
call fcn.14001b000
nop
lea edx, [r15 + 0x18]
lea rcx, [rbp + 0x5f0]
call fcn.140018270
movdqa xmm0, xmmword [0x1402d61b0]
movdqu xmmword [rbp + 0x5d0], xmm0
lea rax, [rbp + 0x5d0]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x5e0]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x5f0]
call fcn.14001b000
nop
mov rbx, qword [rbp + 0x518]
sub rbx, qword [rbp + 0x510]
sar rbx, 2
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
mov rax, qword [rbp + 0x510]
mov esi, dword [rax + rdx*4]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x32
sub r8d, ecx
lea ecx, [r14 + 0xa]
cmp r8d, ecx
jge 0x140196f18
mov rbx, qword [rbp + 0x588]
sub rbx, qword [rbp + 0x580]
sar rbx, 2
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
mov rax, qword [rbp + 0x580]
mov esi, dword [rax + rdx*4]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x32
sub r8d, ecx
lea ecx, [r14 + 2]
cmp r8d, ecx
jge 0x140196f6b
mov rbx, qword [rbp + 0x5f8]
sub rbx, qword [rbp + 0x5f0]
sar rbx, 2
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
mov rax, qword [rbp + 0x5f0]
mov esi, dword [rax + rdx*4]
mov dword [rsp + 0x70], 1
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x70]
mov edx, esi
mov rcx, rdi
call fcn.140063aa0
test eax, eax
je 0x1401970e7
mov rdx, qword [rdi + 0x30]
add rdx, 0x2d0
lea rcx, [rbp + 0x530]
call fcn.14003da70
nop
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140018270
lea rdx, [rbp + 0x530]
lea rcx, [rbp + 0x5a0]
call fcn.14003da70
lea r9, [rbp + 0x5a0]
mov r8, qword [0x140307d48]
mov rdx, qword [0x140307d40]
lea rcx, [rsp + 0x68]
call fcn.140203470
mov rax, qword [0x140307d48]
cmp qword [rsp + 0x68], rax
je 0x1401970db
mov rax, qword [0x140307d40]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1401f52b0
mov rdx, rax
lea rcx, [0x140307d40]
call fcn.1401f5390
mov rbx, rax
mov byte [rbp - 0x7c], 0
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x74], 1
lea rcx, [rax + 0xe0]
call fcn.1401f53f0
movzx ecx, ax
inc ecx
mov dword [rsp + 0x78], ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x78787879
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x11
sub r8d, ecx
mov rcx, qword [rdi + 0x30]
mov ecx, dword [rcx + 0x100]
add ecx, r8d
mov dword [rsp + 0x7c], ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x78787879
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x11
sub r8d, ecx
mov rcx, qword [rdi + 0x30]
mov ecx, dword [rcx + 0x104]
add ecx, r8d
mov dword [rbp - 0x80], ecx
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rsp + 0x50], xmm1
mov r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400644c0
nop
lea rcx, [rbp + 0x530]
call fcn.1401fdef0
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x5c0]
call fcn.140034d50
nop
lea rdx, str.OnParticleEffect
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.140034df0
mov edx, gethostbyname
lea rcx, [rbp + 0x5c0]
call fcn.140034ed0
mov rax, qword [rdi + 0x30]
movd xmm2, dword [rax + 0x104]
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movd xmm1, dword [rax + 0x100]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm7
lea rcx, [rbp + 0x5c0]
call fcn.140035050
mov rdx, rdi
lea rcx, [rbp + 0x5c0]
call fcn.140035180
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x650]
call fcn.140034d50
nop
lea rdx, str.OnTalkBubble
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x650]
call fcn.140034df0
mov rax, qword [rdi + 0x30]
mov edx, dword [rax + 0xf0]
lea rcx, [rbp + 0x650]
call fcn.140034ed0
movsxd rax, esi
imul rbx, rax, 0x3b8
mov r8, qword [0x140307de8]
add r8, 0x308
add r8, rbx
lea rdx, str.I_found__21
lea rcx, [rbp + 0x5a0]
call fcn.140202130
nop
lea r8, [0x1402b1f70]
mov rdx, rax
lea rcx, [rbp + 0x530]
call fcn.140202280
mov rdx, rax
lea rcx, [rbp + 0x650]
call fcn.140034df0
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
xor edx, edx
lea rcx, [rbp + 0x650]
call fcn.140034ed0
mov rdx, rdi
lea rcx, [rbp + 0x650]
call fcn.140035180
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x6a0]
call fcn.140034d50
nop
lea rdx, str.OnConsoleMessage
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x6a0]
call fcn.140034df0
add rbx, qword [0x140307de8]
mov rdx, qword [rdi + 0x30]
lea r8, [rdx + 0x250]
add rdx, 0x98
lea rcx, [rbp + 0x5d0]
call fcn.1402022f0
nop
lea r8, str.___found__21
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140202280
nop
lea r8, [rbx + 0x308]
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.1402023c0
nop
lea r8, [0x1402b1f70]
mov rdx, rax
lea rcx, [rbp + 0x530]
call fcn.140202280
mov rdx, rax
lea rcx, [rbp + 0x6a0]
call fcn.140034df0
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x5d0]
call fcn.1401fdef0
mov qword [rbp + 0x550], r15
mov qword [rbp + 0x558], reloc.WS2_32.dll_send
mov qword [rbp + 0x568], r15
mov qword [rbp + 0x578], r15
mov dword [rbp + 0x560], r15d
mov dword [rbp + 0x564], esi
mov rcx, qword [rdi + 0x30]
mov eax, dword [rcx + 0x100]
add eax, 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x570], xmm0
mov eax, dword [rcx + 0x104]
add eax, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x574], xmm0
mov ebx, dword [rcx + 0xf0]
mov edx, 0x38
lea rcx, [rbp + 0x550]
call fcn.140034690
mov r14, rax
mov byte [rax + 3], 5
mov dword [rax + 8], ebx
mov rsi, qword [0x1403076c0]
mov rbx, qword [rsi + 0x28]
imul rcx, qword [rsi + 0x30], 0x1c8
add rcx, rbx
cmp rbx, rcx
jae 0x140197416
cmp dword [rbx + 0x38], 5
jne 0x1401973fe
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401973fe
mov rdx, qword [rdi + 0x30]
add rdx, 0x2d0
add rcx, 0x2d0
call fcn.140202580
test al, al
je 0x1401973fe
mov dword [rsp + 0x20], 1
mov r9d, 0x38
mov r8, r14
lea edx, [r9 - 0x34]
mov rcx, rbx
call fcn.140034770
mov rdx, rbx
lea rcx, [rbp + 0x6a0]
call fcn.140035180
mov rsi, qword [0x1403076c0]
add rbx, 0x1c8
imul rax, qword [rsi + 0x30], 0x1c8
add rax, qword [rsi + 0x28]
cmp rbx, rax
jb 0x1401973a1
mov rcx, r14
call fcn.140222190
nop
mov rcx, qword [rbp + 0x6a8]
call fcn.140222190
nop
mov rcx, qword [rbp + 0x658]
call fcn.140222190
nop
mov rcx, qword [rbp + 0x5c8]
call fcn.140222190
nop
lea rcx, [rbp + 0x5f0]
call fcn.1401f70c0
nop
lea rcx, [rbp + 0x580]
call fcn.1401f70c0
nop
lea rcx, [rbp + 0x510]
call fcn.1401f70c0
movabs r15, 0x346dc5d63886594b
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x40], rax
mov r12d, r14d
mov dword [rsp + 0x70], r14d
mov r8, qword [rdi + 0x30]
mov rcx, qword [r8 + 0x850]
sub rcx, qword [r8 + 0x848]
mov rax, r13
imul rcx
sar rdx, 3
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x140197d33
mov r13, r14
nop dword [rax]
mov rax, qword [r8 + 0x848]
cmp dword [rax + r13], 0xc
jne 0x1401978e0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, r15
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax + 0x6a8]
add rcx, 0x9c4
cmp rcx, rdx
jge 0x1401978e0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, r15
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x30]
mov qword [rax + 0x6a8], rdx
mov rcx, qword [0x1403076c0]
mov rbx, qword [rcx + 0x28]
imul r15, qword [rcx + 0x30], 0x1c8
add r15, rbx
cmp rbx, r15
jae 0x1401978e0
cmp dword [rbx + 0x38], 5
jne 0x1401975df
mov rsi, qword [rbx + 0x30]
test rsi, rsi
je 0x1401975df
mov r14, qword [rdi + 0x30]
lea rdx, [r14 + 0x2d0]
lea rcx, [rsi + 0x2d0]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140197584
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140197592
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1401975df
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401975df
mov rdx, qword [r14 + 0x848]
add rdx, 0x10
add rdx, r13
lea rcx, [rsi + 0x250]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401975c3
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1401975d1
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1401975df
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14019764c
add rbx, 0x1c8
cmp rbx, r15
jae 0x1401978dd
jmp 0x140197551
lea rcx, [rbp + 0x58]
call fcn.140203f00
mov edx, 0x546
cmp ebx, 0xc0
mov ecx, 0x3e8
cmovl edx, ecx
mov rcx, qword [rdi + 0x30]
add rdx, qword [rcx + 0x6a0]
cmp rdx, qword [rax]
jge 0x140197476
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.140203f00
mov dword [rbp + 0x578], 0x40000000
jmp 0x1401968cc
cmp byte [rsi + 0x151], 0
jne 0x1401978dd
cmp byte [r14 + 0x151], 0
jne 0x1401978dd
cmp dword [r14 + 0x100], 0xffffffff
je 0x1401978dd
cmp dword [r14 + 0x104], 0xffffffff
je 0x1401978dd
cmp dword [rsi + 0x100], 0xffffffff
je 0x1401978dd
cmp dword [rsi + 0x104], 0xffffffff
je 0x1401978dd
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x640]
call fcn.140034d50
nop
lea rdx, str.OnParticleEffect
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x640]
call fcn.140034df0
mov edx, ntohs
lea rcx, [rbp + 0x640]
call fcn.140034ed0
mov rax, qword [rbx + 0x30]
movd xmm2, dword [rax + 0x104]
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movd xmm1, dword [rax + 0x100]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm7
lea rcx, [rbp + 0x640]
call fcn.140035050
movaps xmm1, xmm8
lea rcx, [rbp + 0x640]
call fcn.140034fd0
mov rax, qword [rdi + 0x30]
movd xmm1, dword [rax + 0xf0]
cvtdq2ps xmm1, xmm1
lea rcx, [rbp + 0x640]
call fcn.140034fd0
xor r12b, r12b
xor esi, esi
mov r14, qword [rbx + 0x30]
add r14, 0x848
mov rcx, r14
call fcn.1401f6da0
mov r15, rax
test rax, rax
je 0x140197799
xor edx, edx
nop
mov rcx, r14
call fcn.1401f6d90
cmp dword [rax], 0xc
jne 0x14019778a
mov r8, qword [rdi + 0x30]
call fcn.1401f6d90
lea rcx, [rax + 0x10]
lea rdx, [r8 + 0x250]
call fcn.140202580
test al, al
jne 0x140197796
inc esi
movsxd rdx, esi
cmp rdx, r15
jae 0x140197799
jmp 0x140197760
mov r12b, 1
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x630]
call fcn.140034d50
nop
lea rdx, str.OnParticleEffect
lea rcx, [rbp + 0x530]
call fcn.140019c40
mov rdx, rax
lea rcx, [rbp + 0x630]
call fcn.140034df0
mov edx, ntohs
lea rcx, [rbp + 0x630]
call fcn.140034ed0
mov rax, qword [rdi + 0x30]
movd xmm2, dword [rax + 0x104]
cvtdq2ps xmm2, xmm2
addss xmm2, xmm6
movd xmm1, dword [rax + 0x100]
cvtdq2ps xmm1, xmm1
addss xmm1, xmm7
lea rcx, [rbp + 0x630]
call fcn.140035050
movaps xmm1, xmm8
lea rcx, [rbp + 0x630]
call fcn.140034fd0
mov rax, qword [rbx + 0x30]
movd xmm1, dword [rax + 0xf0]
cvtdq2ps xmm1, xmm1
lea rcx, [rbp + 0x630]
call fcn.140034fd0
mov rsi, qword [0x1403076c0]
mov rbx, qword [rsi + 0x28]
imul rax, qword [rsi + 0x30], 0x1c8
add rax, rbx
cmp rbx, rax
jae 0x1401978bf
cmp dword [rbx + 0x38], 5
jne 0x1401978a7
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401978a7
mov rdx, qword [rdi + 0x30]
add rdx, 0x2d0
add rcx, 0x2d0
call fcn.140202580
test al, al
je 0x1401978a7
mov rdx, rbx
lea rcx, [rbp + 0x640]
call fcn.140035180
test r12b, r12b
je 0x1401978a0
mov rdx, rbx
lea rcx, [rbp + 0x630]
call fcn.140035180
mov rsi, qword [0x1403076c0]
add rbx, 0x1c8
imul rax, qword [rsi + 0x30], 0x1c8
add rax, qword [rsi + 0x28]
cmp rbx, rax
jb 0x140197853
mov rcx, qword [rbp + 0x638]
call fcn.140222190
nop
mov rcx, qword [rbp + 0x648]
call fcn.140222190
mov r12d, dword [rsp + 0x70]
xor r14d, r14d
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + 0x848]
mov rax, qword [rax + r13 + 8]
cmp rax, qword [rsp + 0x40]
jns 0x140197ce4
mov rbx, qword [0x140307788]
mov rsi, qword [0x140307790]
cmp rbx, rsi
je 0x140197ce4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x610], xmm0
mov qword [rbp + 0x620], rax
mov rdx, rbx
lea rcx, [rbp + 0x610]
call fcn.14003dd50
nop
mov rcx, qword [rbp + 0x610]
cmp qword [rcx + 0x18], 0x10
jb 0x140197946
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rcx + 0x848]
cmp eax, dword [rdx + r13]
je 0x140197977
lea rcx, [rbp + 0x610]
call fcn.1401fa820
add rbx, 0x18
cmp rbx, rsi
jne 0x140197912
jmp 0x140197ce4
mov rdx, qword [rbp + 0x610]
add rdx, 0x40
lea rcx, [rbp + 0x5a0]
call fcn.14003da70
nop
mov rdx, qword [rbp + 0x610]
sub rdx, 0xffffffffffffff80
lea rcx, [rbp + 0x5f0]
call fcn.14003da70
nop
mov r15, qword [rdi + 0x30]
movsxd rax, r12d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [r15 + 0x848]
mov r14, qword [r15 + 0x850]
lea rsi, [rcx + 0x30]
cmp rsi, r14
je 0x1401979f6
add rcx, 0x10
mov eax, dword [rsi]
mov dword [rcx - 0x10], eax
mov rax, qword [rcx + 0x28]
mov qword [rcx - 8], rax
lea rbx, [rcx + 0x30]
mov rdx, rbx
call fcn.1401fb740
add rsi, 0x30
mov rcx, rbx
cmp rsi, r14
jne 0x1401979d1
mov rcx, qword [r15 + 0x850]
sub rcx, 0x20
call fcn.1401fdef0
add qword [r15 + 0x850], 0xffffffffffffffd0
lea rax, [rbp + 0x510]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x510], xmm0
xor r14d, r14d
mov qword [rbp + 0x520], r14
mov qword [rbp + 0x528], r14
xor r8d, r8d
lea rdx, [0x14028682b]
lea rcx, [rbp + 0x510]
call fcn.140019cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x580], xmm0
mov qword [rbp + 0x590], r14
mov qword [rbp + 0x598], r14
lea r8d, [r14 + 0x37]
lea rdx, str.actionplay_sfx_nfileaudio_dialog_confirm.wav_ndelayMS0
lea rcx, [rbp + 0x580]
call fcn.140019cb0
nop
lea r8, [rbp + 0x510]
lea rdx, [rbp + 0x580]
mov rcx, rdi
call fcn.14004d820
mov dword [rbp + 0x660], r14d
lea ecx, [r14 + 0x3d]
call fcn.140222890
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x664], 0x3d
mov dword [rax + 0xc], r14d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r14
mov qword [rax + 0x24], r14
mov qword [rax + 0x2c], r14
mov qword [rax + 0x34], r14
mov byte [rax + 0x3c], r14b
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x510], xmm0
mov qword [rbp + 0x520], r14
mov qword [rbp + 0x528], r14
lea r8d, [r14 + 0x10]
lea rdx, str.OnConsoleMessage
lea rcx, [rbp + 0x510]
call fcn.140019cb0
lea rdx, [rbp + 0x510]
lea rcx, [rbp + 0x660]
call fcn.140034df0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x600]
sub rax, rcx
cmp rax, 4
jb 0x140197db1
lea r9, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 0x10
cmovae r9, qword [rbp + 0x5f0]
mov qword [rsp + 0x30], 4
lea rax, [0x1402a4b10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x530]
call fcn.14020b410
mov r15d, dword [rsp + 0x60]
or r15d, 0x10
lea rdx, [rbp + 0x5a0]
cmp qword [rbp + 0x5b8], 0x10
cmovae rdx, qword [rbp + 0x5a0]
mov r8, qword [rbp + 0x5b0]
lea rcx, [rbp + 0x530]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x580], xmm0
mov qword [rbp + 0x590], r14
mov qword [rbp + 0x598], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x580], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x590], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or r15d, 8
lea r8d, [r14 + 0xf]
lea rdx, str.___mod_removed_
lea rcx, [rbp + 0x580]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x510], xmm0
mov qword [rbp + 0x520], r14
mov qword [rbp + 0x528], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x510], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x520], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or r15d, 4
mov dword [rsp + 0x60], r15d
lea rdx, [rbp + 0x510]
lea rcx, [rbp + 0x660]
call fcn.140034df0
nop
lea rcx, [rbp + 0x580]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x530]
call fcn.1401fdef0
movsxd rdx, dword [rbp + 0x664]
lea r8d, [r14 + 1]
mov rcx, qword [rbp + 0x668]
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400134c0
mov rcx, rdi
call fcn.14005e160
nop
mov rcx, qword [rbp + 0x668]
call fcn.140222190
nop
lea rcx, [rbp + 0x5f0]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x5a0]
call fcn.1401fdef0
nop
lea rcx, [rbp + 0x610]
call fcn.1401fa820
inc r12d
mov dword [rsp + 0x70], r12d
add r13, 0x30
mov r8, qword [rdi + 0x30]
mov rcx, qword [r8 + 0x850]
sub rcx, qword [r8 + 0x848]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r12d
cmp rax, rdx
movabs r15, 0x346dc5d63886594b
jb 0x1401974c0
mov ebx, 9
lea r12, [0x14028682b]
add rdi, 0x1c8
mov rcx, qword [0x1403076c0]
imul rax, qword [rcx + 0x30], 0x1c8
add rax, qword [rcx + 0x28]
cmp rdi, rax
jae 0x140197d6d
movabs r13, 0x2aaaaaaaaaaaaaab
jmp 0x140196059
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.140222170
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140017740
nop
int3