Function at 0x140009b00
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 0x140009b67
mov r8d, 0x410
lea rdx, [0x14006fee0]
lea rcx, [0x14006eea0]
call fcn.140032f70
mov r8d, 0x410
lea rdx, [0x1400702f0]
lea rcx, [0x14006f2b0]
call fcn.140032f70
mov eax, dword [0x14006b65c]
mov dword [0x14006b654], eax
jmp 0x140009bb5
cmp dword [0x14006ee98], 0
je 0x140009b77
jmp case.0x140009bf6.3
mov r8d, 0x410
lea rdx, [0x14006f6c0]
lea rcx, [0x14006eea0]
call fcn.140032f70
mov r8d, 0x410
lea rdx, [0x14006fad0]
lea rcx, [0x14006f2b0]
call fcn.140032f70
mov eax, dword [0x14006b658]
mov dword [0x14006b654], eax
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0x65
ja case.0x140009bf6.3
movsxd rax, dword [rsp + 0x110]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa338]
mov eax, dword [rcx + rax*4 + 0xa304]
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.14000a3c0
mov rcx, qword [rsp + 0x140]
call fcn.14000a560
jmp case.0x140009bf6.3
mov ecx, 0x20470
call fcn.14003368c
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.1400335a0
mov rax, qword [rsp + 0x148]
inc rax
mov r8d, 0x20470
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.140032f70
lea rdx, [rsp + 0x48]
lea rcx, [0x140070700]
call fcn.140012bc0
lea rdx, [rsp + 0xb8]
lea rcx, [0x140070700]
call fcn.140012bf0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001cca0
movzx eax, al
test eax, eax
je 0x140009db3
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x48]
call fcn.14000be90
mov rax, qword [rax]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x118]
mov rdx, rcx
mov rcx, rax
call fcn.140033dc8
test eax, eax
jne 0x140009da4
mov rax, qword [rsp + 0x40]
add rax, 0x202
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x48]
call fcn.14000be90
mov rax, qword [rax]
mov rax, qword [rax]
add rax, 0x202
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
mov rcx, rax
call fcn.1400092a0
lea rcx, [rsp + 0x48]
call fcn.14000be90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rax]
lea r8, [0x1400094c0]
xor edx, edx
xor ecx, ecx
call fcn.1400349d8
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x140009d9d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140032f4c
mov qword [rsp + 0x40], 0
jmp case.0x140009bf6.3
lea rcx, [rsp + 0x48]
call fcn.14000beb0
jmp 0x140009c8c
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.140034068
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.140032f70
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
call fcn.14000ce10
cmp qword [rsp + 0x40], 0
je 0x140009e62
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140032f4c
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x30], 0
je 0x140009e8d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140032f4c
mov qword [rsp + 0x30], 0
jmp case.0x140009bf6.3
mov ecx, 0x20470
call fcn.14003368c
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.1400335a0
mov rax, qword [rsp + 0x148]
inc rax
mov r8d, 0x20470
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140032f70
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.140032f70
movsxd rax, dword [rsp + 0x70]
mov rcx, rax
call fcn.140034068
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.140032f70
mov ecx, reloc.WS2_32.dll_recv
call fcn.14003368c
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, [0x140070700]
call fcn.14000bb50
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x1400094c0]
xor edx, edx
xor ecx, ecx
call fcn.1400349d8
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x140009bf6.3
mov rcx, qword [rsp + 0x140]
call fcn.14000a3c0
lea r9, [0x14005679c]
lea r8, [0x140056858]
mov edx, 2
mov rcx, qword [0x14006ee90]
call fcn.14000ce60
jmp case.0x140009bf6.3
mov ecx, 0x20470
call fcn.14003368c
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.1400335a0
mov eax, dword [rsp + 0x150]
dec eax
mov eax, eax
mov ecx, eax
call fcn.140034068
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.140032f70
mov ecx, reloc.WS2_32.dll_recv
call fcn.14003368c
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, [0x1400094c0]
xor edx, edx
xor ecx, ecx
call fcn.1400349d8
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x140009bf6.3
mov rcx, qword [rsp + 0x140]
call fcn.14000a560
jmp case.0x140009bf6.3
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call fcn.14000a740
jmp case.0x140009bf6.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, [0x14000b650]
xor edx, edx
xor ecx, ecx
call fcn.1400349d8
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x140009bf6.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.140032f70
mov edx, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x140]
call fcn.14000b0e0
test eax, eax
je 0x14000a24d
lea r9, [0x1400567bc]
lea r8, [0x140056868]
mov edx, 2
mov rcx, qword [0x14006ee90]
call fcn.14000ce60
jmp 0x14000a26c
lea r9, [0x140056814]
lea r8, [0x140056878]
mov edx, 2
mov rcx, qword [0x14006ee90]
call fcn.14000ce60
jmp case.0x140009bf6.3
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + 1]
mov byte [rsp + 0x128], al
cmp byte [rsp + 0x128], 0
je 0x14000a29a
cmp byte [rsp + 0x128], 1
je 0x14000a2bf
jmp 0x14000a2e2
mov rax, qword [rsp + 0x148]
add rax, 2
mov r8, rax
lea rdx, [0x140056888]
mov rcx, qword [rsp + 0x140]
call fcn.14000b530
jmp 0x14000a2e2
mov rax, qword [rsp + 0x148]
add rax, 2
mov r8, rax
lea rdx, str.BEIZHU
mov rcx, qword [rsp + 0x140]
call fcn.14000b530
jmp case.0x140009bf6.3
mov dword [0x14006ee98], 1
jmp case.0x140009bf6.3
mov dword [0x14006ee98], 0
add rsp, 0x138
ret