Function at 0x1400039b0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rdi
mov r8d, 0x19
lea rdx, str.C:GAIMLoaderMW3_ver.txt
lea rcx, [rbp + 0x17]
call fcn.14000ad90
nop
xor r8d, r8d
lea rdx, [0x140062c20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
test eax, eax
je 0x140003a40
cmp eax, 0xb7
je 0x140003a40
lea rdx, str.Failed_to_create_directory._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14000a270
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
jmp 0x140003a62
lea rdx, str.Directory_created_successfully_or_already_exists:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a270
mov rcx, rax
lea rdx, [0x140062c20]
call fcn.14000a270
lea rdx, [0x140062c94]
mov rcx, rax
call fcn.14000a270
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r8d, 0x12
lea rdx, [0x140062c20]
lea rcx, [rbp - 0x49]
call fcn.14000ab10
nop
mov r8d, 0xd
lea rdx, [0x140062c48]
lea rcx, [rbp - 0x49]
call fcn.1400095c0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140003b1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
movdqa xmm6, xmmword [0x140071390]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], di
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
mov r8d, 0x12
lea rdx, [0x140062c20]
lea rcx, [rsp + 0x20]
call fcn.14000ab10
nop
mov r8d, 7
lea rdx, str.ver.txt
lea rcx, [rsp + 0x20]
call fcn.1400095c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x71]
cmp rdx, 7
jbe 0x140003be6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
movdqa xmm6, xmmword [0x140071390]
movdqu xmmword [rbp - 0x79], xmm6
mov word [rsp + 0x20], di
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0x27]
mov qword [rbp - 0x41], rax
call fcn.14005e0f4
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.140001c60
nop
mov qword [rbp - 0x49], rdi
lea rax, [0x14007c0c0]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140003480
movzx ebx, al
cmp dword [rbp - 0x49], 0
jne 0x140003dfe
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140003c94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
test bl, bl
jne 0x140003cee
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
lea rcx, str.http:__147.189.172.155_GAIM_templdr.exe
call fcn.1400037a0
test al, al
je 0x140003cd4
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
lea rcx, str.http:__147.189.172.155_ver.txt
call fcn.1400037a0
test al, al
jne 0x140003cee
lea rdx, str.Failed_to_download_the_file._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a090
mov ebx, 1
jmp 0x140003cf0
mov ebx, edi
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140003d33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
movdqa xmm0, xmmword [0x140071390]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], di
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140003d8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
movdqa xmm0, xmmword [0x140071390]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], di
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140003dd6
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003dd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f0ec
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005ea90
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, str.exists
call fcn.140002db0
int3