Function at 0x140104b10
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 [0x140404ea0]
mov rdi, r8
mov rbx, rcx
test rax, rax
jne 0x140104b66
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140404ea0], rax
test rax, rax
je 0x140104b6d
mov ecx, 0x800
call rax
lea rcx, str.C:WindowsSystem32
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9d, 0x64
lea r8, [0x140404510]
mov rcx, rbx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r14, [0x140404440]
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, [0x1400bae00]
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, [0x140404510]
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 [0x140404430], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1404045e0], rax
test rax, rax
je 0x140104c81
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, WSAGetLastError
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
lea rcx, str.ntdll.dll
mov dword [0x140402160], 0x11c
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140104cc7
lea rcx, [0x140402160]
call rax
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xac
call fcn.1402ecef0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [rbp + 0x60]
add eax, 0xfffffed4
cmp eax, 0xb4
ja 0x1401053d3
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 0x140104d61
mov rcx, qword [0x1404045e0]
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 0x140104d61
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 0x140104d00
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 0x1401051b0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], si
jne 0x140104d90
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400f4e30
cmp qword [rbp - 0x10], rsi
je 0x1401051b0
cmp qword [rbp - 8], 8
lea rbx, [rbp - 0x20]
mov rax, qword [0x140404ec0]
cmovae rbx, qword [rbp - 0x20]
mov dword [rbp + 0x140], esi
test rax, rax
jne 0x140104e18
mov rax, qword [0x140404ea8]
test rax, rax
jne 0x140104df8
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140404ea8], rax
test rax, rax
jne 0x140104df8
mov rax, rsi
lea rdx, str.CommandLineToArgvW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140404ec0], rax
test rax, rax
je 0x1401051b0
lea rdx, [rbp + 0x140]
mov rcx, rbx
call rax
mov qword [rbp], rax
mov r14, rax
test rax, rax
je 0x1401051b0
cmp dword [rbp + 0x140], 1
je 0x1401051b0
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.1400eaea0
mov ebx, esi
cmp dword [rbp + 0x140], esi
jle 0x14010506b
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.140097d60
test eax, eax
jne 0x140105046
lea eax, [rbx + 1]
mov dword [rbp - 0x58], eax
cmp eax, dword [rbp + 0x140]
je 0x140105046
mov r14, qword [r15]
inc r13
test r14, r14
je 0x140104fc1
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [r14 + rbx*2], si
jne 0x140104f00
test ebx, ebx
je 0x140104fc1
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 0x140104fc1
lea edi, [rax + 1]
xor r8d, r8d
movsxd rdx, edi
lea rcx, [rsp + 0x60]
call fcn.1400997f0
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 0x140104fc1
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 0x140104fa6
movsxd rdx, eax
lea rcx, [rsp + 0x60]
xor r8d, r8d
call fcn.1400997f0
jmp 0x140105036
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.1402ec850
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 0x140104eb0
mov r15, qword [rsp + 0x250]
mov r13, qword [rsp + 0x248]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x140105123
cmp qword [rsp + 0x70], rsi
je 0x14010508d
lea rcx, [rsp + 0x60]
call fcn.1400be100
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1401050cd
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401050c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401053f2
call fcn.14009be98
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x140105393
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105119
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401053f2
call fcn.14009be98
jmp 0x140105393
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140105163
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010515e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401053f2
call fcn.14009be98
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp rdx, 0x10
jb 0x1401051b0
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401051ab
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401053f2
call fcn.14009be98
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], esi
xor ecx, ecx
call fcn.140016a80
test eax, eax
je 0x1401051cc
cmp dword [rbp - 0x80], 2
jae 0x140105393
lea rbx, [0x140400a78]
mov r8, rbx
call fcn.140048e90
mov rcx, rbx
test eax, eax
je 0x1401051f6
mov r8d, 5
lea rdx, str.Temp
call fcn.1400e44d0
jmp 0x140105223
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.C:ProgramDataTemp
call fcn.1400f4e30
cmp qword [reloc.WS2_32.dll_getsockopt], 8
cmovae rbx, qword [0x140400a78]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 3
call fcn.1400b8210
call fcn.140095270
lea rcx, [0x1404045e8]
call fcn.1400b1420
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 0x1401052a1
mov rcx, qword [0x1404045e0]
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 0x1401052a1
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 0x140105240
call fcn.1400201e0
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 0x140105311
mov rcx, qword [0x1404045e0]
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 0x140105311
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 0x1401052b0
call fcn.1400f0ee0
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 0x14010537b
mov rcx, qword [0x1404045e0]
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 0x14010537b
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 0x140105320
mov esi, dword [rbp - 0x40]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1401053cf
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401053ca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401053ec
call fcn.14009be98
mov eax, esi
jmp 0x1401053d5
xor eax, eax
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ed40c
int3
call fcn.1400ed40c
int3