Function at 0x140076540
Capabilities:
Create directory
Set current directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140333210]
mov rdi, r8
mov rbx, rcx
test rax, rax
jne 0x140076596
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1402c1db8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140333210], rax
test rax, rax
je 0x14007659d
mov ecx, 0x800
call rax
lea rcx, str.C:WindowsSystem32
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9d, 0x64
lea r8, [0x140332890]
mov rcx, rbx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r14, [0x1403327c0]
mov r8, r14
mov rcx, rbx
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
mov dword [rbp + 0x10], 0x50
lea rax, [0x1400c1660]
mov dword [rbp + 0x14], 3
mov rcx, rbx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rsi
lea edx, [rsi + 0x6b]
mov qword [rbp + 0x28], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [reloc.WS2_32.dll_getsockname]
lea edx, [rsi + 0x6c]
mov rcx, qword [rbp + 0x28]
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x50], r14
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x58], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
lea r8, [0x140332890]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rsi
mov rdx, r14
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x80000000
mov qword [0x1403327b0], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1403327b8], rax
test rax, rax
je 0x1400766b1
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, WSASetLastError
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
lea rcx, str.ntdll.dll
mov dword [0x140330660], 0x11c
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1402cdc28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400766f7
lea rcx, [0x140330660]
call rax
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xac
call fcn.140291590
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [rbp + 0x60]
add eax, 0xfffffed4
cmp eax, 0xb4
ja 0x140076e03
mov ebx, esi
nop word [rax + rax]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140076791
mov rcx, qword [0x1403327b8]
lea edx, [rbx + 0x400]
mov r8d, 0x64
mov r9d, 1
sub r8d, ebx
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, r12
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140076791
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
inc ebx
cmp ebx, 0x14
jb 0x140076730
mov qword [rbp - 0x10], rsi
xorps xmm0, xmm0
mov qword [rbp - 8], 7
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x20], si
test rdi, rdi
je 0x140076be0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], si
jne 0x1400767c0
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400da9e0
cmp qword [rbp - 0x10], rsi
je 0x140076be0
cmp qword [rbp - 8], 8
lea rbx, [rbp - 0x20]
mov rax, qword [0x140333230]
cmovae rbx, qword [rbp - 0x20]
mov dword [rbp + 0x140], esi
test rax, rax
jne 0x140076848
mov rax, qword [0x140333218]
test rax, rax
jne 0x140076828
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140333218], rax
test rax, rax
jne 0x140076828
mov rax, rsi
lea rdx, str.CommandLineToArgvW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140333230], rax
test rax, rax
je 0x140076be0
lea rdx, [rbp + 0x140]
mov rcx, rbx
call rax
mov qword [rbp], rax
mov r14, rax
test rax, rax
je 0x140076be0
cmp dword [rbp + 0x140], 1
je 0x140076be0
xorps xmm0, xmm0
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x78]
mov ecx, 5
movups xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x60], sil
mov edi, esi
mov word [rbp - 0x78], si
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
call fcn.1400a9720
mov ebx, esi
cmp dword [rbp + 0x140], esi
jle 0x140076a9b
mov qword [rsp + 0x248], r13
mov r13, rsi
mov qword [rsp + 0x250], r15
lea r15, [r14 + 8]
nop word [rax + rax]
cmp qword [rbp - 0x60], 8
lea rdx, [rbp - 0x78]
mov rcx, qword [r14 + r13*8]
cmovae rdx, qword [rbp - 0x78]
call fcn.1400dd8ec
test eax, eax
jne 0x140076a76
lea eax, [rbx + 1]
mov dword [rbp - 0x58], eax
cmp eax, dword [rbp + 0x140]
je 0x140076a76
mov r14, qword [r15]
inc r13
test r14, r14
je 0x1400769f1
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [r14 + rbx*2], si
jne 0x140076930
test ebx, ebx
je 0x1400769f1
mov qword [rsp + 0x38], rsi
mov r9d, ebx
mov qword [rsp + 0x30], rsi
mov r8, r14
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400769f1
lea edi, [rax + 1]
xor r8d, r8d
movsxd rdx, edi
lea rcx, [rsp + 0x60]
call fcn.1400dbeb0
cmp qword [rsp + 0x78], 0x10
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov r9d, ebx
cmovae rax, qword [rsp + 0x60]
mov r8, r14
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400769f1
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
cmovae rcx, qword [rsp + 0x60]
inc rax
cmp byte [rcx + rax], sil
jne 0x1400769d6
movsxd rdx, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
call fcn.1400dbeb0
jmp 0x140076a66
mov r8, qword [rsp + 0x78]
lea r10, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
cmp r8, 0x10
cmovae r10, r9
add r10, rbx
cmp r8, 0x10
cmovae rcx, r9
cmovae rax, r9
sub r10, rcx
mov rdx, rcx
sub rdx, rax
lea rcx, [rsp + 0x60]
mov rax, rbx
sub rax, rdx
cmp rax, r10
cmovb r10, rax
cmp r8, 0x10
cmovae rcx, r9
sub rbx, r10
add rcx, rdx
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.140290ef0
mov qword [rsp + 0x70], rbx
mov ebx, dword [rbp - 0x58]
mov edi, 1
mov r14, qword [rbp]
add r15, 8
inc ebx
inc r13
add r15, 8
cmp ebx, dword [rbp + 0x140]
jl 0x1400768e0
mov r15, qword [rsp + 0x250]
mov r13, qword [rsp + 0x248]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x140076b53
cmp qword [rsp + 0x70], rsi
je 0x140076abd
lea rcx, [rsp + 0x60]
call fcn.140084980
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140076afd
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076af8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e22
call fcn.140086a30
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x140076dc3
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076b49
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e22
call fcn.140086a30
jmp 0x140076dc3
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140076b93
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076b8e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e22
call fcn.140086a30
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x140076be0
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076bdb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e22
call fcn.140086a30
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], esi
xor ecx, ecx
call fcn.140005d30
test eax, eax
je 0x140076bfc
cmp dword [rbp - 0x80], 2
jae 0x140076dc3
lea rbx, [0x14032edd8]
mov r8, rbx
call fcn.1400cdb20
mov rcx, rbx
test eax, eax
je 0x140076c26
mov r8d, 5
lea rdx, str.Temp
call fcn.14005cb40
jmp 0x140076c53
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.C:ProgramDataTemp
call fcn.1400da9e0
cmp qword [reloc.WS2_32.dll_getsockopt], 8
cmovae rbx, qword [0x14032edd8]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 3
call fcn.140065340
call fcn.14009a6c0
lea rcx, [0x140332958]
call fcn.1400d2f70
mov ebx, esi
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140076cd1
mov rcx, qword [0x1403327b8]
lea edx, [rbx + 0x400]
mov r8d, 0xc8
mov r9d, 1
sub r8d, ebx
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, r12
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140076cd1
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
inc ebx
cmp ebx, 0x14
jb 0x140076c70
call fcn.1400c5f60
mov ebx, esi
nop
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140076d41
mov rcx, qword [0x1403327b8]
lea edx, [rbx + 0x400]
mov r8d, 0x12c
mov r9d, 1
sub r8d, ebx
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, r12
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140076d41
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
inc ebx
cmp ebx, 0x14
jb 0x140076ce0
call fcn.1400d8910
nop dword [rax]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140076dab
mov rcx, qword [0x1403327b8]
lea edx, [rsi + 0x400]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, r12
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140076dab
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xe10
jb 0x140076d50
mov esi, dword [rbp - 0x40]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140076dff
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076dfa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e1c
call fcn.140086a30
mov eax, esi
jmp 0x140076e05
xor eax, eax
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140037b28
int3
call fcn.140037b28
int3