joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050910
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xcd0
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
mov rbx, rcx
lea rcx, [rsp + 0x692]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x690], 0
call fcn.1400b57e0
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], 0
call fcn.1400b57e0
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
call fcn.1400b57e0
lea rcx, [rsp + 0x8a2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x8a0], 0
call fcn.1400b57e0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, str.EZInst
mov edx, 0x104
lea r8, str.EZInst
repne scasw ax, word [rdi]
mov word [rsp + 0x60], ax
not rcx
cmp rcx, 1
lea rcx, [rsp + 0x60]
jne 0x1400509d7
lea r8, str.ICLlogging
call fcn.1400b1b70
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x56], 0x2e
jne 0x1400509fa
mov word [rsp + rcx*2 + 0x56], ax
lea rcx, [rsp + 0x60]
mov dx, 0x5c
call fcn.1400b3a00
test rax, rax
jne 0x140050a66
lea rcx, [rsp + 0x8a0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.Temp
lea rcx, [rsp + 0x8a0]
mov edx, 0x104
call fcn.1400b2160
lea rdx, [rsp + 0x60]
lea r9, [rsp + 0x8a0]
mov qword [rsp + 0x20], rdx
lea r8, [0x1400ecb00]
lea rcx, [rsp + 0x270]
mov edx, 0x104
call fcn.1400b1010
jmp 0x140050a84
lea r9, [rsp + 0x60]
lea r8, [0x1400f64a4]
lea rcx, [rsp + 0x270]
mov edx, 0x104
call fcn.1400b1010
lea r9, [rsp + 0x270]
lea r8, str._s.log
lea rcx, [rsp + 0x690]
mov edx, 0x104
call fcn.1400b1010
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x690]
call fcn.1400b3b10
test eax, eax
jne 0x140050bba
cmp dword [rsp + 0x44], 0x7a120
jl 0x140050bba
lea edi, [rax + 4]
lea rcx, [rsp + 0x482]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x480], 0
call fcn.1400b57e0
lea rcx, [rsp + 0xab2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xab0], 0
call fcn.1400b57e0
test edi, edi
lea r9, [rsp + 0x270]
mov edx, 0x104
lea rcx, [rsp + 0x480]
jne 0x140050b35
lea r8, str._s.log
call fcn.1400b1010
jmp 0x140050b45
lea r8, str._s_d.log
mov dword [rsp + 0x20], edi
call fcn.1400b1010
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x480]
call fcn.1400b3b10
cmp edi, 4
jne 0x140050b70
test eax, eax
jne 0x140050bb1
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140050bb1
test eax, eax
jne 0x140050bb1
lea eax, [rdi + 1]
lea r9, [rsp + 0x270]
lea r8, str._s_d.log
lea rcx, [rsp + 0xab0]
mov edx, 0x104
mov dword [rsp + 0x20], eax
call fcn.1400b1010
lea rdx, [rsp + 0xab0]
lea rcx, [rsp + 0x480]
call fcn.1400b3f80
sub edi, 1
jns 0x140050ad0
lea rcx, [rbx + 0x64]
lea r8, [rsp + 0x690]
mov edx, 0x104
mov word [rcx], 0
call fcn.1400b1b70
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0xce8]
add rsp, 0xcd0
pop rdi
ret
Function at 0x140050c00
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
je 0x140050e2f
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
mov eax, 0x20a0
call fcn.1400dab40
sub rsp, rax
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rcx
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x1ffe
mov qword [rsp + 0x2090], rbp
mov word [rsp + 0x70], 0
mov qword [rsp + 0x2088], rdi
call fcn.1400b57e0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsi + 0x26c]
lea r8, str._s__X_:
lea rcx, [rsp + 0x70]
mov edx, 0x1000
mov dword [rsp + 0x20], eax
call fcn.1400b1010
mov r8, qword [rsp + 0x20b8]
mov edx, 0x1000
movsxd rcx, eax
lea r9, [rsp + 0x20c0]
sub rdx, rcx
lea rcx, [rsp + rcx*2 + 0x70]
call fcn.1400b2810
lea r8, [0x1400f653c]
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.1400b2160
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsi + 0x64]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140050d94
lea rcx, [rsi + 8]
mov qword [rsp + 0x2098], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [0x1400f64d4]
lea rdx, [rsi + 0x64]
lea rcx, [rsp + 0x60]
call fcn.1400b32c0
test eax, eax
jne 0x140050d82
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x5e]
movzx ecx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x5c]
movzx edi, word [rsp + 0x58]
movzx r10d, word [rsp + 0x50]
movzx r9d, word [rsp + 0x56]
movzx r8d, word [rsp + 0x52]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x60]
lea rdx, str.__2d__2d__4d__2d:_02d:_02d:_03d__
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.1400b3fb0
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
lea rdx, [0x1400f64a4]
call fcn.1400b40a0
mov rcx, qword [rsp + 0x60]
call fcn.1400b3710
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x2098]
mov rbp, qword [rsp + 0x2090]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 2
je 0x140050df0
lea rdx, [rsp + 0x70]
nop
cmp word [rdx], 0xa
jne 0x140050dcb
mov word [rdx], 0x20
or rcx, 0xffffffffffffffff
xor eax, eax
add r8d, 1
lea rdi, [rsp + 0x70]
add rdx, 2
repne scasw ax, word [rdi]
mov eax, r8d
not rcx
sub rcx, 3
cmp rax, rcx
jb 0x140050dc0
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x2088]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400b09d0
add rsp, 0x20a0
pop rsi
ret 0
Function at 0x140050c09
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
je 0x140050e2f
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
mov eax, 0x20a0
call fcn.1400dab40
sub rsp, rax
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rcx
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x1ffe
mov qword [rsp + 0x2090], rbp
mov word [rsp + 0x70], 0
mov qword [rsp + 0x2088], rdi
call fcn.1400b57e0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsi + 0x26c]
lea r8, str._s__X_:
lea rcx, [rsp + 0x70]
mov edx, 0x1000
mov dword [rsp + 0x20], eax
call fcn.1400b1010
mov r8, qword [rsp + 0x20b8]
mov edx, 0x1000
movsxd rcx, eax
lea r9, [rsp + 0x20c0]
sub rdx, rcx
lea rcx, [rsp + rcx*2 + 0x70]
call fcn.1400b2810
lea r8, [0x1400f653c]
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.1400b2160
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsi + 0x64]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140050d94
lea rcx, [rsi + 8]
mov qword [rsp + 0x2098], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [0x1400f64d4]
lea rdx, [rsi + 0x64]
lea rcx, [rsp + 0x60]
call fcn.1400b32c0
test eax, eax
jne 0x140050d82
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x5e]
movzx ecx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x5c]
movzx edi, word [rsp + 0x58]
movzx r10d, word [rsp + 0x50]
movzx r9d, word [rsp + 0x56]
movzx r8d, word [rsp + 0x52]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x60]
lea rdx, str.__2d__2d__4d__2d:_02d:_02d:_03d__
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.1400b3fb0
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
lea rdx, [0x1400f64a4]
call fcn.1400b40a0
mov rcx, qword [rsp + 0x60]
call fcn.1400b3710
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x2098]
mov rbp, qword [rsp + 0x2090]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 2
je 0x140050df0
lea rdx, [rsp + 0x70]
nop
cmp word [rdx], 0xa
jne 0x140050dcb
mov word [rdx], 0x20
or rcx, 0xffffffffffffffff
xor eax, eax
add r8d, 1
lea rdi, [rsp + 0x70]
add rdx, 2
repne scasw ax, word [rdi]
mov eax, r8d
not rcx
sub rcx, 3
cmp rax, rcx
jb 0x140050dc0
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x2088]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400b09d0
add rsp, 0x20a0
pop rsi
ret 0
Function at 0x140057a20
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x230
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, rcx
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140057a84
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140057a7b
mov rcx, rax
call fcn.140050830
jmp 0x140057a7d
xor eax, eax
mov qword [0x1401370f0], rax
lea rdx, str._StartNetworkConnection__
mov rcx, rax
call fcn.140050c00
lea rdx, [rsp + 0x80]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140057aeb
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140057adc
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140057ad3
mov rcx, rax
call fcn.140050830
jmp 0x140057ad5
xor eax, eax
mov qword [0x1401370f0], rax
lea rdx, str.ERROR:_Could_not_load_Winsock_DLL
mov rcx, rax
call fcn.140050c00
xor edx, edx
mov r8d, 0x400
lea rsi, [0x140137ec0]
mov rcx, rsi
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rsi
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r11d, 7
mov qword [rsp + 0x50], r11
xor r8d, r8d
mov qword [rsp + 0x48], r8
mov word [rsp + 0x38], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x140057b70
call fcn.1400d8c10
mov r11, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
cmp r11, rbx
jae 0x140057b89
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400156c0
mov r11, qword [rsp + 0x50]
jmp 0x140057bac
test rbx, rbx
jne 0x140057bac
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp r11, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax], bx
mov r11, qword [rsp + 0x50]
jmp 0x140057bf4
test rbx, rbx
je 0x140057bf4
lea rcx, [rsp + 0x38]
cmp r11, 8
cmovae rcx, qword [rsp + 0x38]
lea rdi, [rbx + rbx]
lea rdx, [r11 + r11]
mov r9, rdi
mov r8, rsi
call fcn.1400b09f0
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rdi + rax], 0
mov r11, qword [rsp + 0x50]
mov dword [rsp + 0x58], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x38]
cmp r11, 8
cmovae rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.WS2_32.dll_WSAStringToAddressW]
cmp qword [rsp + 0x50], 8
jb 0x140057c39
mov rcx, qword [rsp + 0x38]
call fcn.140084dcc
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14005a5e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0x100
xor edi, edi
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14005a655
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14005a64b
mov rcx, rax
call fcn.140050830
jmp 0x14005a64e
mov rax, rdi
mov qword [0x1401370f0], rax
mov r8, rbx
lea rdx, str.GetPortnameViaDevInstID__s_
mov rcx, rax
call fcn.140050c00
mov r9d, 0x100
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rsi
call fcn.140058cb0
test eax, eax
je 0x14005a7a1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoList]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14005a6e2
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14005a6cc
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14005a6c2
mov rcx, rax
call fcn.140050830
jmp 0x14005a6c5
mov rax, rdi
mov qword [0x1401370f0], rax
lea rdx, str.SetupDiCreateDeviceInfoList_call_returned_INVALID_HANDLE_VALUE
mov rcx, rax
call fcn.140050c00
xor eax, eax
jmp 0x14005a7a1
mov dword [rsp + 0x48], 0x20
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
test eax, eax
je 0x14005a796
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14005a796
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.PortName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005a78d
call fcn.1400507c0
mov rcx, rax
mov r8, rbp
lea rdx, str.Found_PortName___s
call fcn.140050c00
mov edi, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005fcb0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0xc8]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0xc0], eax
je 0x14005fe0c
mov ecx, eax
call fcn.1400b4120
test rax, rax
mov rbx, rax
je 0x14005fe0c
mov r8d, dword [rsp + 0xc0]
mov r9, rax
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rbx
test eax, eax
je 0x14005fe07
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x20]
lea rdx, [0x1400ec900]
call sub.VERSION.dll_VerQueryValueW
mov rcx, rbx
test eax, eax
je 0x14005fe07
call fcn.1400b40d0
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400b4200
lea rdx, [rsp + 0xc8]
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0xc0], eax
je 0x14005fe0c
mov ecx, eax
call fcn.1400b4120
test rax, rax
mov rbx, rax
je 0x14005fe0c
mov r8d, dword [rsp + 0xc0]
mov r9, rax
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rbx
test eax, eax
je 0x14005fe07
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x20]
lea rdx, [0x1400ec900]
call sub.VERSION.dll_VerQueryValueW
mov rcx, rbx
test eax, eax
je 0x14005fe07
call fcn.1400b40d0
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400b4200
mov ecx, dword [rsp + 0x3c]
mov r11d, dword [rsp + 0x38]
sub ecx, dword [rsp + 0x74]
sub r11d, dword [rsp + 0x70]
js 0x14005fe3a
test r11d, r11d
jg 0x14005fe1d
test ecx, ecx
js 0x14005fe3a
xor eax, eax
test ecx, ecx
jmp 0x14005fe4e
call fcn.1400b40d0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400b3b10
test eax, eax
je 0x14005fe24
mov eax, 1
jmp 0x14005fe51
mov rbx, qword [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b3b10
test eax, eax
je 0x14005fe3f
or eax, 0xffffffff
jmp 0x14005fe51
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jl 0x14005fe3a
xor eax, eax
cmp rcx, rbx
setg al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140060720
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x450
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
mov r12, rdx
mov r13, rcx
mov r14, qword [rsp + 0x4a0]
mov word [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x42]
call fcn.1400b57e0
mov word [rsp + 0x240], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x242]
call fcn.1400b57e0
xor edi, edi
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x1400607d4
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400607ca
mov rcx, rax
call fcn.140050830
jmp 0x1400607cd
mov rax, rdi
mov qword [0x1401370f0], rax
lea rdx, str._INSTALL_MSI_
mov rcx, rax
call fcn.140050c00
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140060817
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006080d
mov rcx, rax
call fcn.140050830
jmp 0x140060810
mov rax, rdi
mov qword [0x1401370f0], rax
mov r9, rbx
mov r8, r12
lea rdx, str.CMsi::Install__s___s_
mov rcx, rax
call fcn.140050c00
mov word [rsp + 0x40], 0
test rbx, rbx
je 0x14006084a
mov r8, rbx
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400b1b70
lea r8, str._REBOOTReallySuppress
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400b2160
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebp, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp si, bx
jne 0x1400608b7
cmp si, ax
jne 0x1400608b7
movzx ecx, si
lea rdx, [0x14012f770]
mov rax, rdx
cmp dword [rax], ecx
je 0x1400608aa
add edi, 1
add rax, 0x18
cmp edi, 0x26
jb 0x140060898
jmp 0x1400608e4
mov eax, edi
lea rcx, [rax + rax*2]
mov si, word [rdx + rcx*8 + 4]
jmp 0x1400608e4
movzx ecx, bp
lea rdx, [0x14012f770]
mov rax, rdx
cmp dword [rax], ecx
je 0x1400608d9
add edi, 1
add rax, 0x18
cmp edi, 0x26
jb 0x1400608c4
mov si, bp
jmp 0x1400608e4
mov eax, edi
lea rcx, [rax + rax*2]
mov si, word [rdx + rcx*8 + 4]
movzx r9d, si
lea r8, str._ADDCLID_d
mov edx, 0x100
lea rcx, [rsp + 0x240]
call fcn.1400604a0
lea r8, [rsp + 0x240]
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400b2160
mov qword [rsp + 0x20], r14
lea r9, [0x140061160]
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, r13
call fcn.140060520
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140063450
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
movzx r13d, r9w
mov qword [rbp], 0
mov r14d, r8d
mov r15d, edx
mov byte [rax], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
mov r12, rax
je 0x140063585
cmp word [rax + 0x10], 2
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
jne 0x140063547
cmp word [rax + 0x12], 4
jne 0x140063547
mov rdi, qword [rax + 0x18]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140063547
nop
nop
nop
mov esi, dword [rcx]
mov edx, gethostbyname
lea ecx, [rdx - 0x2f]
call fcn.1400b4830
test rax, rax
mov rbx, rax
je 0x14006352d
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx - 0xf]
call fcn.1400b4830
test rax, rax
jne 0x140063505
mov rcx, rbx
call fcn.1400b40d0
xor ebx, ebx
jmp 0x14006352d
mov word [rax], 2
mov word [rax + 2], r13w
mov dword [rax + 4], esi
mov dword [rbx + 4], 2
mov dword [rbx + 8], r15d
mov dword [rbx + 0xc], r14d
mov qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetDim], 0x10
mov qword [rbx + 0x20], rax
test rbx, rbx
mov qword [rbp], rbx
je 0x14006357e
mov rcx, qword [rdi + 8]
add rdi, 8
lea rbp, [rbx + 0x28]
test rcx, rcx
jne 0x1400634d0
mov r8, qword [r12]
mov rcx, qword [rsp + 0x70]
mov r9d, 0x400
lea edx, [r9 + 1]
call fcn.1400b4920
xor eax, eax
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 8
jmp 0x140063561
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2af9
je 0x14006359c
sub eax, 1
je 0x1400635c2
sub eax, 1
je 0x1400635af
mov eax, 0x2af9
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0x2afb
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0x2afa
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140063f60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x280
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x140137e94], 0
lea rax, [0x140063910]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140063cc0]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x1400638b0]
mov qword [rsp + 0x48], rax
jne 0x14006412f
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140064125
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x290], rsi
call fcn.1400b1ac0
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400b46a0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140064054
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400640b4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400b1ac0
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400b46a0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14006411d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400640b4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14006411d
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx], rax
je 0x14006410c
add rdi, 1
add rbx, 0x10
cmp rdi, 3
jl 0x1400640c3
mov rax, qword [rsp + 0x28]
mov qword [0x1401315b0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1401315c0], rax
mov rax, qword [rsp + 0x48]
mov qword [0x1401315d0], rax
jmp 0x140064115
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x140137e94], 1
movzx eax, bp
lea rcx, str.getaddrinfo
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret