Function at 0x18005cb20
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
cmp qword [rsp + 0xa8], 0
jne 0x18005cb48
xor eax, eax
jmp 0x18005d76d
mov eax, dword [rsp + 0xa0]
not eax
mov dword [rsp + 0xa0], eax
cmp qword [rsp + 0xb0], 0x17
jb 0x18005d46f
cmp qword [rsp + 0xb0], 0
je 0x18005cbe4
mov rax, qword [rsp + 0xa8]
and rax, 3
test rax, rax
je 0x18005cbe4
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, [0x18006c040]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x18005cb67
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov ecx, shutdown
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 0x18005d043
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 0x18005cf51
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, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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 0x18005ce01
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 4
jge 0x18005cf4c
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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, [0x18006c840]
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 0x18005cdf7
jmp 0x18005cc68
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.18005d960
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.18005d960
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.18005d960
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.18005d960
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.18005d960
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
jmp 0x18005d462
mov ecx, dword [rsp + 0xa0]
call fcn.18005da80
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 0x18005d37d
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, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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 0x18005d221
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 4
jge 0x18005d378
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x400
lea rcx, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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, [0x18006d840]
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 0x18005d217
jmp 0x18005d076
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.18005d9c0
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.18005d9c0
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.18005d9c0
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.18005d9c0
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.18005d9c0
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.18005da80
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xb0], 8
jb 0x18005d6f7
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
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, [0x18006c040]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x18005d46f
cmp qword [rsp + 0xb0], 0
je 0x18005d763
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, [0x18006c040]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x18005d6f7
mov eax, dword [rsp + 0xa0]
xor eax, 0xffffffff
add rsp, 0x90
pop rdi
ret