joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011186
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140015090
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1968
call fcn.140011122
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4d2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1988]
mov rax, qword [0x140024278]
xor rax, rbp
mov qword [rbp + 0x1938], rax
lea rcx, [0x14002a21d]
call fcn.140011645
lea r8, [rbp + 0x1024]
mov edx, 0x1000
lea rcx, [rbp + 0x10]
call fcn.140011285
test eax, eax
jne 0x14001510e
lea rcx, str.____EnumProcesses_function_failed_n
call fcn.1400112f8
mov eax, 1
jmp 0x140015275
mov eax, dword [rbp + 0x1024]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rbp + 0x1044], eax
mov dword [rbp + 0x1064], 0
jmp 0x14001513e
mov eax, dword [rbp + 0x1064]
inc eax
mov dword [rbp + 0x1064], eax
mov eax, dword [rbp + 0x1044]
cmp dword [rbp + 0x1064], eax
jae 0x140015267
mov eax, dword [rbp + 0x1064]
mov r8d, dword [rbp + rax*4 + 0x10]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x1088], rax
cmp qword [rbp + 0x1088], 0
je 0x140015262
lea r9, [rbp + 0x10c4]
mov r8d, 8
lea rdx, [rbp + 0x10a8]
mov rcx, qword [rbp + 0x1088]
call fcn.14001108c
test eax, eax
je 0x140015255
mov r9d, 0x104
lea r8, [rbp + 0x10f0]
mov rdx, qword [rbp + 0x10a8]
mov rcx, qword [rbp + 0x1088]
call fcn.14001102d
test eax, eax
je 0x140015255
lea r9, [rbp + 0x10c4]
lea r8, [rbp + 0x1220]
xor edx, edx
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x140015255
mov rdx, qword [rbp + 0x1960]
lea rcx, [rbp + 0x10f0]
call fcn.140011127
test rax, rax
jne 0x14001521e
mov rdx, qword [rbp + 0x1960]
lea rcx, [rbp + 0x1220]
call fcn.140011127
test rax, rax
je 0x140015255
mov eax, dword [rbp + 0x1064]
mov r8d, dword [rbp + rax*4 + 0x10]
lea rdx, [rbp + 0x10f0]
lea rcx, str.___Process_found:__s__PID:__lu__n_n
call fcn.1400112f8
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x1064]
mov eax, dword [rbp + rax*4 + 0x10]
jmp 0x140015275
mov rcx, qword [rbp + 0x1088]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140015130
lea rcx, str.____Process_not_found_n
call fcn.1400112f8
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f100]
call fcn.14001154b
mov rax, rdi
mov rcx, qword [rbp + 0x1938]
xor rcx, rbp
call fcn.140011316
lea rsp, [rbp + 0x1948]
pop rdi
pop rbp
ret
Function at 0x14001138e
Capabilities:
Terminate process

Disassembly:
jmp 0x140017a50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011479
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018da0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018dc0
xor al, al
jmp 0x140018e41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018dd3
xor al, al
jmp 0x140018e41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140018dfd
xor al, al
jmp 0x140018e41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018e11
xor al, al
jmp 0x140018e41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018e23
xor al, al
jmp 0x140018e41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018e3f
xor al, al
jmp 0x140018e41
mov al, 1
add rsp, 0x38
ret
Function at 0x140874058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408741df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140874089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087406f
add dl, dl
jne 0x140874096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408740f6
xor eax, eax
add dl, dl
jne 0x1408740a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408741ad
add dl, dl
jne 0x1408740b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408740c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408740d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408740dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408740ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14087407e
mov eax, 1
add dl, dl
jne 0x140874106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140874113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408740fb
sub eax, ebx
mov ebx, 1
jne 0x14087414c
mov ecx, 1
add dl, dl
jne 0x14087412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140874123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140874168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140874175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087415d
cmp eax, 0x7d00
jae 0x14087419b
cmp eax, 0x500
jb 0x140874196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087407e
cmp eax, 0x7f
ja 0x14087419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408741d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14087407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002bc8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140002bf0
xor eax, eax
jmp 0x140002d12
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002c2a
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140002c2a
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, esi
mov byte [rdx], sil
jmp 0x140002d12
cmp qword [rbx + 0x80], 0
je 0x140002d10
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002c65
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002c88
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.140009de8
cmp eax, edi
cmovne edi, esi
jmp 0x140002d10
lea r8, [rbp + 0x30]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
js 0x140002d10
cmp eax, 1
jle 0x140002cd6
cmp eax, 3
jne 0x140002d10
movsx ecx, byte [rbp - 0x30]
jmp 0x140002c72
mov r14, qword [rbp + 0x30]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140002d00
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.14000a8f4
cmp r14, rax
jne 0x140002d10
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp + 0x38], rax
mov eax, esi
jne 0x140002d12
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400035b8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003652
cmp byte [rcx + 0x71], 0
je 0x140003652
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003614
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140003618
sub eax, 1
je 0x14000361c
sub eax, 2
je 0x140003652
xor al, al
jmp 0x140003654
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140003649
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call fcn.14000a8f4
cmp rdi, rax
jne 0x140003614
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140003654
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140004650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret
Function at 0x14000fdf0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000fc1c
Function at 0x140002830
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov qword [rsp + 0x20], 0
xorps xmm1, xmm1
lea rdx, str.LauncherITPLauncher.jar
mov r8d, 0x18
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call fcn.140004860
lea rcx, [rsp + 0x20]
call fcn.140002560
xorps xmm0, xmm0
mov qword [rsp + 0x20], 0
xorps xmm1, xmm1
lea rdx, str.LauncherJavaBinJavaw.exe
mov r8d, 0x1b
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x28], xmm0
movzx ebx, al
movdqu xmmword [rsp + 0x38], xmm1
call fcn.140004860
lea rcx, [rsp + 0x20]
call fcn.140002560
test bl, bl
je 0x1400028e5
test al, al
je 0x1400028dc
lea rcx, str.start_LauncherJavaBinjavaw.exe__jar_LauncherITPLauncher.jar
call fcn.1400154a0
xor eax, eax
add rsp, 0x50
pop rbx
ret
lea rdx, str.Javaw.exe_Not_Found_
jmp 0x1400028f7
lea rdx, str.ITPLauncher.jar_Not_Found_
test al, al
jne 0x1400028f7
lea rdx, str.ITPLauncher.jar_And_Javaw.exe_Not_Found_
mov r9d, 0x10
lea r8, str.FATAL_ERROR
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x140002e00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140002e22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140002e9c
mov rdi, r14
mov rcx, rbx
call fcn.140003f40
test rax, rax
jle 0x140002e74
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140008ed0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140002e8c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140002e94
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140002e36
sub r14, rdi
jmp 0x140002f7f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140002eb3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002eb5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002ee7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140008ed0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140002f7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002f22
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140002f5d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14001afd0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140002f7c
cmp rbp, rax
ja 0x140002f30
test rbp, rbp
je 0x140002f7c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14001afd0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x140011b10
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400115f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140011b4f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140064320]
jmp 0x140011b59
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140035f20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140039130
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140061f00
sub rsp, rax
mov rax, qword [0x140083080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140085850]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140039322
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140039276
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140039276
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14003925b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400391f8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400392e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140039341
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14003931d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140039341
jmp 0x1400391ce
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400071b0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140039360
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140061f00
sub rsp, rax
mov rax, qword [0x140083080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140085850]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14003956d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1400394b9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400394b9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140039499
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140039428
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003952d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14003958c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140039568
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14003958c
jmp 0x1400393fe
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400071b0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14003ee60
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14003e420
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14003eec7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140064328]
jmp 0x14003eee9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14003f1f0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x14004e840
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006a00
lea rcx, [rsp + 0x40]
call fcn.14004e800
movzx eax, al
test eax, eax
jne 0x14004e888
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14004e730
mov rax, qword [rsp + 0x70]
jmp 0x14004ea59
lea rcx, [rsp + 0x40]
call fcn.140006a70
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14004e7b0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140006a70
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14004aa10
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14004e92e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14004e730
mov rax, qword [rsp + 0x80]
jmp 0x14004ea59
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140019440
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006a00
lea rcx, [rsp + 0x48]
call fcn.140007150
movzx eax, al
test eax, eax
jne 0x14004e995
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140007130
lea rcx, [rsp + 0x40]
call fcn.14004e730
mov rax, qword [rsp + 0x88]
jmp 0x14004ea59
lea rcx, [rsp + 0x48]
call fcn.140006a70
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140006a70
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14004aa10
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14004ea2b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140007130
lea rcx, [rsp + 0x40]
call fcn.14004e730
mov rax, qword [rsp + 0xa0]
jmp 0x14004ea59
lea rcx, [rsp + 0x48]
call fcn.140008ae0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140007130
lea rcx, [rsp + 0x40]
call fcn.14004e730
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret