Function at 0x1402f4fc0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13e0
call fcn.1403066b0
sub rsp, rax
movsxd rbx, dword [rdx + 0x504]
mov r15, qword [rdx + 0x510]
mov r13d, dword [rdx + 0x508]
xor r14d, r14d
mov r10, r9
mov r11, r8
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x50], ebx
mov r12, rbx
mov esi, r14d
mov qword [rsp + 0x48], rbx
test ebx, ebx
jle 0x1402f5036
lea rdi, [rsp + 0x190]
mov rax, 0xffffffffffffff38
mov rcx, rbx
rep stosd dword [rdi], eax
test ebx, ebx
jle 0x1402f504e
lea rdi, [rsp + 0x80]
mov rax, 0xffffffffffffff38
mov rcx, rbx
rep stosd dword [rdi], eax
test ebx, ebx
jle 0x1402f5080
mov r8, rbx
lea rcx, [rsp + 0x2a0]
xor edx, edx
shl r8, 2
call sub.MSVCR90.dll_memset
mov rdx, qword [rsp + 0x1428]
mov r10, qword [rsp + 0x1438]
mov r11, qword [rsp + 0x1430]
test ebx, ebx
jle 0x1402f5096
lea rdi, [rsp + 0x3b0]
mov eax, 1
mov rcx, rbx
rep stosd dword [rdi], eax
test ebx, ebx
jle 0x1402f50ab
lea rdi, [rsp + 0x4c0]
or rax, 0xffffffffffffffff
mov rcx, rbx
rep stosd dword [rdi], eax
mov qword [rsp + 0x13d8], rbp
test ebx, ebx
jne 0x1402f50e3
lea rax, [rsp + 0x5d0]
mov qword [rsp + 0x30], r15
mov r9d, r13d
xor r8d, r8d
mov rdx, r11
mov rcx, r10
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call fcn.1402f4300
mov esi, eax
jmp 0x1402f514f
lea ecx, [rbx - 1]
test ecx, ecx
jle 0x1402f5645
mov r14, qword [rsp + 0x1438]
mov r12, qword [rsp + 0x1430]
mov rax, rdx
lea rbx, [rsp + 0x5d0]
mov ebp, ecx
nop dword [rax + rax]
mov r9d, dword [rax + 4]
mov r8d, dword [rax]
lea rdi, [rax + 4]
mov qword [rsp + 0x30], r15
mov rdx, r12
mov rcx, r14
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbx
call fcn.1402f4300
add esi, eax
add rbx, 0x38
sub rbp, 1
mov rax, rdi
jne 0x1402f5110
mov r12, qword [rsp + 0x48]
xor r14d, r14d
mov ebx, r12d
test esi, esi
je 0x1402f5645
lea edx, [rbx - 1]
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x5d0]
mov dword [rsp + 0x40], 0xffffff38
mov dword [rsp + 0x44], 0xffffff38
mov qword [rsp + 0x20], r15
call fcn.1402f2c90
mov ebx, dword [rsp + 0x40]
mov ebp, dword [rsp + 0x44]
mov esi, 2
mov dword [rsp + 0x190], ebx
cmp rsi, r12
mov dword [rsp + 0x80], ebx
mov edi, esi
mov dword [rsp + 0x84], ebp
mov dword [rsp + 0x194], ebp
mov r13, rsi
jge 0x1402f54b2
mov rdx, qword [rsp + 0x1428]
lea rax, [rdx + 0x210]
mov qword [rsp + 0x48], rax
nop word [rax + rax]
movsxd rax, dword [rax]
mov qword [rsp + 0x78], rax
movsxd r14, dword [rsp + rax*4 + 0x3b0]
movsxd rax, dword [rsp + rax*4 + 0x2a0]
mov r15, rax
cmp dword [rsp + rax*4 + 0x4c0], r14d
je 0x1402f5480
mov ecx, dword [rdx + r14*4 + 0x208]
mov r10, qword [rsp + 0x60]
mov ebp, dword [rsp + rax*4 + 0x190]
mov edx, dword [r10 + r14*4 + 0x344]
mov dword [rsp + 0x68], ecx
mov dword [rsp + rax*4 + 0x4c0], r14d
test ebp, ebp
jns 0x1402f523e
mov ebp, dword [rsp + rax*4 + 0x80]
jmp 0x1402f524d
mov ecx, dword [rsp + rax*4 + 0x80]
test ecx, ecx
js 0x1402f524d
add ebp, ecx
sar ebp, 1
mov ebx, dword [rsp + r14*4 + 0x190]
test ebx, ebx
jns 0x1402f5263
mov ebx, dword [rsp + r14*4 + 0x80]
jmp 0x1402f5273
mov ecx, dword [rsp + r14*4 + 0x80]
test ecx, ecx
js 0x1402f5273
add ebx, ecx
sar ebx, 1
cmp ebp, 0xffffffff
je 0x1402f553d
cmp ebx, 0xffffffff
je 0x1402f553d
mov rax, qword [rsp + 0x1430]
mov ecx, dword [r10 + r15*4 + 0x344]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1438]
mov r9d, ebx
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.1402f40c0
test eax, eax
je 0x1402f5460
mov rax, qword [rsp + 0x48]
mov r11, qword [rsp + 0x1428]
lea r9, [rsp + 0x58]
mov edx, dword [rax]
movsxd rax, dword [r11 + r15*4 + 0x208]
lea r8, [rsp + 0x40]
sub edx, eax
mov dword [rsp + 0x40], 0xffffff38
mov dword [rsp + 0x58], 0xffffff38
imul rax, rax, 0x38
lea rcx, [rsp + rax + 0x5d0]
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x44], 0xffffff38
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x54], 0xffffff38
call fcn.1402f2c90
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x54]
sub eax, dword [rcx]
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x44]
imul rcx, rcx, 0x38
lea rcx, [rsp + rcx + 0x5d0]
mov edx, eax
call fcn.1402f2c90
mov r8d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x44]
test r8d, r8d
je 0x1402f536a
mov ecx, edx
jmp 0x1402f5372
mov ebp, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
test eax, eax
je 0x1402f537a
mov edx, ecx
jmp 0x1402f537e
mov ebx, dword [rsp + 0x54]
test r8d, r8d
je 0x1402f53ac
test eax, eax
je 0x1402f53ac
mov rdx, qword [rsp + 0x1428]
mov dword [rsp + r13*4 + 0x190], 0xffffff38
mov dword [rsp + r13*4 + 0x80], 0xffffff38
jmp 0x1402f5480
mov eax, dword [rsp + 0x190]
test r15d, r15d
mov dword [rsp + r15*4 + 0x80], ebp
cmove eax, ebp
mov dword [rsp + r13*4 + 0x80], edx
cmp r14d, 1
mov dword [rsp + 0x190], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + r13*4 + 0x190], ecx
cmove eax, ebx
mov r8d, r15d
mov dword [rsp + r14*4 + 0x190], ebx
mov dword [rsp + 0x84], eax
test ecx, ecx
jns 0x1402f5400
test edx, edx
js 0x1402f5456
mov rax, qword [rsp + 0x48]
mov edx, dword [rax]
lea eax, [rdx - 1]
movsxd rcx, eax
test eax, eax
js 0x1402f5428
cmp dword [rsp + rcx*4 + 0x3b0], r14d
jne 0x1402f5428
mov dword [rsp + rcx*4 + 0x3b0], edi
sub rcx, 1
jns 0x1402f5411
lea eax, [rdx + 1]
movsxd rcx, eax
cmp rcx, r12
jge 0x1402f5456
cmp dword [rsp + rcx*4 + 0x2a0], r8d
jne 0x1402f5456
mov dword [rsp + rcx*4 + 0x2a0], edi
inc rcx
cmp rcx, r12
jl 0x1402f5433
mov rdx, qword [rsp + 0x1428]
jmp 0x1402f5480
mov rdx, qword [rsp + 0x1428]
jmp 0x1402f5480
mov rdx, qword [rsp + 0x1428]
mov dword [rsp + r13*4 + 0x190], 0xffffff38
mov dword [rsp + r13*4 + 0x80], 0xffffff38
mov rax, qword [rsp + 0x48]
inc r13
inc edi
add rax, 4
cmp r13, r12
mov qword [rsp + 0x48], rax
jl 0x1402f51e0
mov ebp, dword [rsp + 0x194]
mov ebx, dword [rsp + 0x80]
mov r15, qword [rsp + 0x60]
xor r14d, r14d
mov r13, qword [rsp + 0x1420]
mov edi, dword [rsp + 0x50]
mov eax, dword [r13 + 0x60]
lea edi, [rdi*4 + 7]
and edi, 0xfffffff8
lea ecx, [rdi + rax]
cmp ecx, dword [r13 + 0x64]
jle 0x1402f5515
cmp qword [r13 + 0x58], 0
je 0x1402f5501
mov ecx, recvfrom
call sub.MSVCR90.dll_malloc
mov ecx, dword [r13 + 0x60]
add dword [r13 + 0x68], ecx
mov rcx, qword [r13 + 0x70]
mov qword [rax + 8], rcx
mov rcx, qword [r13 + 0x58]
mov qword [rax], rcx
mov qword [r13 + 0x70], rax
movsxd rcx, edi
mov dword [r13 + 0x64], edi
call sub.MSVCR90.dll_malloc
mov dword [r13 + 0x60], r14d
mov qword [r13 + 0x58], rax
movsxd rax, dword [r13 + 0x60]
mov r14, rax
add eax, edi
add r14, qword [r13 + 0x58]
cmp dword [rsp + 0x190], 0
mov dword [r13 + 0x60], eax
jl 0x1402f5554
test ebx, ebx
jns 0x1402f5549
mov ebx, dword [rsp + 0x190]
jmp 0x1402f5554
mov ecx, 1
call qword [sym.imp.MSVCR90.dll_exit]
int3
mov eax, dword [rsp + 0x190]
add ebx, eax
sar ebx, 1
mov dword [r14], ebx
test ebp, ebp
jns 0x1402f5564
mov ebp, dword [rsp + 0x84]
jmp 0x1402f5579
cmp dword [rsp + 0x84], 0
jl 0x1402f5579
mov eax, dword [rsp + 0x84]
add ebp, eax
sar ebp, 1
cmp rsi, r12
mov dword [r14 + 4], ebp
jge 0x1402f5645
mov r11, qword [rsp + 0x1428]
lea rbx, [r15 + 0x34c]
add r11, 0x30c
nop dword [rax]
movsxd rax, dword [r11 + 0xfc]
movsxd rdi, dword [r11]
mov ecx, dword [rbx]
mov r8d, dword [r15 + rax*4 + 0x344]
mov r10d, dword [r14 + rax*4]
mov r9d, dword [r14 + rdi*4]
sub ecx, r8d
and r10d, 0x7fff
and r9d, 0x7fff
sub r9d, r10d
mov eax, r9d
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov ecx, dword [r15 + rdi*4 + 0x344]
sub ecx, r8d
cdq
idiv ecx
test r9d, r9d
jns 0x1402f55f3
sub r10d, eax
jmp 0x1402f55f6
add r10d, eax
mov eax, dword [rsp + rsi*4 + 0x190]
test eax, eax
jns 0x1402f560a
mov eax, dword [rsp + rsi*4 + 0x80]
jmp 0x1402f5619
mov ecx, dword [rsp + rsi*4 + 0x80]
test ecx, ecx
js 0x1402f5619
add eax, ecx
sar eax, 1
test eax, eax
js 0x1402f5628
cmp r10d, eax
je 0x1402f5628
mov dword [r14 + rsi*4], eax
jmp 0x1402f5631
bts r10d, 0xf
mov dword [r14 + rsi*4], r10d
inc rsi
add r11, 4
add rbx, 4
cmp rsi, r12
jl 0x1402f55a0
mov rax, r14
mov rbp, qword [rsp + 0x13d8]
add rsp, 0x13e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret