joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001f400
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x18007c0b8]
mov rax, qword [0x18007c0b0]
xor ecx, ecx
sub rdx, rax
sar rdx, 2
test edx, edx
je 0x18001f621
cmp dword [rax], 0x6435437f
je 0x18001f445
inc ecx
add rax, 4
cmp ecx, edx
jb 0x18001f428
mov eax, 1
add rsp, 0x60
pop rbp
ret
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6e65706f
mov dword [rbp - 0x1c], 0x32336c67
mov dword [rbp - 0x18], 0x6c6c642e
mov byte [rbp - 0x14], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001f621
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x65526c67
mov dword [rbp - 0x3c], 0x69506461
mov qword [rbp - 0x38], 0x736c6578
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x536c6777
mov dword [rbp - 0x3c], 0x42706177
mov dword [rbp - 0x38], 0x65666675
mov qword [rbp - 0x34], 0x7372
mov qword [0x18007bad0], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x536c6777
mov dword [rbp - 0x3c], 0x4c706177
mov dword [rbp - 0x38], 0x72657961
mov dword [rbp - 0x34], 0x66667542
mov qword [0x18007bb20], rax
mov qword [rbp - 0x30], 0x737265
mov dword [rbp - 0x28], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x436c6777
mov dword [rbp - 0x3c], 0x74616572
mov dword [rbp - 0x38], 0x6e6f4365
mov qword [rbp - 0x34], 0x74786574
mov qword [0x18007bb40], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x446c6777
mov dword [rbp - 0x3c], 0x74656c65
mov dword [rbp - 0x38], 0x6e6f4365
mov qword [rbp - 0x34], 0x74786574
mov qword [0x18007bac8], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x40], 0x4d6c6777
mov dword [rbp - 0x3c], 0x43656b61
mov dword [rbp - 0x38], 0x65727275
mov qword [rbp - 0x34], 0x746e
mov qword [0x18007bae8], rax
mov qword [rbp - 0x2c], 0
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18007bb38], rax
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x18001f800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x18007c0b8]
mov rax, qword [0x18007c0b0]
xor ecx, ecx
sub rdx, rax
sar rdx, 2
test edx, edx
je 0x18001f90e
cmp dword [rax], 0x264d4161
je 0x18001f845
inc ecx
add rax, 4
cmp ecx, edx
jb 0x18001f828
mov eax, 1
add rsp, 0x60
pop rbp
ret
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x6562696c
mov dword [rbp - 0x3c], 0x642e6c67
mov word [rbp - 0x38], 0x6c6c
mov byte [rbp - 0x36], 0
mov dword [rbp - 0x20], 0x4762696c
mov dword [rbp - 0x1c], 0x7653454c
mov dword [rbp - 0x18], 0x6c642e32
mov word [rbp - 0x14], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001f90e
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001f90e
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x10], 0x536c6765
mov dword [rbp - 0xc], 0x42706177
mov dword [rbp - 8], 0x65666675
mov word [rbp - 4], 0x7372
mov byte [rbp - 2], 0
mov dword [rbp - 0x30], 0x65526c67
mov dword [rbp - 0x2c], 0x69506461
mov dword [rbp - 0x28], 0x736c6578
mov byte [rbp - 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
mov qword [0x18007bab0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18007bb00], rax
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x18001fae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdx, qword [0x18007c0b8]
mov rax, qword [0x18007c0b0]
xor ebx, ebx
sub rdx, rax
mov rdi, rcx
mov r8d, ebx
sar rdx, 2
test edx, edx
je 0x18001fb24
mov rcx, rax
nop
cmp dword [rcx], 0x5f141e32
je 0x18001fb68
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x18001fb10
mov dword [0x18007baf8], ebx
mov r8d, ebx
test edx, edx
je 0x18001fb48
mov rcx, rax
cmp dword [rcx], 0x4766a246
je 0x18001fb74
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x18001fb34
mov r8d, ebx
test edx, edx
je 0x18001fbc6
mov rcx, rax
cmp dword [rcx], 0x5f141e32
je 0x18001fb74
inc r8d
add rcx, 4
cmp r8d, edx
jb 0x18001fb52
jmp 0x18001fbc6
mov dword [0x18007baf8], 1
jmp 0x18001fb2a
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x61726464
mov dword [rsp + 0x24], 0x6c642e77
mov word [rsp + 0x28], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001fbbf
mov ecx, dword [rdi + 0x1000438]
call fcn.18001d470
mov qword [0x18007bae0], rax
mov ecx, dword [rdi + 0x100043c]
call fcn.18001d470
mov qword [0x18007bb28], rax
mov rax, qword [0x18007c0b0]
mov rcx, qword [0x18007c0b8]
sub rcx, rax
sar rcx, 2
test ecx, ecx
je 0x18001fc55
cmp dword [rax], 0x4766a2c9
je 0x18001fbfa
inc ebx
add rax, 4
cmp ebx, ecx
jb 0x18001fbd8
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x39643364
mov dword [rsp + 0x24], 0x6c6c642e
mov byte [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001fc55
mov ecx, dword [rdi + 0x100042c]
call fcn.18001d510
mov qword [0x18007bb08], rax
mov ecx, dword [rdi + 0x1000430]
call fcn.18001d510
mov qword [0x18007bac0], rax
mov ecx, dword [rdi + 0x1000434]
call fcn.18001d510
mov qword [0x18007bad8], rax
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180024560
Capabilities:
Log keystrokes

Disassembly:
lea eax, [rcx - 0x10]
cmp eax, 0x94
ja case.0x180024589.19
lea r8, [0x180000000]
movzx eax, byte [r8 + rax + 0x246a8]
mov edx, dword [r8 + rax*4 + 0x24638]
add rdx, r8
jmp rdx
mov eax, 0xcb
ret
mov eax, 0xcd
ret
mov eax, 0xc8
ret
mov eax, 0xd0
ret
mov eax, 0x3b
ret
mov eax, 0x3c
ret
mov eax, 0x3d
ret
mov eax, 0x3e
ret
mov eax, 0x3f
ret
mov eax, 0x40
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x1d
ret
mov eax, 0x38
ret
mov eax, 0x2a
ret
mov eax, 0xd1
ret
mov eax, 0xc9
ret
mov eax, 0xc7
ret
mov eax, 0xcf
ret
mov eax, 0xd2
ret
mov eax, 0xd3
ret
mov eax, 0xb5
ret
mov eax, 0xdd
ret
xor edx, edx
jmp qword [sym.imp.USER32.dll_MapVirtualKeyA]
add al, 0
and byte [rbx + 2], ch
add al, bh
insb byte [rdi], dx
add al, byte [rax]
mov esp, 0x90000448
add al, 0
nop
add al, 0
nop
insd dword [rdi], dx
add al, byte [rax]
outsb dx, byte ss:[rsi]
add al, byte [rax]
invalid
add al, 0
outsb dx, byte [rsi]
add al, byte [rax]
jge 0x180080ee0
add al, byte [rax]
invalid
add al, byte [rax]
loopne case.0x18002462f.25
add al, 0
loopne 0x180080ef4
add al, byte [rax]
jne 0x180080efa
add al, byte [rax]
in al, dx
add al, 0
xor byte [rax + 2], 0
invalid
add al, 0
invalid
popfq
ja 0x180080ebd
add ah, cl
add al, 0
popfq
ja 0x180080ec5
add ch, bl
ja 0x180080ec9
add al, ah
add al, 0
add al, 0
fnsave dword [rdi + 2]
add cl, dh
ja 0x180080ed5
add ah, dh
add al, 0
int1
ja 0x180080edd
add byte [rbp + 0x78], cl
js 0x180080ee1
add al, byte [rax]
add byte [rbx + rcx*2], al
add al, 0x4b
add al, 0
add al, 0
js 0x180080ee9
add dh, dl
js 0x180080eed
add byte [rax], bl
add al, 0
loopne 0x180080f6a
add al, byte [rax]
push rdx
jle 0x180080ef9
add al, byte [rax]
sub byte [rbx + 4], cl
add byte [rax + 0x7e], dh
add byte [rax], ch
add al, 0
add al, 0
jo 0x180080f7c
add al, byte [rax]
mov ch, 0x7e
add al, byte [rax]
pop rax
add al, 0
sar byte [rsi + 2], 0
sti
jg 0x180080f11
add byte [rax + 0x4c], ah
add al, 0
add al, 0
adc byte [rax - 0x7f9dfffe], al
add al, byte [rax]
je 0x180080f6a
add al, 0
nop
add byte [rdx], 0
and al, byte [rcx + 0x4c800002]
add al, 0
xor byte [rcx - 0x7d6ffffe], al
add al, byte [rax]
mov byte [rsp + rax], cl
movabs al, byte [0x9800028325000282]
add al, byte [rax]
and eax, 0x98000283
add al, byte [rax]
and eax, 0x98000283
add al, 0
xor byte [rbx - 0x777afffe], al
add al, byte [rax]
movabs al, byte [0xc20002889000044c]
pop qword [rdx]
add byte [rax - 0x2ffffbb4], bh
pop qword [rdx]
add al, byte [rax]
loopne 0x180080ef6
add al, byte [rax]
loopne 0x180080ef6
add al, byte [rax]
invalid
add al, byte [rax]
xchg ebp, eax
add al, byte [rax]
in al, dx
add al, 0
add al, 0
add al, 0
xchg ebp, eax
add al, byte [rax]
adc edi, edi
add al, byte [rax]
add byte [rbp + 4], cl
add byte [rax], ah
inc dword [rdx]
add byte [rax + 0x3b], dh
add eax, dword [rax]
sbb byte [rbp + 4], cl
add byte [rax - 0x5bfffcc5], al
cmp eax, dword [rbx]
add byte [rax], dh
add al, 0
mov al, 0x3b
add eax, dword [rax]
invalid
add eax, dword [rax]
adc eax, 0x9000036c
add al, 0
sbb byte [rbx + rax], ch
invalid
Function at 0x180025930
Capabilities:
Create thread

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r8d, r8d
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rcx
mov qword [r11 - 0x10], rax
mov qword [r11 + 8], r8
test edx, edx
je 0x1800259a8
lea rax, [r11 + 0x10]
mov dword [r11 + 0x10], r8d
lea r9, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov dword [r11 - 0x28], r8d
lea r8, [0x1800259d0]
xor edx, edx
xor ecx, ecx
mov qword [r11 - 8], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp eax, 0xffffffff
je 0x180025999
test rax, rax
je 0x180025999
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
call rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1800262d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x98
mov ebx, 0xc00000
mov rsi, rcx
mov r15, rdx
mov ecx, ebx
xor r14d, r14d
mov qword [rbp - 0x59], rbx
call fcn.180003210
mov r13, rax
test rax, rax
jne 0x180026326
add rsp, 0x98
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
cmp rsi, r15
ja 0x1800264d8
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
nop
xor eax, eax
lea rdx, [rbp - 0x49]
mov ecx, esi
lea r8d, [rax + 0x30]
mov qword [rbp - 0x49], 0
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x1800264c8
cmp dword [rbp - 0x29], 0x1000
mov rdi, qword [rbp - 0x31]
mov r12, qword [rbp - 0x49]
mov qword [rbp - 0x51], rdi
jne 0x1800264b7
test dword [rbp - 0x25], 0x101
jne 0x1800264b7
cmp rbx, rdi
jae 0x1800263d2
mov edx, edi
mov rcx, r13
mov rbx, r13
call fcn.180003cd4
mov r13, rax
test rax, rax
jne 0x1800263ce
test rbx, rbx
je 0x1800263c5
mov rcx, rbx
call fcn.1800031d0
lea rsi, [rdi + r12]
jmp 0x1800264bb
mov qword [rbp - 0x59], rdi
mov r8d, edi
mov rdx, r13
mov rcx, r12
call fcn.180027660
test eax, eax
je 0x1800264b7
mov eax, dword [rbp + 0x4f]
sub esi, r12d
mov r15d, edi
sub r15d, eax
add esi, r13d
add r15d, r13d
cmp esi, r15d
jae 0x1800264b3
nop word [rax + rax]
mov ecx, dword [rbp + 0x67]
mov r8, qword [rbp + 0x5f]
mov rdx, qword [rbp + 0x57]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov ecx, esi
mov ebx, esi
call qword [rbp + 0x8f]
cmp eax, 1
jne 0x18002649d
mov eax, r13d
sub rbx, rax
add rbx, r12
cmp rbx, qword [rbp + 0x47]
ja 0x18002649d
lea eax, [r14 + 0x12]
mov dword [rbp - 0x61], 0x3649257c
mov word [rbp - 0x5d], 0x5834
mov byte [rbp - 0x5b], 0
mov dword [rbp + 0x3f], 0x34364925
mov word [rbp + 0x43], 0x58
cmp eax, 0xf4240
jae 0x18002649d
mov edi, r14d
mov r9, rbx
mov edx, 0x12
add rdi, qword [rbp + 0x6f]
lea r8, [rbp - 0x61]
mov rcx, rdi
test r14d, r14d
jne 0x180026488
lea r8, [rbp + 0x3f]
call fcn.180003964
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x180026491
add r14d, eax
add esi, dword [rbp + 0x87]
mov eax, dword [rbp + 0x4f]
cmp esi, r15d
jb 0x180026410
mov rdi, qword [rbp - 0x51]
mov r15, qword [rbp + 0x47]
lea rsi, [r12 + rdi]
mov rbx, qword [rbp - 0x59]
cmp rsi, r15
jbe 0x180026340
mov rdi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x88]
test r13, r13
je 0x1800264e5
mov rcx, r13
call fcn.1800031d0
mov eax, 1
add rsp, 0x98
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
Function at 0x180026a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp rcx, rdx
ja 0x180026b18
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r9
mov r9, rcx
mov ecx, dword [r8]
lea eax, [rcx + 0x12]
mov rbx, r8
mov dword [rsp + 0x38], 0x3649257c
mov word [rsp + 0x3c], 0x5834
mov byte [rsp + 0x3e], 0
mov dword [rsp + 0x30], 0x34364925
mov word [rsp + 0x34], 0x58
cmp eax, 0xf4240
jae 0x180026b0e
mov edx, 0x12
lea r8, [rsp + 0x38]
test ecx, ecx
jne 0x180026aef
lea r8, [rsp + 0x30]
add rcx, rdi
call fcn.180003964
mov edx, dword [rbx]
or rax, 0xffffffffffffffff
lea rcx, [rdi + rdx]
inc rax
cmp byte [rcx + rax], 0
jne 0x180026b01
add eax, edx
mov dword [rbx], eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
repz ret

Function at 0x1800275d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
movsxd rsi, r8d
lea r9, [rsp + 0x58]
lea r8d, [rbx + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18002763c
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.1800029a0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x180027644
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x180034f90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
xor edi, edi
cmp dword [0x18007c090], 0x40
mov rbp, r8
mov rsi, rdx
mov r14, rcx
mov ebx, edi
jae 0x180035150
mov rax, qword [0x18007c098]
test rax, rax
je 0x180034fd9
call rax
mov rbx, rax
test rax, rax
jne 0x1800350bf
add rsi, r14
mov eax, 0x80000000
cmp rsi, rax
jae 0x180034fed
mov esi, 1
jmp 0x180034ff4
sub rsi, 0x7fff0000
add rbp, r14
cmp rbp, 0xffffffff80000000
jae 0x180035009
add rbp, 0x7ff80000
jmp 0x180035010
mov rbp, 0xfffffffffff80000
xor edx, edx
lea rcx, [rsp + 0x6c]
mov dword [rsp + 0x68], edi
lea r8d, [rdx + 0x2c]
call fcn.180008040
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rsi, rbp
jae 0x180035150
nop dword [rax + rax]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800350b6
cmp dword [rsp + 0x58], 0x10000
jne 0x1800350a7
mov rax, qword [rsp + 0x50]
cmp rax, 0xa8
jb 0x1800350a7
mov edx, dword [rsp + 0x90]
mov ecx, edx
cmp rax, rdx
jb 0x1800350a7
lea eax, [rdx - 1]
xor edx, edx
add rax, rsi
div rcx
imul rax, rcx
test rax, rax
je 0x1800350e3
cmp eax, 0x10000
jae 0x1800350e3
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rdi
mov rsi, qword [rsp + 0x38]
add rsi, qword [rsp + 0x50]
cmp rsi, rbp
jb 0x180035040
test rbx, rbx
je 0x180035150
lea rcx, [0x18007c170]
mov rax, rcx
nop dword [rax]
cmp qword [rax], 0
je 0x180035130
inc edi
add rax, 8
cmp edi, 0x40
jb 0x1800350d0
jmp 0x180035150
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x30], 0xa8
mov dword [rsp + 0x20], 0x3000
call fcn.180012250
test eax, eax
js 0x1800350a4
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
jne 0x1800350bf
jmp 0x1800350a7
inc dword [0x18007c090]
mov eax, edi
mov qword [rcx + rax*8], rbx
mov rax, qword [0x18007bf88]
test rax, rax
je 0x180035150
mov rdx, rbx
mov rcx, r14
call rax
lea r11, [rsp + 0xa0]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180036200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r8d
mov r13d, edx
movsxd rsi, ecx
mov eax, 1
xchg dword [0x18007c094], eax
cmp eax, 1
jne 0x18003626b
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x18007c094], eax
cmp eax, 1
je 0x180036250
mov r14, rsi
lea r12, [0x180000000]
shl r14, 8
test r13d, r13d
je 0x1800362ab
lea rax, [r12 + 0x7c370]
add rax, r14
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x180036290
test rcx, rcx
je 0x1800362cb
xor ebx, ebx
xchg dword [0x18007c094], ebx
jmp 0x180036446
lea rax, [r12 + 0x7ce70]
add rax, r14
or rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800362c0
jmp 0x180036299
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x2f]
call fcn.180008040
mov dword [rbp - 0x30], 0x61636f4c
mov word [rbp - 0x2c], 0x5c6c
mov byte [rbp - 0x2a], 0
mov dword [rbp + 0x118], 0x4e565354
mov byte [rbp + 0x11c], 0
lea r8, [rbp + 0x118]
mov edx, 0x100
lea rcx, [rbp - 0x30]
call fcn.180003440
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
cmp byte [rbp - 0x30], bl
jne 0x18003633b
mov r8d, ebx
jmp 0x18003634b
lea rax, [rbp - 0x30]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x180036342
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.180001380
nop
test r15d, r15d
jne 0x18003636f
mov word [rbp - 0x60], 0x6425
mov byte [rbp - 0x5e], r15b
lea rdx, [rbp - 0x60]
jmp 0x1800363ab
cmp r15d, 1
jne 0x18003638b
mov dword [rsp + 0x60], 0x25256425
mov word [rsp + 0x64], 0x64
lea rdx, [rsp + 0x60]
jmp 0x1800363ab
cmp r15d, 2
jne 0x1800363b7
mov dword [rsp + 0x40], 0x25256425
mov dword [rsp + 0x44], 0x64252564
mov byte [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.180002430
cmp byte [rbp - 0x80], 0
jne 0x1800363c2
mov rdi, rbx
jmp 0x1800363cf
lea rax, [rbp - 0x80]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800363c6
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.180002490
lea r8, [rsp + 0x20]
mov edx, 0x100
test r13d, r13d
lea rdi, [r12 + 0x7c370]
jne 0x1800363ff
lea rdi, [r12 + 0x7ce70]
cmp qword [rsp + 0x38], 0x10
cmovae r8, qword [rsp + 0x20]
add rdi, r14
mov rcx, rdi
call fcn.180003354
mov ecx, ebx
xchg dword [0x18007c094], ecx
cmp qword [rsp + 0x38], 0x10
jb 0x180036430
mov rcx, qword [rsp + 0x20]
call fcn.180003020
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
mov rax, rdi
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14016cbb0]
mov dword [rax], 1
mov rax, qword [0x14016cbc0]
mov dword [rax], 1
mov rax, qword [0x14016cbd0]
mov dword [rax], 1
mov rax, qword [0x14016cb40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14012eb00
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.14014ea40
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.1401455e0
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14012eb59
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14014d720
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14015eea0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14015eea0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14014e3f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14017bae8]
test eax, eax
je 0x14014e48a
lea rax, [0x14017bac0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14017baf0]
mov qword [rbp - 8], rax
jmp 0x14014e46e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14014e462
cmp qword [rbp - 0x10], 0
je 0x14014e462
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14014e428
lea rax, [0x14017bac0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14014e48b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14014e590
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14014e5b8
mov eax, 0
jmp 0x14014e606
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14014e5e1
mov eax, 0
jmp 0x14014e606
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14014e601
mov eax, 0
jmp 0x14014e606
mov eax, 1
add rsp, 0x20
pop rbp
ret