Function at 0x1400e1940
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x39], esi
lea r9, str.APPDATA
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x6f]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv_s]
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
jne 0x1400e19a5
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Failed_to_get_APPDATA_Path_
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400e19d4
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Failed_to_get_allocate_Memory_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r9, str.APPDATA
mov r8, qword [rbp + 0x6f]
mov rdx, rdi
lea rcx, [rbp + 0x6f]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv_s]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], sil
jne 0x1400e1a02
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140047180
mov r14d, 2
mov dword [rbp - 0x39], r14d
lea rdx, [0x1404167d0]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x1404167d0]
mov r8, qword [reloc.WS2_32.dll_ioctlsocket]
lea rcx, [rbp + 7]
call fcn.140046c30
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r14d, 4
or r14d, 1
mov dword [rbp - 0x39], r14d
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400e1abd
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1ab8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1ab8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14025c5a8
movdqa xmm0, xmmword [0x1402a9860]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400e1adf
mov rax, qword [rbx]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rcx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.140109f00
or r14d, 8
mov dword [rbp - 0x39], r14d
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rcx, qword [rbp - 0x19]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x27]
call fcn.14025c190
mov r8d, eax
test eax, eax
jne 0x1400e1b7c
mov edx, dword [rbp + 0x37]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x25], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x1400e1b71
mov eax, dword [rbp + 0x3b]
cmp eax, 0xa000000c
jne 0x1400e1b63
mov edx, 4
jmp 0x1400e1b9e
cmp eax, 0xa0000003
jne 0x1400e1b71
mov edx, 0xa
jmp 0x1400e1b9e
shr edx, 4
and edx, 1
or edx, 2
jmp 0x1400e1b9e
mov dword [rbp - 0x25], 0xffff
sub eax, 2
je 0x1400e1b97
sub eax, 1
je 0x1400e1b97
sub eax, 0x32
je 0x1400e1b97
cmp eax, 0x46
jne 0x1400e1b9c
mov esi, 1
mov edx, esi
mov dword [rbp - 0x29], r8d
lea rax, [0x140417fb8]
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
test edx, edx
je 0x1400e1c8d
cmp edx, 1
sete dil
lea rcx, [rbp - 0x19]
call fcn.140045490
test dil, dil
je 0x1400e1c9a
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400e1be8
mov rax, qword [rbx]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rcx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.140109f00
or r14d, 0x10
mov dword [rbp - 0x39], r14d
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rcx, qword [rbp - 0x19]
call fcn.14025c028
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x1400e1cb5
lea rcx, [rbp - 0x19]
call fcn.140045490
test dil, dil
jne 0x1400e1c9a
mov r8, rbx
lea rdx, str.Failed_to_create_a_Folder_at:
lea rcx, [rbp + 0x27]
call fcn.140095060
mov rdx, rax
mov rcx, rbx
call fcn.140045650
lea rcx, [rbp + 0x27]
call fcn.1400438e0
mov rcx, rbx
call fcn.140045640
mov rdx, rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dil, 1
test r8d, r8d
jne 0x1400e1ccc
jmp 0x1400e1bc5
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
shr rdi, 0x20
lea r8, [rbp - 0x19]
mov edx, edi
lea rcx, str.create_directory
call fcn.14011de60
nop
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
lea rcx, [0x140276a30]
call fcn.14011dda0
int3