joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800112c1
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800135a0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
lea rcx, [0x180032170]
call fcn.18001147e
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.180011096
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x180013606
xor eax, eax
jmp 0x180013678
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x180013659
mov rcx, qword [rbp + 8]
call fcn.1800113ed
nop
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x180013649
xor eax, eax
jmp 0x180013678
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.180011096
mov qword [rbp + 8], rax
jmp 0x180013606
cmp dword [rbp + 0x44], 0
jl 0x180013665
mov rax, qword [rbp + 8]
jmp 0x180013678
cmp qword [rbp + 8], 0
je 0x180013676
mov rcx, qword [rbp + 8]
call fcn.1800113ed
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180021510]
call fcn.1800113d4
mov rax, rdi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x18001131b
Capabilities:
Print debug messages

Disassembly:
jmp 0x180018470
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1800323e0]
call fcn.18001147e
nop
lea rcx, str.Fubuki_lock_and_loaded
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
call fcn.180011505
cmp eax, 0xc00000bb
je 0x1800184b4
int3
cmp dword [rbp + 0x148], 1
jne 0x18001854c
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ntdll.dll_LdrDisableThreadCalloutsForDll]
nop
mov edx, 0x834
lea rcx, [0x18002b8c0]
call fcn.180011343
nop
lea rcx, [0x18002b8c0]
call fcn.180011285
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x180018515
lea rax, [0x18002b8cc]
mov qword [rbp + 0x28], rax
lea rcx, [0x18002b8cc]
call fcn.1800110ff
shl rax, 1
mov dword [rbp + 0x44], eax
jmp 0x180018524
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [sym.imp.KERNEL32.dll_CreateProcessW]
call fcn.180011230
nop
cmp dword [rbp + 4], 0
je 0x18001854c
lea rcx, [0x18002beea]
call fcn.18001116d
nop
mov eax, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1800113a7
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x18001a340
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1800325a0]
call fcn.18001147e
nop
mov edx, 1
lea rcx, [0x180024b98]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x28], 0
jmp 0x18001a38b
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x160]
call fcn.1800110ff
cmp qword [rbp + 0x28], rax
jae 0x18001a410
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x28]
movzx ecx, word [rax + rcx*2]
call qword [sym.imp.USER32.dll_VkKeyScanExW]
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
shr rax, 8
and rax, 0xff
movzx eax, al
and eax, 1
cmp eax, 1
jne 0x18001a3df
mov dword [rbp + 0x134], 1
jmp 0x18001a3e9
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 4], eax
movzx eax, word [rbp + 0x44]
and rax, 0xff
movzx eax, al
mov edx, dword [rbp + 4]
movzx ecx, ax
call fcn.180011082
nop
jmp 0x18001a380
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1800114c4
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
jmp 0x180019160
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1800324c7]
call fcn.18001147e
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp + 0x48], rax
call fcn.180011505
cmp eax, 0xc00000bb
je 0x1800191bd
mov ecx, 0x666f6666
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
nop
mov edx, 0x20a
lea rcx, [rbp + 0x70]
call fcn.180011343
nop
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.180011410
nop
cmp dword [rbp + 4], 0
je 0x180019248
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x70]
cmp eax, 0x31
jne 0x18001920e
call fcn.1800113cf
mov dword [rbp + 0x24], eax
jmp 0x180019246
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x70]
cmp eax, 0x32
jne 0x18001922b
call fcn.180011064
mov dword [rbp + 0x24], eax
jmp 0x180019246
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x70]
cmp eax, 0x33
jne 0x180019246
call fcn.18001119a
mov dword [rbp + 0x24], eax
jmp 0x180019256
lea rcx, str._PCALDR__Empty_command_line_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov ecx, dword [rbp + 0x24]
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1800113d4
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret
Function at 0x1800114c9
Capabilities:
Create process on windows

Disassembly:
jmp 0x180014040
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xb48
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1fa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb68]
lea rcx, [0x180032170]
call fcn.18001147e
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x764], 0x10
mov qword [rbp + 0x788], 0
mov qword [rbp + 0x7a8], 0
mov edx, 0x20a
lea rcx, [rbp + 0x480]
call fcn.180011343
nop
mov dl, 1
lea rcx, [rbp + 0x480]
call fcn.180011172
nop
mov edx, 0x68
lea rcx, [rbp + 0x6b0]
call fcn.180011343
nop
mov dword [rbp + 0x6b0], 0x68
lea rcx, [rbp + 0x6b0]
call fcn.180011118
nop
cmp qword [rbp + 0xb00], 0
je 0x180014168
cmp dword [rbp + 0xb08], 0
je 0x180014168
mov eax, dword [rbp + 0xb08]
add rax, 0x1000
mov qword [rbp + 0x7c8], rax
mov rcx, qword [rbp + 0x7c8]
call fcn.180011096
mov qword [rbp + 0x7a8], rax
cmp qword [rbp + 0x7a8], 0
je 0x180014166
mov dword [rbp + 0x764], 0
mov dword [rbp + 0x24], 1
mov eax, dword [rbp + 0xb08]
mov r8d, eax
mov rdx, qword [rbp + 0xb00]
mov rcx, qword [rbp + 0x7a8]
call fcn.18001123f
nop
jmp 0x1800141b6
mov edx, 0x410
lea rcx, [rbp + 0x50]
call fcn.180011343
nop
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call fcn.1800110aa
nop
lea rdx, str.cmd.exe
lea rcx, [rbp + 0x50]
call fcn.18001143d
nop
lea rax, [rbp + 0x50]
mov qword [rbp + 0x788], rax
mov qword [rbp + 0x7a8], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x6ec], 1
mov eax, 5
mov word [rbp + 0x6f0], ax
mov edx, 0x18
lea rcx, [rbp + 0x738]
call fcn.180011343
nop
lea rax, [rbp + 0x738]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x6b0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x480]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov eax, dword [rbp + 0x764]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x7a8]
mov rdx, qword [rbp + 0x788]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x180014264
mov rcx, qword [rbp + 0x738]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov rcx, qword [rbp + 0x740]
call qword [sym.imp.ntdll.dll_NtClose]
nop
cmp dword [rbp + 0x24], 0
je 0x180014277
mov rcx, qword [rbp + 0x7a8]
call fcn.1800113ed
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x180021670]
call fcn.1800113d4
mov eax, edi
lea rsp, [rbp + 0xae8]
pop rdi
pop rbp
ret
Function at 0x1800114e7
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x1800185a0
push rbp
push rdi
sub rsp, 0x6c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x116
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1800323e0]
call fcn.18001147e
nop
call fcn.180011505
cmp eax, 0xc00000bb
je 0x1800185da
int3
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 4]
mov qword [rsp + 0x20], rcx
mov r9d, 0x104
lea r8, [rbp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.180011410
test eax, eax
je 0x180018611
cmp dword [rbp + 4], 0
jbe 0x180018611
lea rcx, [rbp + 0x30]
call fcn.18001119f
nop
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1800113d4
lea rsp, [rbp + 0x698]
pop rdi
pop rbp
ret
Function at 0x140017063
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x10]
cdqe
mov rcx, rax
call fcn.14011b850
call fcn.14011b440
mov qword [rbp - 0x20], 0
call fcn.14011b5c0
call fcn.14011b5c0
call sub.KERNEL32.dll_GetUserDefaultLangID
mov qword [rbp - 0x10], rax
call fcn.14011b4d0
mov edx, eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1401196a0
call fcn.14011b4d0
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011b690
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.140118ee0
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 3
jne 0x140017115
call fcn.14011b5c0
lea rax, [0x140931100]
mov rcx, rax
call fcn.14011b620
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011b620
call fcn.14011b4d0
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011b690
jmp 0x140017116
nop
call fcn.14011b5c0
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011b620
call fcn.14011b590
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp - 8]
add rsp, 0x40
pop rbp
ret
Function at 0x140030b95
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x18]
cdqe
mov rcx, rax
call fcn.14011b850
call fcn.14011b440
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14011b890
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x10], 0
call fcn.14011b5c0
call fcn.14011b5c0
call fcn.14011b4d0
mov edx, eax
mov ecx, 0x3e8
call fcn.140118f30
call fcn.14011b4d0
mov edx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14011b690
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
lea rax, str.WINDIR
mov rdx, qword [rbp - 0x18]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x78]
lea rdx, [0x140958840]
mov rcx, rax
call fcn.14011b720
call fcn.14011b5c0
call fcn.14011b5c0
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011b620
lea rax, str.System32
mov rcx, rax
call fcn.14011b620
call fcn.14011b7d0
call fcn.14011b5c0
lea rax, str.__c
mov rcx, rax
call fcn.14011b620
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011b620
call fcn.14011b7d0
call fcn.14011b5c0
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011b620
lea rax, str.System32cmd.exe
mov rcx, rax
call fcn.14011b620
call fcn.14011b590
mov qword [rbp - 0x28], rax
call fcn.14011b590
mov qword [rbp - 0x30], rax
call fcn.14011b590
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov r9d, SafeArrayGetLBound
mov r8, rcx
mov rcx, rax
call fcn.1400c26b8
mov qword [rbp - 0x40], rax
call fcn.14011b520
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140030ded
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c2cc4
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x140030dda
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c2d20
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
je 0x140030dd4
call fcn.14011b5c0
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011b620
call fcn.14011b5c0
call fcn.14011b5c0
call fcn.14011b5c0
call fcn.14011b5c0
call fcn.14011b4d0
mov edx, eax
mov rax, qword [rbp - 0x10]
mov r8d, edx
mov edx, SafeArrayPutElement
mov rcx, rax
call fcn.1400c2e6c
call fcn.14011b590
mov qword [rbp - 0x58], rax
call fcn.14011b4d0
mov edx, eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.14001471e
mov qword [rbp - 0x60], rax
call fcn.14011b4d0
lea rax, [0x14094c5f0]
mov rcx, rax
call fcn.14011b620
call fcn.14011b4d0
mov edx, eax
lea rax, [rbp - 0x78]
mov rcx, rax
call fcn.14011b690
jmp 0x140030d12
nop
jmp 0x140030d12
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c2dfc
mov qword [rbp - 0x68], rax
jmp 0x140030dee
nop
call fcn.14011b5c0
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011b620
call fcn.14011b590
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x140035303
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.14011b440
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
lea rax, str.Kernel32
mov rcx, rax
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rbp - 0x20], rax
lea rdx, [0x14094aa60]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateRemoteThread
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x1400353bf
mov qword [rbp - 8], 0
jmp 0x14003540c
nop
mov rax, qword [rbp - 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call sub.KERNEL32.dll_WaitForSingleObject
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400361e4
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
call fcn.14011b440
mov rdx, qword [rbp + 0x18]
lea rax, [rbp + 0x18]
mov rcx, rax
call fcn.14011b890
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.14011b890
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegCreateKeyExW
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400362f1
mov rax, qword [rbp + 0x20]
mov r10, rax
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x30], rax
jmp 0x1400362f2
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.14011b830
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x140075850
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007589a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007589a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007589a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007589a
cmp dword [rcx + 0x84], 0xe
jbe 0x14007589a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007589c
xor al, al
add rsp, 0x28
ret

Function at 0x14007a1b8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14007a227
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007a227
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007a227
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007a227
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007a227
cmp dword [rcx + 0x84], 0xe
jbe 0x14007a227
cmp dword [rcx + 0xf8], 0
je 0x14007a227
mov ecx, ebx
call fcn.14007a32c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140079fec
nop
cmp dword [rbp + 0x20], 0
je 0x14007a275
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14007a280
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14007a1b8

Function at 0x14007a418
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14007a1b8
Function at 0x140085fac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14007c25c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14008604d
cmp ebx, dword [rsp + 0x30]
je 0x140086046
test esi, esi
je 0x140086046
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140086021
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14008602e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14008600b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140086032
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14008604f
mov eax, 1
jmp 0x14008604f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400872e4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140087314
xor eax, eax
jmp 0x1400873d7
mov rbp, rbx
cmp word [rax], si
je 0x140087339
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140087320
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14008731c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400875dc
movsxd r14, eax
test eax, eax
jne 0x140087377
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14008730d
mov rcx, r14
call fcn.14007cce0
mov rdi, rax
test rax, rax
jne 0x140087390
xor ecx, ecx
call fcn.14007b010
jmp 0x14008736c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400875dc
test eax, eax
jne 0x1400873c1
mov rcx, rdi
call fcn.14007b010
jmp 0x1400873cb
xor ecx, ecx
call fcn.14007b010
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400873f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14008747b
mov rsi, rbx
cmp word [rax], bp
je 0x14008743a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140087424
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140087420
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007cce0
mov rdi, rax
test rax, rax
je 0x140087468
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400956f0
mov rbp, rdi
xor ecx, ecx
call fcn.14007b010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008f638
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140080204
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008f6c2
cmp byte [rbp - 0x21], r15b
je 0x14008f6bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008f6f8
call fcn.14007df80
test eax, eax
jne 0x14008f6e4
cmp byte [rbp - 0x21], r15b
je 0x14008f6dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008f6f8
cmp byte [rbp - 0x21], r15b
je 0x14008f6f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400812a4
test eax, eax
jne 0x14008f798
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140080204
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008f737
cmp byte [rbp - 0x21], r15b
je 0x14008f76c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008f76c
call fcn.14007df80
test eax, eax
jne 0x14008f758
cmp byte [rbp - 0x21], r15b
je 0x14008f751
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008f76c
cmp byte [rbp - 0x21], r15b
je 0x14008f769
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400812a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008f798
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008f79b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008f7a9
mov rcx, rdi
call fcn.14007b010
cmp byte [rbp + 0x3f], r15b
je 0x14008f7b8
mov rcx, qword [rbp + 0x27]
call fcn.14007b010
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret