Function at 0x140045100
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov rbx, qword [rsp + 0x140]
mov r14, rdx
mov r15, qword [r8]
mov r12, rcx
mov edi, dword [rsp + 0x150]
add r15, rdx
mov rdx, qword [rsp + 0x148]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
mov r11, r9
mov qword [rsp + 0x40], r15
mov r13, rbx
mov rax, qword [rdx]
lea r9, [rax + rbx]
mov qword [rsp + 0x48], r9
and edi, 4
je 0x14004516d
mov rax, rcx
jmp 0x140045176
sub rax, r11
dec rax
add rax, rbx
lea r10, [rax + 1]
mov qword [rsp + 0x38], rax
test rax, r10
jne 0x140046538
cmp rbx, r11
jb 0x140046538
mov rax, qword [r12 + 0x40]
mov r11d, 1
mov r8d, dword [r12 + 0x20]
mov edx, dword [r12 + 0x28]
mov ebx, dword [r12 + 4]
mov qword [rsp + 0x120], rbp
mov ebp, dword [r12 + 0x24]
mov qword [rsp + 0x30], rax
mov eax, dword [r12]
mov qword [rsp + 0xe0], rsi
mov rsi, qword [r12 + 0x38]
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x2c], edx
cmp eax, 0x35
ja case.default.0x1400451f8
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x46558]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
mov eax, dword [rsp + 0x150]
xor ebp, ebp
xor ebx, ebx
mov qword [r12 + 8], 0
xor esi, esi
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], ebp
mov dword [r12 + 0x1c], r11d
mov dword [r12 + 0x10], r11d
test r11b, al
je 0x1400457e6
jmp 0x140045238
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x128]
cmp rcx, r15
jb 0x140045250
test al, 2
mov dword [r12], r11d
jmp 0x140046320
movzx eax, byte [rcx]
lea r14, [rcx + 1]
mov dword [r12 + 8], eax
cmp r14, r15
jb 0x14004526e
mov dword [r12], 2
jmp 0x140046318
movzx r9d, byte [r14]
mov eax, 0x8421085
mov r8d, dword [r12 + 8]
inc r14
mov ecx, r8d
mov dword [r12 + 0xc], r9d
shl ecx, 8
add ecx, r9d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x1400452b4
test r9b, 0x20
jne 0x1400452b4
mov eax, r8d
and al, 0xf
cmp al, 8
jne 0x1400452b4
xor ebp, ebp
jmp 0x1400452b7
mov ebp, r11d
test edi, edi
jne 0x1400452dd
shr r8d, 4
mov eax, r11d
lea ecx, [r8 + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x1400452d8
cmp r10, rax
jb 0x1400452d8
xor eax, eax
jmp 0x1400452db
mov eax, r11d
or ebp, eax
test ebp, ebp
jne case.0x1400451f8.36
mov r9, qword [rsp + 0x48]
jmp 0x1400457e6
or rax, 0xffffffffffffffff
mov dword [r12], Ordinal_41
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov rdx, qword [rsp + 0x30]
mov r10, qword [rsp + 0x138]
jmp 0x140045506
cmp r14, r15
jae 0x1400461f3
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, edx
jb case.0x1400451f8.25
mov ecx, edx
mov eax, r11d
shl eax, cl
sub ebx, edx
dec eax
and eax, esi
shr rsi, cl
add ebp, eax
cmp ebx, 0xf
jae 0x1400453fa
mov rax, r15
sub rax, r14
cmp rax, 2
jge 0x1400453d9
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0xf08]
test edi, edi
js 0x140045383
sar edi, 9
test edi, edi
je case.0x1400451f8.26
cmp ebx, edi
jae 0x1400453fa
jmp case.0x1400451f8.26
cmp ebx, 0xa
jbe case.0x1400451f8.26
mov ecx, 0xa
nop dword [rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x1708]
test edi, edi
jns 0x1400453fa
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x140045390
cmp r14, r15
jae 0x140046033
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 0xf
jb 0x14004535d
jmp 0x1400453fa
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0xf08]
test eax, eax
js 0x14004541b
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x14004543f
mov ecx, 0xa
not eax
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x1708]
test eax, eax
js 0x140045420
shr rsi, cl
sub ebx, ecx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x3f1da0]
mov r8d, dword [rcx + rax*4 + 0x3f1d20]
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r8d
test edx, edx
je 0x1400454a2
cmp ebx, edx
jae 0x14004548a
cmp r14, r15
jae 0x140046040
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, edx
jb case.0x1400451f8.27
mov ecx, edx
mov eax, r11d
shl eax, cl
sub ebx, edx
dec eax
and eax, esi
shr rsi, cl
add r8d, eax
mov dword [rsp + 0x28], r8d
mov r10, qword [rsp + 0x138]
mov rdx, r13
sub rdx, r10
mov qword [rsp + 0x30], rdx
test r8d, r8d
je 0x1400454c7
mov eax, r8d
cmp rax, rdx
ja 0x1400454c7
test rdx, rdx
jne 0x1400454d5
test byte [rsp + 0x150], 4
jne case.0x1400451f8.37
mov eax, r8d
mov rdi, rdx
sub rdi, rax
mov ecx, ebp
and rdi, qword [rsp + 0x38]
add rdi, r10
cmp r13, rdi
mov rax, rdi
cmova rax, r13
add rax, rcx
cmp rax, r9
jbe 0x140045533
mov eax, ebp
dec ebp
test eax, eax
je 0x1400455c5
cmp r13, r9
jae 0x14004604d
mov eax, r8d
mov rcx, rdx
sub rcx, rax
and rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + r10]
mov byte [r13], al
inc r13
inc rdx
mov qword [rsp + 0x30], rdx
jmp 0x1400454fa
cmp ebp, 9
jb 0x14004556c
cmp ebp, r8d
ja 0x14004556c
mov edx, 0xfffffff8
and rcx, rdx
add rcx, rdi
nop dword [rax + rax]
mov rax, qword [rdi]
add rdi, 8
mov qword [r13], rax
add r13, 8
cmp rdi, rcx
jb 0x140045550
and ebp, 7
cmp ebp, 3
jb 0x1400455a8
cmp ebp, 2
jbe 0x1400455a8
lea ecx, [rbp - 3]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 1]
movzx eax, byte [rdi]
add ebp, 0xfffffffd
mov byte [r13], al
movzx eax, byte [rdi + 1]
mov byte [r13 + 1], al
movzx eax, byte [rdi + 2]
add rdi, 3
mov byte [r13 + 2], al
add r13, 3
sub rcx, 1
jne 0x140045580
test ebp, ebp
je 0x1400455c5
movzx eax, byte [rdi]
mov byte [r13], al
cmp ebp, 1
jbe 0x1400455c0
movzx eax, byte [rdi + 1]
mov byte [r13 + 1], al
mov eax, ebp
add r13, rax
mov rcx, r15
sub rcx, r14
cmp rcx, 4
jl 0x1400456af
mov rax, r9
sub rax, r13
cmp rax, 2
jl 0x1400456af
cmp ebx, 0x1e
jae 0x1400455fc
mov eax, dword [r14]
mov ecx, ebx
shl rax, cl
add r14, 4
or rsi, rax
add ebx, 0x20
mov rax, rsi
and eax, 0x3ff
movsx ebp, word [r12 + rax*2 + 0x168]
test ebp, ebp
js 0x140045618
mov ecx, ebp
sar ecx, 9
jmp 0x140045640
mov ecx, 0xa
nop dword [rax]
not ebp
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, ebp
add rdx, rax
movsx ebp, word [r12 + rdx*2 + 0x968]
test ebp, ebp
js 0x140045620
shr rsi, cl
sub ebx, ecx
bt ebp, 8
jb 0x1400457c8
mov rax, rsi
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0x168]
test eax, eax
js 0x14004566b
mov ecx, eax
sar ecx, 9
jmp 0x14004568f
mov ecx, 0xa
not eax
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x968]
test eax, eax
js 0x140045670
shr rsi, cl
sub ebx, ecx
mov byte [r13], bpl
bt eax, 8
jb 0x1400457c3
mov byte [r13 + 1], al
add r13, 2
jmp 0x1400455c5
cmp ebx, 0xf
jae 0x14004575a
cmp rcx, 2
jge 0x140045739
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x1400456e0
sar edi, 9
test edi, edi
je case.0x1400451f8.23
cmp ebx, edi
jae 0x14004575a
jmp case.0x1400451f8.23
cmp ebx, 0xa
jbe case.0x1400451f8.23
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x968]
test edi, edi
jns 0x14004575a
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1400456f0
cmp r14, r15
jae 0x140046062
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 0xf
jb 0x1400456be
jmp 0x14004575a
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx ebp, word [r12 + rax*2 + 0x168]
test ebp, ebp
js 0x14004577c
mov ecx, ebp
sar ecx, 9
and ebp, 0x1ff
jmp 0x1400457a1
mov ecx, 0xa
not ebp
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, ebp
add rdx, rax
movsx ebp, word [r12 + rdx*2 + 0x968]
test ebp, ebp
js 0x140045781
shr rsi, cl
sub ebx, ecx
cmp ebp, 0x100
jae 0x1400457c8
cmp r13, r9
jae 0x14004606f
mov byte [r13], bpl
inc r13
jmp 0x1400455c5
inc r13
mov ebp, eax
and ebp, 0x1ff
cmp ebp, 0x100
jne 0x140045fff
test byte [r12 + 0x14], 1
jne 0x140046172
cmp ebx, 3
jae 0x14004580b
cmp r14, r15
jae 0x140046084
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 3
jb case.0x1400451f8.3
mov eax, esi
add ebx, 0xfffffffd
and eax, 7
shr rsi, 3
mov dword [r12 + 0x14], eax
shr eax, 1
mov dword [r12 + 0x18], eax
jne 0x1400459c1
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x140045856
cmp r14, r15
jae 0x140046097
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
and eax, 7
cmp ebx, eax
jb case.0x1400451f8.5
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rsi, cl
xor ebp, ebp
cmp ebp, 4
jae 0x1400458cc
test ebx, ebx
je case.0x1400451f8.7
cmp ebx, 8
jae 0x140045895
cmp r14, r15
jae 0x1400460aa
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 8
jb case.0x1400451f8.6
mov eax, ebp
mov byte [rax + r12 + 0x2928], sil
mov eax, 0xfffffff8
add ebx, eax
shr rsi, 8
inc ebp
jmp 0x140045867
cmp r14, r15
jae 0x1400460bd
movzx eax, byte [r14]
inc r14
mov ecx, ebp
inc ebp
mov byte [rcx + r12 + 0x2928], al
jmp 0x140045867
movzx eax, byte [r12 + 0x2928]
movzx ebp, byte [r12 + 0x2929]
movzx ecx, byte [r12 + 0x292b]
shl ecx, 8
shl ebp, 8
or ebp, eax
movzx eax, byte [r12 + 0x292a]
or ecx, eax
xor ecx, 0xffff
cmp ebp, ecx
jne 0x140046200
test ebp, ebp
je 0x1400457da
test ebx, ebx
je 0x140045961
cmp ebx, 8
jae 0x140045939
cmp r14, r15
jae 0x1400460d0
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 8
jb case.0x1400451f8.51
movzx r8d, sil
mov eax, 0xfffffff8
shr rsi, 8
add ebx, eax
mov dword [rsp + 0x28], r8d
cmp r13, r9
jae 0x1400460e3
mov byte [r13], r8b
inc r13
dec ebp
jmp 0x140045908
test ebp, ebp
je 0x1400457da
cmp r13, r9
jae 0x140046111
cmp r14, r15
jae 0x1400460fe
mov rcx, r9
mov edx, ebp
sub rcx, r13
mov rdi, r15
sub rdi, r14
mov rax, rcx
cmp rcx, rdi
cmovae rax, rdi
cmp rax, rdx
jae 0x1400459a1
cmp rcx, rdi
cmovb rdi, rcx
jmp 0x1400459a4
mov rdi, rdx
mov r8, rdi
mov rdx, r14
mov rcx, r13
call fcn.14011c9b0
mov r9, qword [rsp + 0x48]
add r14, rdi
add r13, rdi
sub ebp, edi
jmp 0x140045961
cmp eax, 3
je 0x14004621c
cmp eax, 1
jne 0x140045aa3
movabs rax, 0x505050505050505
mov dword [r12 + 0x2c], 0x120
mov dword [r12 + 0x30], reloc.WLDAP32.dll_Ordinal_32
mov ecx, 2
mov qword [r12 + 0xde8], rax
movabs r8, 0x808080808080808
mov qword [r12 + 0xdf0], rax
mov qword [r12 + 0xdf8], rax
mov qword [r12 + 0xe00], rax
lea rax, [r12 + 0x48]
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r8
mov qword [rax + 8], r8
mov qword [rax + 0x10], r8
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r8
mov qword [rax - 0x20], r8
mov qword [rax - 0x18], r8
mov qword [rax - 0x10], r8
mov qword [rax - 8], r8
sub rcx, 1
jne 0x140045a30
mov qword [rax], r8
lea rdi, [r12 + 0xd8]
mov qword [rax + 8], r8
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov eax, 9
rep stosb byte [rdi], al
movabs rax, 0x707070707070707
mov qword [r12 + 0x148], rax
mov qword [r12 + 0x150], rax
mov qword [r12 + 0x158], rax
mov qword [r12 + 0x160], r8
jmp 0x140045bad
xor ebp, ebp
lea r8, [0x140000000]
lea r11d, [rbp + 1]
cmp ebp, 3
jae 0x140045b2f
movsx eax, byte [rbp + r8 + 0x3f1e64]
cmp ebx, eax
jae 0x140045af5
jmp 0x140045acb
lea r8, [0x140000000]
cmp r14, r15
jae 0x14004612c
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
mov eax, ebp
movsx eax, byte [rax + r8 + 0x3f1e64]
cmp ebx, eax
jb 0x140045acb
mov edi, ebp
mov edx, r11d
movzx ecx, byte [rdi + r8 + 0x3f1e64]
shl edx, cl
dec edx
and edx, esi
mov dword [r12 + rdi*4 + 0x2c], edx
movsx ecx, byte [rdi + r8 + 0x3f1e64]
shr rsi, cl
sub ebx, ecx
mov ecx, dword [r8 + rdi*4 + 0x3f1e38]
add ecx, edx
mov dword [r12 + rdi*4 + 0x2c], ecx
inc ebp
jmp 0x140045ab0
lea rcx, [r12 + 0x1b88]
xor edx, edx
mov r8d, 0x120
call fcn.14011d670
xor ebp, ebp
lea rdx, [0x140000000]
cmp ebp, dword [r12 + 0x34]
jae 0x140045ba4
cmp ebx, 3
jae 0x140045b82
jmp 0x140045b62
lea rdx, [0x140000000]
cmp r14, r15
jae 0x140046139
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 3
jb 0x140045b62
mov eax, ebp
mov ecx, esi
and ecx, 7
shr rsi, 3
add ebx, 0xfffffffd
inc ebp
movzx eax, byte [rax + rdx + 0x3f1e20]
mov byte [rax + r12 + 0x1b88], cl
jmp 0x140045b4d
mov dword [r12 + 0x34], reloc.WS2_32.dll_send
mov eax, dword [r12 + 0x18]
test eax, eax
js 0x140045fef
imul r15, rax, 0xda0
xor eax, eax
xor edx, edx
add r15, r12
mov qword [rsp + 0x50], rax
mov r8d, 0xc80
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rcx, [r15 + 0x168]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
call fcn.14011d670
mov eax, dword [r12 + 0x18]
mov r9d, dword [r12 + rax*4 + 0x2c]
test r9d, r9d
je 0x140045c31
lea rcx, [r15 + 0x48]
mov edx, r9d
nop
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rsp + rax*4 + 0x50]
sub rdx, 1
jne 0x140045c20
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0x90], rcx
xor edx, edx
lea r8d, [rdi + 0xf]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rdx + 0x54]
lea rdx, [rdx + 4]
add ecx, eax
add edi, eax
add ecx, ecx
mov dword [rsp + rdx + 0x94], ecx
sub r8, 1
jne 0x140045c50
cmp ecx, 0x10000
je 0x140045c7c
cmp edi, 1
ja 0x140046238
or r10d, 0xffffffff
xor r11d, r11d
test r9d, r9d
je 0x140045da3
nop dword [rax]
movzx edi, byte [r11 + r15 + 0x48]
xor edx, edx
test edi, edi
je 0x140045d90
lea rcx, [rsp + 0x90]
mov r9d, edi
mov r8d, dword [rcx + rdi*4]
lea rcx, [rcx + rdi*4]
lea eax, [r8 + 1]
mov dword [rcx], eax
nop dword [rax]
mov ecx, r8d
lea eax, [rdx + rdx]
and ecx, 1
shr r8d, 1
mov edx, ecx
or edx, eax
add r9d, 0xffffffff
jne 0x140045cc0
cmp edi, 0xa
ja 0x140045d15
movzx r8d, di
shl r8w, 9
or r8w, r11w
cmp edx, 0x400
jae 0x140045d90
mov ecx, edi
mov edi, 1
shl edi, cl
nop dword [rax]
mov word [r15 + rdx*2 + 0x168], r8w
add edx, edi
cmp edx, 0x400
jb 0x140045d00
jmp 0x140045d90
mov eax, edx
and eax, 0x3ff
movsx ecx, word [r15 + rax*2 + 0x168]
test ecx, ecx
jne 0x140045d39
mov word [r15 + rax*2 + 0x168], r10w
mov ecx, r10d
sub r10d, 2
shr edx, 9
cmp edi, 0xb
jbe 0x140045d7b
add edi, 0xfffffff5
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movzx ecx, word [r15 + rax*2 + 0x968]
test cx, cx
jne 0x140045d72
mov word [r15 + rax*2 + 0x968], r10w
mov ecx, r10d
sub r10d, 2
jmp 0x140045d75
movsx ecx, cx
sub rdi, 1
jne 0x140045d44
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r15 + rax*2 + 0x968], r11w
mov eax, dword [r12 + 0x18]
inc r11d
cmp r11d, dword [r12 + rax*4 + 0x2c]
jb 0x140045c90
cmp dword [r12 + 0x18], 2
jne 0x140045fe0
xor ebp, ebp
mov eax, dword [r12 + 0x30]
add eax, dword [r12 + 0x2c]
cmp ebp, eax
jae 0x140045f95
cmp ebx, 0xf
jae 0x140045e7a
mov r15, qword [rsp + 0x40]
mov rax, r15
sub rax, r14
cmp rax, 2
jge 0x140045e59
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x1ca8]
test edi, edi
js 0x140045dff
sar edi, 9
test edi, edi
je case.0x1400451f8.16
cmp ebx, edi
jae 0x140045e7a
jmp case.0x1400451f8.16
cmp ebx, 0xa
jbe case.0x1400451f8.16
mov ecx, 0xa
nop dword [rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x24a8]
test edi, edi
jns 0x140045e7a
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x140045e10
cmp r14, r15
jae 0x14004614c
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 0xf
jb 0x140045ddd
jmp 0x140045e7a
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x1ca8]
test r8d, r8d
js 0x140045e9f
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x140045ed2
mov ecx, 0xa
nop dword [rax]
nop dword [rax + rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x24a8]
test r8d, r8d
js 0x140045eb0
shr rsi, cl
sub ebx, ecx
mov dword [rsp + 0x28], r8d
cmp r8d, 0x10
jae 0x140045ef3
mov eax, ebp
inc ebp
mov byte [rax + r12 + 0x292c], r8b
jmp 0x140045db1
jne 0x140045efd
test ebp, ebp
je 0x140046254
lea ecx, [r8 - 0x10]
lea rax, [0x140000000]
movsx edx, byte [rcx + rax + 0x3f1e4c]
mov dword [rsp + 0x2c], edx
cmp ebx, edx
jae 0x140045f3c
mov r15, qword [rsp + 0x40]
cmp r14, r15
jae 0x14004615f
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, edx
jb case.0x1400451f8.18
mov ecx, edx
lea rax, [0x140000000]
mov edi, 1
sub ebx, edx
shl edi, cl
dec edi
and edi, esi
shr rsi, cl
lea ecx, [r8 - 0x10]
movsx eax, byte [rcx + rax + 0x3f1e68]
add edi, eax
cmp r8d, 0x10
jne 0x140045f77
lea eax, [rbp - 1]
movzx edx, byte [rax + r12 + 0x292c]
jmp 0x140045f79
xor edx, edx
mov eax, ebp
lea rcx, [r12 + 0x292c]
add rcx, rax
mov r8d, edi
call fcn.14011d670
add ebp, edi
jmp 0x140045db1
mov edx, dword [r12 + 0x2c]
mov ecx, dword [r12 + 0x30]
add ecx, edx
cmp ecx, ebp
jne 0x140046270
mov r8d, edx
lea rcx, [r12 + 0x48]
lea rdx, [r12 + 0x292c]
call fcn.14011c9b0
mov eax, dword [r12 + 0x2c]
lea rdx, [r12 + 0x292c]
mov r8d, dword [r12 + 0x30]
lea rcx, [r12 + 0xde8]
add rdx, rax
call fcn.14011c9b0
dec dword [r12 + 0x18]
mov r15, qword [rsp + 0x40]
jmp 0x140045bad
mov r9, qword [rsp + 0x48]
mov r11d, 1
jmp 0x1400455c5
lea ecx, [rbp - 0x101]
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x3f1ca0]
mov ebp, dword [rax + rcx*4 + 0x3f1c20]
mov dword [rsp + 0x2c], edx
test edx, edx
je 0x140045344
cmp ebx, edx
jae 0x140045332
jmp case.0x1400451f8.25
mov dword [r12], reloc.WLDAP32.dll_Ordinal_26
jmp 0x140046318
mov dword [r12], reloc.WLDAP32.dll_Ordinal_27
jmp 0x140046318
mov dword [rsp + 0x20], 2
mov dword [r12], gethostname
jmp case.0x1400451f8.4
mov dword [r12], reloc.WS2_32.dll_socket
jmp 0x140046318
mov dword [rsp + 0x20], 2
mov dword [r12], Ordinal_30
jmp case.0x1400451f8.4
mov r11d, 1
mov dword [r12], 3
jmp 0x140046318
mov r11d, 1
mov dword [r12], 5
jmp 0x140046318
mov r11d, 1
mov dword [r12], 6
jmp 0x140046318
mov r11d, 1
mov dword [r12], 7
jmp 0x140046318
mov r11d, 1
mov dword [r12], gethostname
jmp 0x140046318
mov dword [rsp + 0x20], 2
mov r11d, 1
mov dword [r12], gethostname
jmp case.0x1400451f8.4
mov r11d, 1
mov dword [r12], reloc.OLEAUT32.dll_SafeArrayDestroyData
jmp 0x140046318
mov dword [rsp + 0x20], 2
mov r11d, 1
mov dword [r12], 9
jmp case.0x1400451f8.4
mov dword [r12], reloc.WS2_32.dll_inet_addr
jmp 0x140046318
mov r11d, 1
mov dword [r12], reloc.WS2_32.dll_ntohl
jmp 0x140046318
mov r11d, 1
mov dword [r12], reloc.WS2_32.dll_recv
jmp 0x140046318
mov r11d, 1
mov dword [r12], reloc.WS2_32.dll_select
jmp 0x140046318
mov eax, ebx
mov r11d, 1
and eax, 7
cmp ebx, eax
jae 0x1400461a5
cmp r14, r15
jae 0x1400462a2
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
and eax, 7
cmp ebx, eax
jb case.0x1400451f8.32
mov rax, qword [rsp + 0x128]
mov ecx, ebx
and cl, 7
shr rsi, cl
mov ecx, 0xfffffff8
and ebx, ecx
cmp r14, rax
jbe 0x1400461d0
cmp ebx, 8
jb 0x1400461d0
dec r14
add ebx, ecx
cmp r14, rax
ja 0x1400461c1
mov ecx, ebx
mov rax, r11
shl rax, cl
dec rax
and rsi, rax
test byte [rsp + 0x150], 1
je case.0x1400451f8.34
xor ebp, ebp
jmp 0x1400462e8
mov dword [r12], Ordinal_30
jmp 0x140046318
mov r11d, 1
or rax, 0xffffffffffffffff
mov dword [r12], Ordinal_41
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov r11d, 1
or rax, 0xffffffffffffffff
mov dword [r12], 0xa
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov r11d, 1
or rax, 0xffffffffffffffff
mov dword [r12], reloc.WLDAP32.dll_Ordinal_35
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov r11d, 1
or rax, 0xffffffffffffffff
mov dword [r12], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov r11d, 1
or rax, 0xffffffffffffffff
mov dword [r12], reloc.WS2_32.dll_setsockopt
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
or rax, 0xffffffffffffffff
mov dword [r12], Ordinal_41
mov qword [rsp + 0x20], rax
jmp case.0x1400451f8.4
mov dword [r12], reloc.WLDAP32.dll_Ordinal_32
jmp 0x140046318
cmp r14, r15
jae 0x140046310
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 8
jb case.0x1400451f8.41
movzx ecx, sil
mov eax, 0xfffffff8
shr rsi, 8
add ebx, eax
mov eax, dword [r12 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r12 + 0x10], eax
inc ebp
cmp ebp, 4
jae case.0x1400451f8.34
test ebx, ebx
jne 0x1400462ff
cmp r14, r15
jae 0x140046306
movzx ecx, byte [r14]
inc r14
jmp 0x1400462d7
cmp ebx, 8
jae 0x1400462c8
jmp case.0x1400451f8.41
mov dword [r12], Ordinal_46
jmp 0x140046318
mov dword [r12], reloc.WLDAP32.dll_Ordinal_41
test byte [rsp + 0x150], 2
mov eax, 0xfffffffc
cmovne eax, r11d
mov qword [rsp + 0x20], rax
cmp eax, 1
je 0x14004636f
cmp eax, 0xfffffffc
je 0x14004636f
jmp case.0x1400451f8.4
mov dword [rsp + 0x20], 0
mov dword [r12], Ordinal_41
mov rax, qword [rsp + 0x128]
cmp r14, rax
jbe 0x14004636f
mov edx, 0xfffffff8
nop dword [rax]
cmp ebx, 8
jb 0x14004636f
dec r14
add ebx, edx
cmp r14, rax
ja 0x140046360
mov edx, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov ecx, ebx
sub r14, qword [rsp + 0x128]
mov r9d, dword [rsp + 0x150]
mov r10, qword [rsp + 0x20]
shl r11, cl
mov qword [r12 + 0x40], rax
dec r11
mov rax, qword [rsp + 0x130]
and r11, rsi
mov rsi, qword [rsp + 0xe0]
mov qword [r12 + 0x38], r11
mov r11, qword [rsp + 0x140]
mov dword [r12 + 0x24], ebp
sub r13, r11
mov rbp, qword [rsp + 0x120]
mov dword [r12 + 4], ebx
mov dword [r12 + 0x20], r8d
mov dword [r12 + 0x28], edx
mov qword [rax], r14
mov rax, qword [rsp + 0x148]
mov qword [rax], r13
test r9b, 9
je 0x140046523
test r10d, r10d
js 0x140046523
mov edi, dword [r12 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r13
mov rax, r13
movzx ecx, di
sub rax, rdx
shr edi, 0x10
shr rax, 1
mov r8, r13
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r8, rax
test r13, r13
je 0x140046500
nop dword [rax]
xor edx, edx
cmp r8, 7
jbe 0x1400464aa
lea r9d, [rdx + 7]
nop dword [rax]
movzx eax, byte [r11]
add r9d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r11 + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 7]
add edi, ecx
add ecx, eax
add r11, 8
add edi, ecx
mov eax, r9d
cmp rax, r8
jb 0x140046450
mov eax, edx
cmp rax, r8
jae 0x1400464c5
movzx eax, byte [r11]
inc edx
add ecx, eax
inc r11
add edi, ecx
mov eax, edx
cmp rax, r8
jb 0x1400464b1
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub r13, r8
mov r8d, 0x15b0
jne 0x140046440
mov r9d, dword [rsp + 0x150]
shl edi, 0x10
add edi, ecx
mov dword [r12 + 0x1c], edi
test r10d, r10d
jne 0x140046523
test r9b, 1
je 0x140046523
cmp edi, dword [r12 + 0x10]
mov eax, 0xfffffffe
cmovne r10d, eax
mov eax, r10d
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
xor eax, eax
mov qword [rdx], rax
mov qword [r8], rax
mov eax, 0xfffffffd
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret