Function at 0x140004c40
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x220
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400a94c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x120]
call fcn.140007160
mov rcx, rax
call fcn.140010000
mov qword [rbp + 0x50], rax
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 0x19]
lea rcx, [rbp + 0xe0]
call fcn.140006de0
mov rcx, rax
call fcn.14000f4e0
mov qword [rbp + 0x58], rax
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
call fcn.140004c00
mov qword [rbp + 0x80], rax
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 0x1a]
lea rcx, [rbp + 0x140]
call fcn.140007540
mov rcx, rax
call fcn.14000f9d0
mov qword [rbp + 0x60], rax
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 0x1b]
lea rcx, [rbp + 0xf0]
call fcn.140007450
mov rcx, rax
call fcn.14000f4e0
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
call fcn.140004c00
mov qword [rbp + 0x90], rax
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 8]
movzx r8d, byte [rbp + 9]
movzx edx, byte [rbp + 0x1c]
lea rcx, [rbp + 0x100]
call fcn.140007750
mov rcx, rax
call fcn.140010dd0
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xa]
movzx r8d, byte [rbp + 0xb]
movzx edx, byte [rbp + 0x1d]
lea rcx, [rbp + 0x110]
call fcn.140007660
mov rcx, rax
call fcn.14000f4e0
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
call fcn.140004c00
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x14], 0x10000
mov eax, dword [rsp + 0x240]
mov dword [rbp + 0x10], eax
mov r8d, dword [rsp + 0x240]
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140004e80
mov eax, 1
jmp 0x1400051df
mov eax, dword [rbp + 0x14]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x88], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x14]
mov rdx, qword [rbp + 0x28]
mov ecx, reloc.WS2_32.dll_recv
call qword [rbp + 0x88]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 0xc0000004
jne 0x140004edc
mov eax, dword [rbp + 0x14]
shl eax, 1
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rbp + 0x28], rax
jmp 0x140004e8f
cmp dword [rbp + 0x30], 0
jge 0x140004eec
mov eax, 1
jmp 0x1400051df
mov dword [rbp + 0x10], 0
jmp 0x140004efd
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp dword [rbp + 0x10], eax
jae 0x1400051c9
mov eax, dword [rbp + 0x10]
imul rax, rax, 0x18
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x28]
mov rdi, rcx
lea rsi, [rdx + rax + 8]
mov ecx, Ordinal_27
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0x1a0], 0
mov eax, dword [rsp + 0x240]
cmp dword [rbp + 0xc8], eax
je 0x140004f49
jmp 0x140004ef5
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movzx ecx, word [rbp + 0xce]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x1a0]
mov r8, rax
mov edx, ecx
mov rcx, qword [rbp + 0x48]
call qword [rbp + 0x98]
test eax, eax
jge 0x140004fa9
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
jmp 0x140004ef5
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rbp + 0x38]
mov edx, 2
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0xa0]
test eax, eax
jge 0x14000500c
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ef5
cmp dword [rbp + 0xd8], 0x12019f
jne 0x140005042
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ef5
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
mov r8, qword [rbp + 0x20]
mov edx, 1
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0xa8]
test eax, eax
jge 0x140005107
mov eax, dword [rbp + 0x1a8]
mov edx, eax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0xb0], rax
mov qword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x1a8]
mov r8, qword [rbp + 0x20]
mov edx, 1
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0xb0]
test eax, eax
jge 0x140005107
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ef5
lea rax, [rbp + 0xb8]
mov rdi, rax
mov rsi, qword [rbp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rbp + 0xb8]
test eax, eax
je 0x140005195
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xd]
movzx edx, byte [rbp + 0x1e]
lea rcx, [rbp + 0x160]
call fcn.140007950
mov rcx, rax
call fcn.140011390
mov rdx, rax
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x140005185
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
jmp 0x1400051a3
mov eax, dword [0x1400a9c20]
inc eax
mov dword [0x1400a9c20], eax
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ef5
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140085270
add rsp, 0x220
pop rdi
pop rsi
pop rbp
ret