Function at 0x14000a910
Capabilities:
Create process on windows
Self delete

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x250
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor esi, esi
cmp byte [0x1400700b8], 1
jne 0x14000c5b6
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140071c38], eax
jle 0x14000a9a2
lea rcx, [0x140071c38]
call fcn.14005787c
cmp dword [0x140071c38], 0xffffffff
jne 0x14000a9a2
lea rcx, [0x140059780]
call fcn.140057b58
lea rcx, [0x140071c38]
call fcn.140057810
mov rcx, qword [0x140071bb0]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x1400700c0]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x40f8], 2
or eax, 0x40
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4150], 0x3f800000
mov r8d, dword [0x140071ba0]
lea rdx, [0x1400700b8]
lea rcx, [0x14005aa94]
call fcn.14001bc40
lea rcx, str.CFWEST_V2408
call fcn.14004a480
call fcn.140052a80
test al, al
je 0x14000c5b1
lea rcx, str.Game
call fcn.1400547e0
test al, al
je 0x14000bb54
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rbx + 0x3fe0]
cmp byte [rax + 0xd0], sil
jne 0x14000bb0f
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Start_Services
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000aa93
lea r8, str.Start_Services
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
xor r9d, r9d
lea r8, str.Start_Services
mov edx, 0x1a
mov ecx, edi
call fcn.1400514b0
xorps xmm7, xmm7
test al, al
je 0x14000bb12
mov qword [rsp + 0x50], rsi
lea rdx, [rsp + 0x50]
lea rcx, str.Start_Servers
call fcn.14004acf0
test al, al
je 0x14000b1cb
lea rcx, [rsp + 0x160]
call fcn.1400027f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov r8d, 6
lea rdx, str.Server
lea rcx, [rsp + 0xc0]
call fcn.14000d620
nop
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xe0]
call fcn.140001c50
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 7
jbe 0x14000ab7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ab7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqa xmm6, xmmword [0x140060f70]
movdqu xmmword [rsp + 0xd0], xmm6
mov word [rsp + 0xc0], si
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x110], xmm1
mov r8d, 0xe
lea rdx, str.cf_gamesrv.exe
lea rcx, [rsp + 0x100]
call fcn.14000d620
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov r8d, 0xa
lea rdx, str.cf_gamesrv
lea rcx, [rsp + 0xa0]
call fcn.14000d620
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x140]
call fcn.140001c50
nop
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.140009ab0
movzx r14d, al
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x14000ac7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x150], xmm6
mov word [rsp + 0x140], si
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x14000acd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000acd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000acd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xb0], xmm6
mov word [rsp + 0xa0], si
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x14000ad35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ad30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x110], xmm1
mov r8d, 0xe
lea rdx, str.cf_gamesrv.exe
lea rcx, [rsp + 0x100]
call fcn.14000d620
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov r8d, 0x13
lea rdx, str.cf_gamesrv_newLobby
lea rcx, [rsp + 0xa0]
call fcn.14000d620
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x140]
call fcn.140001c50
nop
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.140009ab0
movzx edi, al
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x14000ae19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ae14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x150], xmm6
mov word [rsp + 0x140], si
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x14000ae75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ae70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xb0], xmm6
mov word [rsp + 0xa0], si
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x14000aed1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aecc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aecc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x130], xmm1
mov r8d, 0xf
lea rdx, str.cf_loginsrv.exe
lea rcx, [rsp + 0x120]
call fcn.14000d620
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov r8d, 0xb
lea rdx, str.cf_loginsrv
lea rcx, [rsp + 0xa0]
call fcn.14000d620
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x140]
call fcn.140001c50
nop
lea rdx, [rsp + 0x120]
mov rcx, rax
call fcn.140009ab0
movzx ebx, al
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x14000afb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000afb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000afb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x150], xmm6
mov word [rsp + 0x140], si
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x14000b011
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b00c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b00c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xb0], xmm6
mov word [rsp + 0xa0], si
mov rdx, qword [rsp + 0x138]
cmp rdx, 7
jbe 0x14000b06d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b068
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x130], xmm6
mov word [rsp + 0x120], si
test r14b, r14b
je 0x14000b0ce
test dil, dil
je 0x14000b0ce
test bl, bl
je 0x14000b0ce
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Success
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000b11a
lea r8, str.Success
jmp 0x14000b10e
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Error
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000b11a
lea r8, str.Error
mov edx, 0xb
mov ecx, edi
call fcn.1400325c0
mov ecx, edi
call fcn.140020e20
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14000b16d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b168
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xf0], xmm6
mov word [rsp + 0xe0], si
mov rdx, qword [rsp + 0x178]
cmp rdx, 7
jbe 0x14000b1d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b1c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b1c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
jmp 0x14000b1d3
movdqa xmm6, xmmword [0x140060f70]
lea rcx, str.Error
call fcn.140021360
test al, al
je 0x14000b25e
lea rcx, str.Error_starting_the_server__or_server_not_found.
call fcn.14004a480
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, [0x14005ae08]
call fcn.14004acf0
test al, al
je 0x14000b212
call fcn.140021190
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000b242
cmp byte [rbx + 0x42c5], 0
je 0x14000b242
cmp dword [rbx + 0x42a4], 0
jne 0x14000b242
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000b252
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
lea rcx, str.Success
call fcn.140021360
test al, al
je 0x14000b2e9
lea rcx, str.Servers_started_successfully.
call fcn.14004a480
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, [0x14005ae08]
call fcn.14004acf0
test al, al
je 0x14000b29d
call fcn.140021190
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000b2cd
cmp byte [rbx + 0x42c5], 0
je 0x14000b2cd
cmp dword [rbx + 0x42a4], 0
jne 0x14000b2cd
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000b2dd
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, str.Start_Game
call fcn.14004acf0
test al, al
je 0x14000ba8e
lea rcx, [rsp + 0x180]
call fcn.1400027f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rsi
mov r8d, 3
lea rdx, [0x14005ae40]
lea rcx, [rsp + 0xe0]
call fcn.14000d620
nop
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x100]
call fcn.140001c50
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14000b3b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b3b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b3b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xf0], xmm6
mov word [rsp + 0xe0], si
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, 0xd
lea rdx, str.crossfire.exe
lea rcx, [rsp + 0x50]
call fcn.14000d620
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x140]
call fcn.140001c50
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000b453
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b44e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b44e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x60], xmm6
mov word [rsp + 0x50], si
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rsi
mov r8d, 0xf
lea rdx, str.64bit_1_byKaiox
lea rcx, [rsp + 0xe0]
call fcn.14000d620
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x70]
call fcn.14000c6b0
nop
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14000b55e
lea r8, [rcx + 1]
mov qword [rsp + 0x80], r8
lea rdi, [rsp + 0x70]
cmp rdx, 7
cmova rdi, qword [rsp + 0x70]
lea rax, [0x14005ae72]
lea r15, [0x14005ae70]
cmp rax, rdi
jbe 0x14000b513
lea rax, [rdi + rcx*2]
cmp r15, rax
ja 0x14000b513
cmp rdi, r15
ja 0x14000b508
mov r14, rsi
jmp 0x14000b519
mov r14, rdi
sub r14, r15
sar r14, 1
jmp 0x14000b519
mov r14d, 1
lea rcx, [rdi + 2]
add r8, r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 1]
lea rdx, [r15 + rdx*2]
lea rcx, [rdi + rbx]
mov r8d, 1
sub r8, r14
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x14000b576
mov qword [rsp + 0x28], 1
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14000e3f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x130], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x130], xmm1
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rsi
mov word [rax], si
mov r8d, 2
lea rdx, [0x14005ae68]
lea rcx, [rsp + 0x120]
call fcn.14000c630
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 7
cmova rdx, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.14000c630
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xd0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xd0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000b6ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b6a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x60], xmm6
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x138]
cmp rdx, 7
jbe 0x14000b702
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b6fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x130], xmm6
mov word [rsp + 0x120], si
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14000b75b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b756
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x80], xmm6
mov word [rsp + 0x70], si
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x1b4], xmm0
movups xmmword [rsp + 0x1c4], xmm0
movups xmmword [rsp + 0x1d4], xmm0
movups xmmword [rsp + 0x1e4], xmm0
movups xmmword [rsp + 0x1f4], xmm0
movups xmmword [rsp + 0x204], xmm0
mov dword [rsp + 0x214], eax
mov dword [rsp + 0x1b0], 0x68
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x160]
call fcn.14000c6b0
lea rax, [rsp + 0x160]
cmp qword [rsp + 0x178], 7
cmova rax, qword [rsp + 0x160]
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 7
cmova rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rsp + 0x178]
cmp rdx, 7
jbe 0x14000b890
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b88b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b88b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
test ebx, ebx
je 0x14000b8c6
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x40
lea r8, [0x14005ae78]
lea rdx, str.Select_Europe_Charlie_Server.
jmp 0x14000b8da
mov r9d, 0x10
lea r8, [0x14005ab40]
lea rdx, str.Failed_to_start_CROSSFIRE__Game_not_found.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 7
jbe 0x14000b92e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0xd0], xmm6
mov word [rsp + 0xc0], si
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14000b98b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b985
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b985
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x14000b9d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x150], xmm6
mov word [rsp + 0x140], si
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x14000ba32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqu xmmword [rsp + 0x110], xmm6
mov word [rsp + 0x100], si
mov rdx, qword [rsp + 0x198]
cmp rdx, 7
jbe 0x14000ba8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
lea rcx, str.Login:_admin
call fcn.14004a480
lea rcx, str.Password:_admin
call fcn.14004a480
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, str.Close_the_Game
call fcn.14004acf0
test al, al
je 0x14000bac9
call fcn.14000a160
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, str.by_Kaiox
call fcn.14004acf0
test al, al
je 0x14000bb12
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.https:__www.youtube.com__kaiocf
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14000bb12
xorps xmm7, xmm7
mov r8, qword [0x140071bb0]
mov rdx, qword [r8 + 0x3fe0]
cmp byte [rdx + 0xd0], 0
jne 0x14000bb57
mov r8, qword [r8 + 0x4520]
test r8, r8
je 0x14000bb57
movsx rax, word [r8 + 0x70]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [r8 + 8]
test byte [rcx + 4], 8
jne 0x14000bb57
dec dword [rdx + 0x108]
jmp 0x14000bb57
xorps xmm7, xmm7
lea rcx, str.Weapons
call fcn.1400547e0
test al, al
je 0x14000c5ac
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rbx + 0x3fe0]
cmp byte [rax + 0xd0], 0
jne 0x14000c12c
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.ADD_WEAPONS
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000bbd2
lea r8, str.ADD_WEAPONS
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
xor r9d, r9d
lea r8, str.ADD_WEAPONS
mov edx, 0x1a
mov ecx, edi
call fcn.1400514b0
test al, al
je 0x14000c12c
lea rcx, str.Weapon_Code_ex:_C1234
call fcn.14004a480
movss xmm6, dword [0x140060f3c]
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1400201b0
mov rdi, qword [0x140071bb0]
mov rax, qword [rdi + 0x3fe0]
lea rcx, [rax + 0x1e8]
lea rbx, [rax + 0x1dc]
mov rdx, rbx
call fcn.140033090
mov dword [rbx], 0x42c80000
and dword [rdi + 0x409c], 0xfffffffe
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea rbx, [0x140071b60]
mov r8, rbx
xor edx, edx
lea rcx, str.WeaponIDInputWeapons
call fcn.14004f0d0
mov rcx, qword [0x140071bb0]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov r8, qword [rcx + 0x3fe0]
movsxd rdx, dword [r8 + 0x1e8]
mov rax, qword [r8 + 0x1f0]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1dc], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1e8], eax
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1400201b0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, str.Add_Weapon
call fcn.14004acf0
mov r14, 0xffffffffffffffff
test al, al
je 0x14000bf9a
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov r8, r14
inc r8
cmp byte [rbx + r8], 0
jne 0x14000bd10
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.14000d8a0
nop
mov r13, qword [rsp + 0xd0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x17
jb 0x14000c5f2
lea r12, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova r12, qword [rsp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
lea r15, [r13 + 0x17]
mov edi, 0xf
lea rbx, [rsp + 0x100]
cmp r15, rdi
jbe 0x14000be06
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000bdc4
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400578f4
test rax, rax
je 0x14000be8a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000bdfe
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14000bdde
mov rbx, rsi
jmp 0x14000bdfe
cmp rcx, 0x1000
jb 0x14000bdf6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c5f8
jmp 0x14000bda5
call fcn.1400578f4
mov rbx, rax
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], rdi
movups xmm0, xmmword [str.Adding_weapon_with_ID:]
movups xmmword [rbx], xmm0
mov ecx, dword [0x14005b008]
mov dword [rbx + 0x10], ecx
movzx eax, word [0x14005b00c]
mov word [rbx + 0x14], ax
movzx eax, byte [0x14005b00e]
mov byte [rbx + 0x16], al
lea rcx, [rbx + 0x17]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r15], 0
mov rdx, qword [0x1400700f0]
cmp rdx, 0xf
jbe 0x14000be96
inc rdx
mov rcx, qword [0x1400700d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [0x1400700d8], xmm0
movups xmm1, xmmword [rsp + 0x110]
movups xmmword [0x1400700e8], xmm1
lea rcx, [rsp + 0xc0]
call fcn.14000a360
mov rbx, qword [0x140071bb0]
xor edx, edx
test al, al
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
je 0x14000bf07
lea rcx, str.Add_Weapon_Success
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000bf30
lea r8, str.Add_Weapon_Success
jmp 0x14000bf24
lea rcx, str.Add_Weapon_Failure
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000bf30
lea r8, str.Add_Weapon_Failure
mov edx, 0xb
mov ecx, edi
call fcn.1400325c0
mov ecx, edi
call fcn.140020e20
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xf
jbe 0x14000bf7e
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bf79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], 0xf
mov byte [rsp + 0xc0], 0
mov rbx, qword [0x140071bb0]
mov eax, dword [rbx + 0x41f0]
cmp dword [rbx + 0x41e0], eax
jg 0x14000bfba
mov dword [rbx + 0x40f0], esi
jmp 0x14000c062
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Add_Weapon_Success
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000bfff
lea r8, str.Add_Weapon_Success
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
mov ecx, edi
call fcn.140021250
test al, al
je 0x14000c062
lea rcx, str.Weapon_added_successfully.
call fcn.14004a480
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000c046
cmp byte [rbx + 0x42c5], 0
je 0x14000c046
cmp dword [rbx + 0x42a4], 0
jne 0x14000c046
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000c056
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
mov rbx, qword [0x140071bb0]
mov eax, dword [rbx + 0x41f0]
cmp dword [rbx + 0x41e0], eax
jg 0x14000c082
mov dword [rbx + 0x40f0], esi
jmp 0x14000c13b
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Add_Weapon_Failure
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000c0c7
lea r8, str.Add_Weapon_Failure
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
mov ecx, edi
call fcn.140021250
test al, al
je 0x14000c13b
lea rcx, str.Failed_to_add_weapon.
call fcn.14004a480
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000c10e
cmp byte [rbx + 0x42c5], 0
je 0x14000c10e
cmp dword [rbx + 0x42a4], 0
jne 0x14000c10e
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000c11e
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
jmp 0x14000c13b
mov r14, 0xffffffffffffffff
movss xmm6, dword [0x140060f3c]
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rbx + 0x3fe0]
cmp byte [rax + 0xd0], 0
jne 0x14000c56c
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.REMOVE_WEAPON
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000c1a2
lea r8, str.REMOVE_WEAPON
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
xor r9d, r9d
lea r8, str.REMOVE_WEAPON
mov edx, 0x1a
mov ecx, edi
call fcn.1400514b0
test al, al
je 0x14000c56c
lea rcx, str.Remove_the_last_added_weapon
call fcn.14004a480
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.1400201b0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
lea rcx, str.Remove_Weapon
call fcn.14004acf0
test al, al
je 0x14000c3dc
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x130], xmm1
mov r8d, 0x1a
lea rdx, str.ServerCF_NA_GAME_admin.db
lea rcx, [rsp + 0x120]
call fcn.14000d8a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov dword [rsp + 0xa0], 6
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0xb0], 5
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xe0]
call fcn.1400098a0
nop
lea rax, str.DELETE_FROM_US_USER_weapon_WHERE_rowid___SELECT_max_rowid__FROM_US_USER_weapon__
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0x51
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0xe8]
test rax, rax
je 0x14000c2a7
lock inc dword [rax + 8]
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xa0], xmm1
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x180]
call fcn.1400093c0
lea rcx, [rsp + 0x180]
call fcn.140009570
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Remove_Weapon_Success
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000c339
lea r8, str.Remove_Weapon_Success
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
mov ecx, edi
call fcn.140020e20
nop
mov rbx, qword [rsp + 0xe8]
test rbx, rbx
je 0x14000c379
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000c379
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14000c379
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x14000c3bf
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b78
movdqa xmm0, xmmword [0x140060f90]
movdqu xmmword [rsp + 0x130], xmm0
mov byte [rsp + 0x120], 0
jmp 0x14000c3dc
mov rbx, qword [0x140071bb0]
mov eax, dword [rbx + 0x41f0]
cmp dword [rbx + 0x41e0], eax
jg 0x14000c3fc
mov dword [rbx + 0x40f0], esi
jmp 0x14000c4a4
mov r8, qword [rbx + 0x3fe0]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
xor edx, edx
lea rcx, str.Remove_Weapon_Success
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000c441
lea r8, str.Remove_Weapon_Success
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
mov ecx, edi
call fcn.140021250
test al, al
je 0x14000c4a4
lea rcx, str.Last_weapon_removed_successfully.
call fcn.14004a480
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000c488
cmp byte [rbx + 0x42c5], 0
je 0x14000c488
cmp dword [rbx + 0x42a4], 0
jne 0x14000c488
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000c498
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
mov rbx, qword [0x140071bb0]
mov eax, dword [rbx + 0x41f0]
cmp dword [rbx + 0x41e0], eax
jg 0x14000c4c4
mov dword [rbx + 0x40f0], esi
jmp 0x14000c56c
mov r8, qword [rbx + 0x3fe0]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
xor edx, edx
lea rcx, str.Remove_Weapon_Failure
call fcn.140010630
mov edi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14000c509
lea r8, str.Remove_Weapon_Failure
mov edx, 0xb
mov ecx, eax
call fcn.1400325c0
mov ecx, edi
call fcn.140021250
test al, al
je 0x14000c56c
lea rcx, str.Failed_to_remove_weapon.
call fcn.14004a480
mov rbx, qword [0x140071bb0]
mov rax, qword [rbx + 0x3fe0]
cmp qword [rbx + 0x4268], rax
jne 0x14000c550
cmp byte [rbx + 0x42c5], 0
je 0x14000c550
cmp dword [rbx + 0x42a4], 0
jne 0x14000c550
or dword [rbx + 0x42c8], 2
test dword [rax + 0xc], 0x1000000
je 0x14000c560
mov byte [rbx + 0x3f72], 1
call fcn.14001ea80
mov byte [rbx + 0x3f72], 0
mov r8, qword [0x140071bb0]
mov rdx, qword [r8 + 0x3fe0]
cmp byte [rdx + 0xd0], 0
jne 0x14000c5ac
mov r8, qword [r8 + 0x4520]
test r8, r8
je 0x14000c5ac
movsx rax, word [r8 + 0x70]
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [r8 + 8]
test byte [rax + rcx*8 + 4], 8
jne 0x14000c5ac
dec dword [rdx + 0x108]
call fcn.140052fd0
call fcn.14001ea80
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400577f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.1400011c0
nop
call fcn.140001120
int3