Function at 0x1800089f0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1800b80b8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rbp - 0x60], r13
mov byte [rbp - 0x70], r13b
lea r8d, [r13 + 0x12]
lea rdx, str.download_reg_begin
lea rcx, [rbp - 0x70]
call fcn.180003920
nop
lea rcx, [rbp - 0x70]
call fcn.180007420
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x180008aba
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x180008ab5
test cl, 0x1f
je 0x180008a88
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180008a97
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180008aa6
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180008ab2
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov rax, qword [rbp + 0x120]
mov ecx, dword [rax]
cmp dword [r14], ecx
jge 0x180008b62
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r13
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.no_support
lea rcx, [rbp - 0x70]
call fcn.180003920
nop
lea rcx, [rbp - 0x70]
call fcn.180007420
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x180008b53
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x180008b4e
test cl, 0x1f
je 0x180008b21
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180008b30
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180008b3f
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180008b4b
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov byte [r14 + 0x258], 0
mov al, 1
jmp 0x180008ffa
lea rdx, [r14 + 0x1c0]
mov qword [rbp + 8], 7
mov qword [rbp], r13
mov word [rbp - 0x10], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x10]
call fcn.180002880
nop
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r13
mov byte [rsp + 0x70], 0
xor r8d, r8d
lea rdx, [0x1800a65c2]
lea rcx, [rsp + 0x70]
call fcn.180003920
nop
xor r12b, r12b
mov dword [rsp + 0x50], r13d
cmp qword [rbx + 0x18], 0x10
jb 0x180008bc3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180007350
nop
mov rdi, r13
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x68], r13d
mov qword [rbp - 0x60], r13
mov qword [rsp + 0x58], r13
cmp qword [rbp + 8], 8
mov rdx, qword [rbp - 0x10]
jae 0x180008bf3
lea rdx, [rbp - 0x10]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [case.0x180007041.0]
test eax, eax
jne 0x180008c1e
mov rdi, qword [rsp + 0x58]
jmp 0x180008c78
mov qword [rsp + 0x60], r13
cmp qword [rbp + 8], 8
mov rdx, qword [rbp - 0x10]
jae 0x180008c32
lea rdx, [rbp - 0x10]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [0x18008bb88]
test eax, eax
jne 0x180008f5c
mov rdi, qword [rsp + 0x60]
mov dword [rbp - 0x68], r13d
mov qword [rbp - 0x70], rdi
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, rdi
call qword [0x18008bba8]
test eax, eax
jne 0x180008e06
cmp dword [rsp + 0x58], 3
jne 0x180008e06
mov edx, dword [rsp + 0x50]
mov rax, qword [rbp - 0x80]
cmp rdx, rax
ja 0x180008ce8
mov qword [rbp - 0x80], rdx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rdx + rax], 0
jmp 0x180008cf8
sub rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.180002ac0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, rdi
call qword [0x18008bba8]
mov byte [rbp + 0x98], 0
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x30], 0x67452301
mov dword [rbp + 0x34], 0xefcdab89
mov dword [rbp + 0x38], 0x98badcfe
mov dword [rbp + 0x3c], 0x10325476
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.18000f1d0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.18000fe80
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
cmp qword [rsi + 0x18], 0x10
jb 0x180008da3
mov rcx, qword [rsi]
jmp 0x180008da6
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180008dec
mov r12b, 1
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r13
mov byte [rbp + 0x10], al
lea r8d, [rax + 0xa]
lea rdx, str.md5_update
lea rcx, [rbp + 0x10]
call fcn.180003920
nop
lea rcx, [rbp + 0x10]
call fcn.180007420
nop
lea rcx, [rbp + 0x10]
call fcn.180003310
nop
lea rcx, [rbp - 0x50]
call fcn.180003310
test r12b, r12b
jne 0x180008e06
mov byte [r14 + 0x258], r12b
jmp 0x180008f58
mov qword [rbp - 0x80], r13
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], 0
mov ebx, r13d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.180010280
test al, al
jne 0x180008e4d
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x180008e20
jmp 0x180008f96
cmp ebx, 3
jge 0x180008f96
mov byte [rbp + 0x98], 0
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x30], 0x67452301
mov dword [rbp + 0x34], 0xefcdab89
mov dword [rbp + 0x38], 0x98badcfe
mov dword [rbp + 0x3c], 0x10325476
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.18000f1d0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.18000fe80
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
cmp qword [rsi + 0x18], 0x10
jb 0x180008ec0
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180008f0b
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r13
mov byte [rbp + 0x10], al
lea r8d, [rax + 0x12]
lea rdx, str.md5_vertify_failed
lea rcx, [rbp + 0x10]
call fcn.180003920
nop
lea rcx, [rbp + 0x10]
call fcn.180007420
nop
lea rcx, [rbp + 0x10]
call fcn.180003310
nop
jmp 0x180008f8d
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
call qword [0x18008bbb0]
mov byte [r14 + 0x258], 1
lea rcx, [rbp - 0x50]
call fcn.180003310
mov bl, 1
jmp 0x180008f98
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x50], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.open_or_create_failed
lea rcx, [rbp - 0x50]
call fcn.180003920
nop
lea rcx, [rbp - 0x50]
call fcn.180007420
nop
lea rcx, [rbp - 0x50]
call fcn.180003310
xor bl, bl
test rdi, rdi
je 0x180008fa7
mov rcx, rdi
call qword [0x18008bb70]
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x180008fc1
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180002ed0
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r13
mov word [rbp - 0x30], r13w
lea rcx, [rsp + 0x70]
call fcn.180003310
nop
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x180008ff7
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.180002ed0
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18005c430
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret