Function at 0x180305780
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x90
lea rcx, [0x1804baa39]
call fcn.1801a9330
cmp qword [rsp + 0xa8], 0
jne 0x1803057b4
xor eax, eax
jmp 0x1803063d9
mov eax, dword [rsp + 0xa0]
not eax
mov dword [rsp + 0xa0], eax
cmp qword [rsp + 0xb0], 0x17
jb 0x1803060db
cmp qword [rsp + 0xb0], 0
je 0x180305850
mov rax, qword [rsp + 0xa8]
and rax, 3
test rax, rax
je 0x180305850
mov rax, qword [rsp + 0xb0]
dec rax
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x1803057d3
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov ecx, reloc.WS2_32.dll_sendto
div rcx
mov qword [rsp + 0x20], rax
imul rax, qword [rsp + 0x20], 5
shl rax, 2
mov rcx, qword [rsp + 0xb0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180305caf
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0x20]
dec rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180305bbd
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x50]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x58]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x3c]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x38], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x40], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x4c]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x48], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x54]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x50], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x34], 1
jmp 0x180305a6d
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 4
jge 0x180305bb8
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x3c]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x44]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x4c]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x54]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x50]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040bd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x5c]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x58]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x180305a63
jmp 0x1803058d4
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.180306610
mov dword [rsp + 0xa0], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0xa0]
mov ecx, eax
call fcn.180306610
mov dword [rsp + 0xa0], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0xa0]
mov ecx, eax
call fcn.180306610
mov dword [rsp + 0xa0], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x50]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0xa0]
mov ecx, eax
call fcn.180306610
mov dword [rsp + 0xa0], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x58]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0xa0]
mov ecx, eax
call fcn.180306610
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
jmp 0x1803060ce
mov ecx, dword [rsp + 0xa0]
call fcn.180306770
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x20]
dec rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180305fe9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x60]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x6c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x74]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x84]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x64]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x60], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x70]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x6c], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x78]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x74], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x80]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x7c], eax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x88]
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x34], 1
jmp 0x180305e8d
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 4
jge 0x180305fe4
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x64]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x60]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x70]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x6c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x78]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x74]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x80]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18040cd50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
shl ecx, 3
mov edx, dword [rsp + 0x88]
shr edx, cl
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x84]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
jmp 0x180305e83
jmp 0x180305ce2
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x60]
xor ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.180306680
mov dword [rsp + 0x68], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x6c]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.180306680
mov dword [rsp + 0x68], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x74]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.180306680
mov dword [rsp + 0x68], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x7c]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.180306680
mov dword [rsp + 0x68], eax
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov ecx, dword [rsp + 0x84]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.180306680
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x68]
call fcn.180306770
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xb0], 8
jb 0x180306363
mov rax, qword [rsp + 0xb0]
sub rax, 8
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x1803060db
cmp qword [rsp + 0xb0], 0
je 0x1803063cf
mov rax, qword [rsp + 0xb0]
dec rax
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xa0]
shr eax, 8
mov rcx, qword [rsp + 0xa8]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18040b550]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x180306363
mov eax, dword [rsp + 0xa0]
xor eax, 0xffffffff
add rsp, 0x90
pop rdi
ret