Function at 0x140221550
Capabilities:
Connect to wmi namespace via wbemlocator
Get hostname

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3080]
mov eax, 0x3180
call fcn.140233e90
sub rsp, rax
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rbp + 0x3070], rax
mov r13d, r8d
mov dword [rsp + 0x54], r8d
mov r15, rdx
mov esi, ecx
mov dword [rsp + 0x50], ecx
mov qword [rbp + 0x288], 0x73c
xor ebx, ebx
mov qword [rbp + 0x280], rbx
mov byte [rbp + 0x290], bl
mov qword [rbp + 0x1868], 0x400
mov qword [rbp + 0x1860], rbx
mov byte [rbp + 0x1870], bl
mov word [rbp + 0x1dd0], bx
mov word [rbp + 0x1ec0], bx
mov word [rbp + 0x1d80], bx
mov word [rbp + 0x1e40], bx
mov word [rbp + 0x2160], bx
mov word [rbp + 0x2060], bx
mov word [rbp + 0x1f60], bx
lea r14, [0x14051c458]
mov rcx, r14
mov r9, qword [0x14051c458]
mov r10, qword [0x14051c470]
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x1f60]
mov r11, qword [0x14051c468]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x14022166d
lea rax, [rbp + 0x1f80]
cmp rdx, rax
jae 0x140221655
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140221655
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221631
lea rax, [rbp + 0x1f80]
cmp rdx, rax
jne 0x14022166a
mov word [rbp + 0x1f7e], bx
jmp 0x140221672
cmp rcx, r8
jne 0x140221672
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x2060]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x1402216cc
nop dword [rax]
lea rax, [rbp + 0x2080]
cmp rdx, rax
jae 0x1402216b4
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x1402216b4
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221690
lea rax, [rbp + 0x2080]
cmp rdx, rax
jne 0x1402216c9
mov word [rbp + 0x207e], bx
jmp 0x1402216d1
cmp rcx, r8
jne 0x1402216d1
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x2160]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x14022172c
nop dword [rax]
lea rax, [rbp + 0x2180]
cmp rdx, rax
jae 0x140221714
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140221714
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x1402216f0
lea rax, [rbp + 0x2180]
cmp rdx, rax
jne 0x140221729
mov word [rbp + 0x217e], bx
jmp 0x140221731
cmp rcx, r8
jne 0x140221731
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x1e40]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x14022178c
nop dword [rax]
lea rax, [rbp + 0x1e60]
cmp rdx, rax
jae 0x140221774
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140221774
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221750
lea rax, [rbp + 0x1e60]
cmp rdx, rax
jne 0x140221789
mov word [rbp + 0x1e5e], bx
jmp 0x140221791
cmp rcx, r8
jne 0x140221791
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x1d80]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x1402217ec
nop dword [rax]
lea rax, [rbp + 0x1da0]
cmp rdx, rax
jae 0x1402217d4
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x1402217d4
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x1402217b0
lea rax, [rbp + 0x1da0]
cmp rdx, rax
jne 0x1402217e9
mov word [rbp + 0x1d9e], bx
jmp 0x1402217f1
cmp rcx, r8
jne 0x1402217f1
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x1ec0]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x14022184c
nop dword [rax]
lea rax, [rbp + 0x1ee0]
cmp rdx, rax
jae 0x140221834
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140221834
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221810
lea rax, [rbp + 0x1ee0]
cmp rdx, rax
jne 0x140221849
mov word [rbp + 0x1ede], bx
jmp 0x140221851
cmp rcx, r8
jne 0x140221851
mov word [rdx], bx
mov rcx, r14
cmp r10, 8
cmovae rcx, r9
lea rdx, [rbp + 0x1dd0]
lea r8, [rcx + r11*2]
cmp rcx, r8
jae 0x1402218ac
nop dword [rax]
lea rax, [rbp + 0x1df0]
cmp rdx, rax
jae 0x140221894
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, word [rcx]
je 0x140221894
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221870
lea rax, [rbp + 0x1df0]
cmp rdx, rax
jne 0x1402218a9
mov word [rbp + 0x1dee], bx
jmp 0x1402218b1
cmp rcx, r8
jne 0x1402218b1
mov word [rdx], bx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rbx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
mov dword [rsp + 0x58], eax
mov eax, 0x80000000
lea ecx, [rdi + rax]
mov r12d, 1
test eax, ecx
jne 0x1402218e7
cmp edi, 0x80010106
jne 0x140221e77
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x14043f400]
mov r8d, r12d
xor edx, edx
lea rcx, [0x14043f3f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140221e77
mov rsi, qword [rsp + 0x70]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
lea r8, [0x14051c598]
cmp qword [0x14051c5b0], 0x10
cmovae r8, qword [0x14051c598]
mov edx, 0x100
lea rcx, [rbp + 0x1c80]
call fcn.140220580
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call rdi
test eax, eax
js 0x140221e6f
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140221e6f
lea r12, [0x14051c3d8]
mov rdx, r12
cmp qword [0x14051c3f0], 8
cmovae rdx, qword [0x14051c3d8]
lea r13, [0x14051c418]
mov rcx, r13
cmp qword [0x14051c430], 0x10
cmovae rcx, qword [0x14051c418]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
lea r8, [rbp + 0x2060]
call fcn.140222b90
cmp dword [rsp + 0x50], 1
ja 0x140221a20
mov dword [rsp + 0x68], gethostname
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x1dd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rdx, r12
cmp qword [0x14051c3f0], 8
cmovae rdx, qword [0x14051c3d8]
lea rsi, [0x14051c438]
mov rcx, rsi
cmp qword [0x14051c450], 0x10
cmovae rcx, qword [0x14051c438]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x1e40]
call fcn.140222b90
lea rdi, [0x14051c3f8]
mov rdx, rdi
cmp qword [0x14051c410], 8
cmovae rdx, qword [0x14051c3f8]
cmp qword [0x14051c430], 0x10
cmovae r13, qword [0x14051c418]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
lea r8, [rbp + 0x1f60]
mov rcx, r13
call fcn.140222b90
cmp qword [0x14051c410], 8
cmovae rdi, qword [0x14051c3f8]
cmp qword [0x14051c450], 0x10
cmovae rsi, qword [0x14051c438]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
lea r8, [rbp + 0x2160]
mov rdx, rdi
mov rcx, rsi
call fcn.140222b90
mov esi, dword [rsp + 0x50]
cmp esi, 2
jbe 0x140221f6c
cmp esi, 4
jne 0x140221ffb
mov edi, 0x7ff
lea rcx, [rbp + rdi + 0x2071]
xor edx, edx
lea r8d, [rdi + 1]
call sub.VCRUNTIME140.dll_memset
sub rdi, 1
jns 0x140221b22
cmp qword [0x14051c470], 8
cmovae r14, qword [0x14051c458]
lea rcx, [rbp + 0x2870]
mov rax, qword [0x14051c468]
lea rdx, [r14 + rax*2]
cmp r14, rdx
jae 0x140221b8d
nop
lea rax, [rbp + 0x2890]
cmp rcx, rax
jae 0x140221b75
movzx eax, word [r14]
mov word [rcx], ax
cmp bx, ax
je 0x140221b75
add rcx, 2
add r14, 2
cmp r14, rdx
jb 0x140221b50
lea rax, [rbp + 0x2890]
cmp rcx, rax
jne 0x140221b8a
mov word [rbp + 0x288e], bx
jmp 0x140221b92
cmp r14, rdx
jne 0x140221b92
mov word [rcx], bx
mov rsi, qword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov r8d, 0x23
lea rdx, [0x1403a3410]
lea rcx, [rbp - 0x68]
call fcn.140195eb0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.140226520
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140221bd7
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov edx, 0x30
lea rcx, [rsp + 0x78]
call fcn.140022250
mov rdx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], 0x2d
mov qword [rbp - 0x70], 0x2f
movups xmm0, xmmword [0x1403a3458]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1403a3468]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1403a3478]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1403a3480]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1403a3484]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], 0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.140226210
nop
cmp qword [rax + 0x18], 0x10
jb 0x140221c68
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov r9d, 0x400
lea r8, [rbp + 0x2870]
mov rdx, rdi
mov rcx, rax
call fcn.140222b90
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140221cc1
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
jb 0x140221cbc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140221f50
mov rcx, r8
call fcn.140233b10
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140221d0d
inc rdx
mov rcx, qword [rsp + 0x78]
cmp rdx, 0x1000
jb 0x140221d08
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140221f57
mov rcx, r8
call fcn.140233b10
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140221d5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
cmp rdx, 0x1000
jb 0x140221d59
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140221f5e
mov rcx, r8
call fcn.140233b10
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140221dae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
cmp rdx, 0x1000
jb 0x140221da9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140221f65
mov rcx, r8
call fcn.140233b10
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], bx
lea rax, [rbp + 0x2870]
cmp word [rbp + 0x2870], 0
je 0x140221dda
nop
add rax, 2
cmp word [rax], 0
jne 0x140221dd0
lea rdi, [rbp + 0x2870]
lea rcx, [rbp + 0x1870]
mov qword [rsp + 0x68], rcx
lea rdx, [rbp + 0x2870]
sub rax, rdx
sar rax, 1
lea rsi, [rbp + 0x2870]
lea rsi, [rsi + rax*2]
lea r14, [rbp + 0x186a]
add r14, qword [rbp + 0x1868]
cmp rdi, rsi
jae 0x140221e37
cmp rcx, r14
jae 0x140221e37
movzx ecx, word [rdi]
add rdi, 2
lea rdx, [rsp + 0x68]
call fcn.140223720
mov rcx, qword [rsp + 0x68]
test al, al
jne 0x140221e13
mov byte [rcx], 0
mov ecx, ebx
lea rax, [rbp + 0x1870]
cmp byte [rbp + 0x1870], cl
je 0x140221e5b
nop dword [rax + rax]
inc ecx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140221e50
mov eax, ecx
mov qword [rbp + 0x1860], rax
mov r12d, 1
mov r13d, dword [rsp + 0x54]
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140221e87
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140221e97
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test edi, edi
js 0x140221ea1
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp + 0x9d8], 0x73c
mov word [rbp + 0x9e0], bx
mov ecx, ebx
lea rax, [rbp + 0x1f60]
cmp word [rbp + 0x1f60], cx
je 0x140221edc
nop word [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140221ed0
lea rdx, [rbp + 0x9e0]
mov eax, ecx
lea r8, [rbp + 0x1f60]
lea r8, [r8 + rax*2]
lea rcx, [rbp + 0x1f60]
lea rax, [rbp + 0x1f60]
cmp rax, r8
jae 0x14022200b
nop word [rax + rax]
lea rax, [rbp + 0x1858]
cmp rdx, rax
jae 0x140221f34
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140221f34
add rdx, 2
add rcx, 2
cmp rcx, r8
jb 0x140221f10
lea rax, [rbp + 0x1858]
cmp rdx, rax
jne 0x14022200b
mov word [rbp + 0x1856], bx
jmp 0x140222013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x14051c5d8]
cmp qword [0x14051c5f0], 8
cmovae rdx, qword [0x14051c5d8]
lea rdi, [0x14051c5b8]
mov rcx, rdi
cmp qword [0x14051c5d0], 0x10
cmovae rcx, qword [0x14051c5b8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rbp + 0x1d80]
call fcn.140222b90
cmp qword [0x14051c3f0], 8
cmovae r12, qword [0x14051c3d8]
cmp qword [0x14051c5d0], 0x10
cmovae rdi, qword [0x14051c5b8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x1ec0]
mov rdx, r12
mov rcx, rdi
call fcn.140222b90
mov r12d, 1
mov r13d, dword [rsp + 0x54]
jmp 0x140221e73
cmp rcx, r8
jne 0x140222013
mov word [rdx], bx
lea rax, [rbp + 0x9d0]
sub rdx, rax
sub rdx, 0x10
sar rdx, 1
mov qword [rbp + 0x9d0], rdx
mov r10d, 0x3b
cmp rdx, qword [rbp + 0x9d8]
jae 0x14022204d
mov word [rbp + rdx*2 + 0x9e0], r10w
mov rdx, qword [rbp + 0x9d0]
inc rdx
mov r8d, ebx
lea rax, [rbp + 0x2060]
cmp word [rbp + 0x2060], r8w
je 0x14022206e
inc r8d
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140222061
lea rcx, [rbp + 0x9e0]
lea rcx, [rcx + rdx*2]
mov eax, r8d
lea r9, [rbp + 0x2060]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, rdx
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0x2060]
lea rax, [rbp + 0x2060]
cmp rax, r9
jae 0x1402220c5
cmp rcx, r8
jae 0x1402220c8
movzx eax, word [rdx]
mov word [rcx], ax
cmp bx, ax
je 0x1402220c5
add rcx, 2
add rdx, 2
cmp rdx, r9
jb 0x1402220a8
cmp rcx, r8
jne 0x1402220d1
mov word [r8 - 2], bx
jmp 0x1402220d9
cmp rdx, r9
jne 0x1402220d9
mov word [rcx], bx
lea rax, [rbp + 0x9d0]
sub rcx, rax
sub rcx, 0x10
sar rcx, 1
mov qword [rbp + 0x9d0], rcx
cmp rcx, qword [rbp + 0x9d8]
jae 0x14022210d
mov word [rbp + rcx*2 + 0x9e0], r10w
mov rcx, qword [rbp + 0x9d0]
inc rcx
cmp esi, 1
ja 0x1402221df
mov r8d, ebx
lea rax, [rbp + 0x1dd0]
cmp word [rbp + 0x1dd0], r8w
je 0x14022213d
nop word [rax + rax]
inc r8d
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140222130
lea rdx, [rbp + 0x9e0]
lea rdx, [rdx + rcx*2]
mov eax, r8d
lea r9, [rbp + 0x1dd0]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, rcx
lea r8, [rdx + rax*2]
lea rcx, [rbp + 0x1dd0]
lea rax, [rbp + 0x1dd0]
cmp rax, r9
jae 0x140222194
cmp rdx, r8
jae 0x140222197
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140222194
add rdx, 2
add rcx, 2
cmp rcx, r9
jb 0x140222177
cmp rdx, r8
jne 0x1402221a0
mov word [r8 - 2], bx
jmp 0x1402221a8
cmp rcx, r9
jne 0x1402221a8
mov word [rdx], bx
lea rax, [rbp + 0x9d0]
mov rcx, rdx
sub rcx, rax
sub rcx, 0x10
sar rcx, 1
mov qword [rbp + 0x9d0], rcx
cmp rcx, qword [rbp + 0x9d8]
jae 0x1402221df
mov word [rbp + rcx*2 + 0x9e0], r10w
mov rcx, qword [rbp + 0x9d0]
inc rcx
mov edx, ebx
lea rax, [rbp + 0x2160]
cmp word [rbp + 0x2160], dx
je 0x1402221fd
inc edx
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1402221f1
lea r8, [rbp + 0x9e0]
lea r8, [r8 + rcx*2]
mov eax, edx
lea r9, [rbp + 0x2160]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, rcx
lea rdx, [r8 + rax*2]
lea rcx, [rbp + 0x2160]
lea rax, [rbp + 0x2160]
cmp rax, r9
jae 0x140222254
cmp r8, rdx
jae 0x140222257
movzx eax, word [rcx]
mov word [r8], ax
cmp bx, ax
je 0x140222254
add r8, 2
add rcx, 2
cmp rcx, r9
jb 0x140222236
cmp r8, rdx
jne 0x14022225f
mov word [rdx - 2], bx
jmp 0x140222268
cmp rcx, r9
jne 0x140222268
mov word [r8], bx
lea rax, [rbp + 0x9d0]
sub r8, rax
sub r8, 0x10
sar r8, 1
mov qword [rbp + 0x9d0], r8
cmp r8, qword [rbp + 0x9d8]
jae 0x14022229c
mov word [rbp + r8*2 + 0x9e0], r10w
mov r8, qword [rbp + 0x9d0]
inc r8
mov ecx, ebx
lea rax, [rbp + 0x1e40]
cmp word [rbp + 0x1e40], cx
je 0x1402222bc
nop
inc ecx
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1402222b0
lea rdx, [rbp + 0x9e0]
lea rdx, [rdx + r8*2]
mov eax, ecx
lea r9, [rbp + 0x1e40]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, r8
lea r8, [rdx + rax*2]
lea rcx, [rbp + 0x1e40]
lea rax, [rbp + 0x1e40]
cmp rax, r9
jae 0x140222312
cmp rdx, r8
jae 0x140222315
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x140222312
add rdx, 2
add rcx, 2
cmp rcx, r9
jb 0x1402222f5
cmp rdx, r8
jne 0x14022231e
mov word [r8 - 2], bx
jmp 0x140222326
cmp rcx, r9
jne 0x140222326
mov word [rdx], bx
lea rax, [rbp + 0x9d0]
sub rdx, rax
sub rdx, 0x10
sar rdx, 1
mov qword [rbp + 0x9d0], rdx
cmp rdx, qword [rbp + 0x9d8]
jae 0x140222361
mov word [rbp + rdx*2 + 0x9e0], r10w
mov rdx, qword [rbp + 0x9d0]
inc rdx
mov qword [rbp + 0x9d0], rdx
cmp esi, 2
ja 0x1402224f3
mov r8d, ebx
lea rax, [rbp + 0x1d80]
cmp word [rbp + 0x1d80], r8w
je 0x14022238d
nop
inc r8d
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140222380
lea rcx, [rbp + 0x9e0]
lea rcx, [rcx + rdx*2]
mov eax, r8d
lea r9, [rbp + 0x1d80]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, rdx
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0x1d80]
lea rax, [rbp + 0x1d80]
cmp rax, r9
jae 0x1402223e4
cmp rcx, r8
jae 0x1402223e7
movzx eax, word [rdx]
mov word [rcx], ax
cmp bx, ax
je 0x1402223e4
add rcx, 2
add rdx, 2
cmp rdx, r9
jb 0x1402223c7
cmp rcx, r8
jne 0x1402223f0
mov word [r8 - 2], bx
jmp 0x1402223f8
cmp rdx, r9
jne 0x1402223f8
mov word [rcx], bx
lea rax, [rbp + 0x9d0]
sub rcx, rax
sub rcx, 0x10
sar rcx, 1
mov qword [rbp + 0x9d0], rcx
cmp rcx, qword [rbp + 0x9d8]
jae 0x14022242c
mov word [rbp + rcx*2 + 0x9e0], r10w
mov rcx, qword [rbp + 0x9d0]
inc rcx
mov r8d, ebx
lea rax, [rbp + 0x1ec0]
cmp word [rbp + 0x1ec0], r8w
je 0x14022244d
inc r8d
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140222440
lea rdx, [rbp + 0x9e0]
lea rdx, [rdx + rcx*2]
mov eax, r8d
lea r9, [rbp + 0x1ec0]
lea r9, [r9 + rax*2]
mov rax, qword [rbp + 0x9d8]
sub rax, rcx
lea r8, [rdx + rax*2]
lea rcx, [rbp + 0x1ec0]
lea rax, [rbp + 0x1ec0]
cmp rax, r9
jae 0x1402224a4
cmp rdx, r8
jae 0x1402224a7
movzx eax, word [rcx]
mov word [rdx], ax
cmp bx, ax
je 0x1402224a4
add rdx, 2
add rcx, 2
cmp rcx, r9
jb 0x140222487
cmp rdx, r8
jne 0x1402224b0
mov word [r8 - 2], bx
jmp 0x1402224b8
cmp rcx, r9
jne 0x1402224b8
mov word [rdx], bx
lea rax, [rbp + 0x9d0]
sub rdx, rax
sub rdx, 0x10
sar rdx, 1
mov qword [rbp + 0x9d0], rdx
cmp rdx, qword [rbp + 0x9d8]
jae 0x1402224f3
mov word [rbp + rdx*2 + 0x9e0], r10w
mov rdx, qword [rbp + 0x9d0]
inc rdx
mov qword [rbp + 0x9d0], rdx
mov r9, qword [rbp + 0x288]
lea r8, [rbp + 0x290]
lea rcx, [rbp + 0x9e0]
call fcn.140220dd0
mov ecx, ebx
lea rax, [rbp + 0x290]
cmp byte [rbp + 0x290], cl
je 0x14022252b
nop
inc ecx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140222520
mov edx, ecx
mov qword [rbp + 0x280], rdx
cmp esi, 2
je 0x14022254e
lea eax, [rsi - 3]
cmp eax, 1
ja 0x140222b12
cmp esi, 3
jne 0x14022270d
mov eax, 0x3ff
nop dword [rax]
nop word [rax + rax]
mov byte [rbp + rax + 0x2260], 0
sub rax, 1
jns 0x140222560
lea rcx, [0x14051c3b8]
cmp qword [0x14051c3d0], 0x10
cmovae rcx, qword [0x14051c3b8]
lea rdx, [rbp + 0x2260]
mov r8, qword [0x14051c3c8]
add r8, rcx
cmp rcx, r8
jae 0x1402225d8
nop dword [rax + rax]
lea rax, [rbp + 0x2270]
cmp rdx, rax
jae 0x1402225c0
movzx eax, byte [rcx]
mov byte [rdx], al
cmp al, 0
je 0x1402225c0
inc rdx
inc rcx
cmp rcx, r8
jb 0x1402225a0
lea rax, [rbp + 0x2270]
cmp rdx, rax
jne 0x1402225d5
mov byte [rbp + 0x226f], 0
jmp 0x1402225dd
cmp rcx, r8
jne 0x1402225dd
mov byte [rdx], 0
mov eax, 0x1a7
mov byte [rbp + rax + 0xd0], 0
sub rax, 1
jns 0x1402225e2
mov dword [rbp + 0xd0], 0x1a8
lea rcx, [0x14051c4f8]
cmp qword [0x14051c510], 0x10
cmovae rcx, qword [0x14051c4f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140222706
mov edi, ebx
lea rdx, [0x14051c498]
cmp qword [0x14051c4b0], 0x10
cmovae rdx, qword [0x14051c498]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140222702
xor r9d, r9d
lea r8, [rbp + 0xd0]
xor edx, edx
xor ecx, ecx
call rsi
test eax, eax
je 0x140222702
test byte [rbp + 0x174], 4
jne 0x1402226ae
inc edi
mov eax, 0x1a7
nop word [rax + rax]
mov byte [rbp + rax + 0xd0], 0
sub rax, 1
jns 0x140222680
mov dword [rbp + 0xd0], 0x1a8
xor r9d, r9d
lea r8, [rbp + 0xd0]
mov edx, edi
xor ecx, ecx
call rsi
test eax, eax
jne 0x140222666
jmp 0x140222702
lea rdx, [rbp + 0x2260]
lea rcx, [rbp + 0x178]
nop dword [rax]
lea rax, [rbp + 0x2660]
cmp rdx, rax
jae 0x1402226e7
movzx eax, byte [rcx]
mov byte [rdx], al
cmp al, 0
je 0x1402226e7
inc rdx
inc rcx
lea rax, [rbp + 0x1f8]
cmp rcx, rax
jb 0x1402226c0
lea rax, [rbp + 0x2660]
cmp rdx, rax
je 0x140222702
lea rax, [rbp + 0x1f8]
cmp rcx, rax
jne 0x140222702
mov byte [rdx], 0
mov esi, dword [rsp + 0x50]
mov byte [rbp + 0x265f], 0
mov dword [rsp + 0x54], 0x11335577
lea rcx, [0x14051c578]
cmp qword [0x14051c590], 0x10
cmovae rcx, qword [0x14051c578]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x1402227f0
lea rdx, [0x14051c538]
cmp qword [0x14051c550], 0x10
cmovae rdx, qword [0x14051c538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402227f0
mov edx, 0x104
lea rcx, [rbp + 0x2660]
call rax
test eax, eax
je 0x1402227f0
mov word [rbp + 0x2866], bx
lea rax, [rbp + 0x2660]
cmp word [rbp + 0x2660], 0
je 0x1402227a5
cmp word [rax], 0x5c
jne 0x14022279b
mov word [rax + 2], bx
add rax, 2
cmp word [rax], 0
jne 0x140222791
lea rdx, [0x14051c4b8]
cmp qword [0x14051c4d0], 0x10
cmovae rdx, qword [0x14051c4b8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402227f0
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x54]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2660]
call rax
mov r8d, dword [rsp + 0x54]
mov r9d, ebx
lea rcx, [rbp + 0x1f5e]
mov byte [rbp + 0x1f5e], r9b
test r8d, r8d
je 0x140222843
mov r10d, 0x41
mov edx, r8d
and edx, 0xf
shr r8d, 4
cmp edx, 0xa
jge 0x140222825
add edx, 0x30
jmp 0x140222836
mov eax, 0x61
cmp esi, 4
cmove eax, r10d
add edx, 0xfffffff6
add edx, eax
dec rcx
mov byte [rcx], dl
inc r9d
test r8d, r8d
jne 0x140222811
mov eax, 8
cmp esi, 4
cmove r12d, eax
cmp r9d, r12d
jge 0x14022286c
sub r12d, r9d
mov eax, r12d
nop word [rax + rax]
dec rcx
mov byte [rcx], 0x30
sub rax, 1
jne 0x140222860
mov r8d, ebx
mov rax, rcx
cmp byte [rcx], r8b
je 0x14022288c
nop word [rax + rax]
inc r8d
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140222880
lea rdx, [rbp + 0x290]
add rdx, qword [rbp + 0x280]
mov r9d, r8d
add r9, rcx
mov r8, rdx
sub r8, qword [rbp + 0x280]
add r8, qword [rbp + 0x288]
cmp rcx, r9
jae 0x1402228cf
cmp rdx, r8
jae 0x1402228d2
movzx eax, byte [rcx]
mov byte [rdx], al
cmp al, 0
je 0x1402228cf
inc rdx
inc rcx
cmp rcx, r9
jb 0x1402228b6
cmp rdx, r8
jne 0x1402228db
mov byte [r8 - 1], 0
jmp 0x1402228e3
cmp rcx, r9
jne 0x1402228e3
mov byte [rdx], 0
lea rax, [rbp + 0x280]
sub rdx, rax
sub rdx, 0x10
mov qword [rbp + 0x280], rdx
cmp rdx, qword [rbp + 0x288]
jae 0x14022291a
mov byte [rbp + rdx + 0x290], 0x3b
mov rdx, qword [rbp + 0x280]
inc rdx
mov qword [rbp + 0x280], rdx
lea eax, [rsi - 2]
cmp eax, 1
jbe 0x1402229af
cmp esi, 4
jne 0x140222a5f
mov r8d, ebx
lea rax, [rbp + 0x1870]
cmp byte [rbp + 0x1870], r8b
je 0x14022294e
inc r8d
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140222942
lea rcx, [rbp + 0x290]
add rcx, rdx
mov eax, r8d
lea r9, [rbp + 0x1870]
add r9, rax
mov r8, rcx
sub r8, rdx
add r8, qword [rbp + 0x288]
lea rdx, [rbp + 0x1870]
lea rax, [rbp + 0x1870]
cmp rax, r9
jae 0x140222a1e
nop dword [rax]
cmp rcx, r8
jae 0x140222a21
movzx eax, byte [rdx]
mov byte [rcx], al
cmp al, 0
je 0x140222a1e
inc rcx
inc rdx
cmp rdx, r9
jb 0x140222990
jmp 0x140222a1e
mov r8d, ebx
lea rax, [rbp + 0x2260]
cmp byte [rbp + 0x2260], r8b
je 0x1402229ce
inc r8d
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1402229c2
lea rcx, [rbp + 0x290]
add rcx, rdx
mov eax, r8d
lea r9, [rbp + 0x2260]
add r9, rax
mov r8, rcx
sub r8, rdx
add r8, qword [rbp + 0x288]
lea rdx, [rbp + 0x2260]
lea rax, [rbp + 0x2260]
cmp rax, r9
jae 0x140222a1e
cmp rcx, r8
jae 0x140222a21
movzx eax, byte [rdx]
mov byte [rcx], al
cmp al, 0
je 0x140222a1e
inc rcx
inc rdx
cmp rdx, r9
jb 0x140222a05
cmp rcx, r8
jne 0x140222a2a
mov byte [r8 - 1], 0
jmp 0x140222a32
cmp rdx, r9
jne 0x140222a32
mov byte [rcx], 0
lea rax, [rbp + 0x280]
sub rcx, rax
sub rcx, 0x10
cmp rcx, qword [rbp + 0x288]
mov qword [rbp + 0x280], rcx
jae 0x140222a5f
mov byte [rbp + rcx + 0x290], 0x3b
inc qword [rbp + 0x280]
mov qword [rbp + 8], 0xb0
mov qword [rbp], rbx
mov byte [rbp + 0x10], 0
mov r8d, esi
mov edx, 0xb0
lea rcx, [rbp + 0x10]
call fcn.140220ef0
lea rax, [rbp + 0x10]
cmp byte [rbp + 0x10], 0
je 0x140222a9b
nop word [rax + rax]
inc ebx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140222a90
lea rdx, [rbp + 0x290]
add rdx, qword [rbp + 0x280]
mov eax, ebx
lea r9, [rbp + 0x10]
add r9, rax
mov r8, rdx
sub r8, qword [rbp + 0x280]
add r8, qword [rbp + 0x288]
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
cmp rax, r9
jae 0x140222ae9
cmp rdx, r8
jae 0x140222aec
movzx eax, byte [rcx]
mov byte [rdx], al
cmp al, 0
je 0x140222ae9
inc rdx
inc rcx
cmp rcx, r9
jb 0x140222ad0
cmp rdx, r8
jne 0x140222af5
mov byte [r8 - 1], 0
jmp 0x140222afd
cmp rcx, r9
jne 0x140222afd
mov byte [rdx], 0
lea rax, [rbp + 0x280]
sub rdx, rax
sub rdx, 0x10
mov qword [rbp + 0x280], rdx
lea r8, [rbp + 0x290]
add r8, rdx
mov edx, r13d
add rdx, r15
lea rcx, [rbp + 0x290]
lea rax, [rbp + 0x290]
cmp rax, r8
jae 0x140222b4f
cmp r15, rdx
jae 0x140222b52
movzx eax, byte [rcx]
mov byte [r15], al
cmp al, 0
je 0x140222b4f
inc r15
inc rcx
cmp rcx, r8
jb 0x140222b35
cmp r15, rdx
jne 0x140222b5a
mov byte [rdx - 1], 0
jmp 0x140222b63
cmp rcx, r8
jne 0x140222b63
mov byte [r15], 0
mov rcx, qword [rbp + 0x3070]
xor rcx, rsp
call fcn.140233ef0
mov rbx, qword [rsp + 0x31d8]
add rsp, 0x3180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret