Function at 0x14000b170
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [rsp + 0x140]
cmp dword [rax + 0x230], 0
je 0x14000b1d7
mov r8d, 0x410
lea rdx, [0x1400b5420]
lea rcx, [0x1400b43e0]
call fcn.1400555f0
mov r8d, 0x410
lea rdx, [0x1400b5830]
lea rcx, [0x1400b47f0]
call fcn.1400555f0
mov eax, dword [0x1400b065c]
mov dword [0x1400b0654], eax
jmp 0x14000b225
cmp dword [0x1400b43d8], 0
je 0x14000b1e7
jmp case.0x14000b266.3
mov r8d, 0x410
lea rdx, [0x1400b4c00]
lea rcx, [0x1400b43e0]
call fcn.1400555f0
mov r8d, 0x410
lea rdx, [0x1400b5010]
lea rcx, [0x1400b47f0]
call fcn.1400555f0
mov eax, dword [0x1400b0658]
mov dword [0x1400b0654], eax
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0x65
ja case.0x14000b266.3
movsxd rax, dword [rsp + 0x110]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xb9a8]
mov eax, dword [rcx + rax*4 + 0xb974]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x140]
add rax, 0x234
mov ecx, 1
xchg dword [rax], ecx
mov rcx, qword [rsp + 0x140]
call fcn.14000ba80
mov rcx, qword [rsp + 0x140]
call fcn.14000bc20
jmp case.0x14000b266.3
mov ecx, 0x20470
call fcn.140055d6c
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov r8d, 0x20470
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140055c80
mov rax, qword [rsp + 0x148]
inc rax
mov r8d, 0x20470
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400555f0
lea rdx, [rsp + 0x48]
lea rcx, [0x1400b5c40]
call fcn.14000d210
lea rdx, [rsp + 0xb8]
lea rcx, [0x1400b5c40]
call fcn.14000d240
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
movzx eax, al
test eax, eax
je 0x14000b423
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x48]
call fcn.14000d5b0
mov rax, qword [rax]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x118]
mov rdx, rcx
mov rcx, rax
call fcn.1400567e0
test eax, eax
jne 0x14000b414
mov rax, qword [rsp + 0x40]
add rax, 0x202
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x48]
call fcn.14000d5b0
mov rax, qword [rax]
mov rax, qword [rax]
add rax, 0x202
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
mov rcx, rax
call fcn.14000a910
lea rcx, [rsp + 0x48]
call fcn.14000d5b0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rax]
lea r8, [0x14000ab30]
xor edx, edx
xor ecx, ecx
call fcn.140057678
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x14000b40d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400555d0
mov qword [rsp + 0x40], 0
jmp case.0x14000b266.3
lea rcx, [rsp + 0x48]
call fcn.14000d5d0
jmp 0x14000b2fc
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x38], 0x20471
mov eax, dword [rsp + 0x38]
mov ecx, eax
call fcn.140056a80
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov byte [rax], 5
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x400], 1
mov eax, dword [rsp + 0x38]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
inc rcx
mov r8d, eax
mov rdx, qword [rsp + 0x40]
call fcn.1400555f0
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
call fcn.14000e710
cmp qword [rsp + 0x40], 0
je 0x14000b4d2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400555d0
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x30], 0
je 0x14000b4fd
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400555d0
mov qword [rsp + 0x30], 0
jmp case.0x14000b266.3
mov ecx, 0x20470
call fcn.140055d6c
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov r8d, 0x20470
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140055c80
mov rax, qword [rsp + 0x148]
inc rax
mov r8d, 0x20470
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400555f0
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x148]
add rax, 0x20471
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400555f0
movsxd rax, dword [rsp + 0x70]
mov rcx, rax
call fcn.140056a80
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x148]
add rcx, 0x20475
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call fcn.1400555f0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140055d6c
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x404], ecx
lea rdx, [rsp + 0x60]
lea rcx, [0x1400b5c40]
call fcn.14000d270
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x14000ab30]
xor edx, edx
xor ecx, ecx
call fcn.140057678
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x14000b266.3
mov rcx, qword [rsp + 0x140]
call fcn.14000ba80
lea r9, [0x14008c9fc]
lea r8, [0x14008cab8]
mov edx, 2
mov rcx, qword [0x1400b43d0]
call fcn.14000e7e0
jmp case.0x14000b266.3
mov ecx, 0x20470
call fcn.140055d6c
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x80], rax
mov r8d, 0x20470
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140055c80
mov eax, dword [rsp + 0x150]
dec eax
mov eax, eax
mov ecx, eax
call fcn.140056a80
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x150]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x148]
inc rcx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x98]
call fcn.1400555f0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140055d6c
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 8], rcx
mov eax, dword [rsp + 0x150]
dec eax
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov dword [rcx + 0x404], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov dword [rax], 2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x88]
lea r8, [0x14000ab30]
xor edx, edx
xor ecx, ecx
call fcn.140057678
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x14000b266.3
mov rcx, qword [rsp + 0x140]
call fcn.14000bc20
jmp case.0x14000b266.3
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.14000be00
jmp case.0x14000b266.3
mov dword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x148]
inc rax
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000cd10]
xor edx, edx
xor ecx, ecx
call fcn.140057678
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x14000b266.3
mov dword [rsp + 0xac], 0
mov rax, qword [rsp + 0x148]
inc rax
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0xac]
call fcn.1400555f0
mov edx, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x140]
call fcn.14000c7a0
test eax, eax
je 0x14000b8bd
lea r9, [0x14008ca1c]
lea r8, [0x14008cac8]
mov edx, 2
mov rcx, qword [0x1400b43d0]
call fcn.14000e7e0
jmp 0x14000b8dc
lea r9, [0x14008ca74]
lea r8, [0x14008cad8]
mov edx, 2
mov rcx, qword [0x1400b43d0]
call fcn.14000e7e0
jmp case.0x14000b266.3
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + 1]
mov byte [rsp + 0x128], al
cmp byte [rsp + 0x128], 0
je 0x14000b90a
cmp byte [rsp + 0x128], 1
je 0x14000b92f
jmp 0x14000b952
mov rax, qword [rsp + 0x148]
add rax, 2
mov r8, rax
lea rdx, [0x14008cae8]
mov rcx, qword [rsp + 0x140]
call fcn.14000cbf0
jmp 0x14000b952
mov rax, qword [rsp + 0x148]
add rax, 2
mov r8, rax
lea rdx, str.BEIZHU
mov rcx, qword [rsp + 0x140]
call fcn.14000cbf0
jmp case.0x14000b266.3
mov dword [0x1400b43d8], 1
jmp case.0x14000b266.3
mov dword [0x1400b43d8], 0
add rsp, 0x138
ret