joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001de3
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
call dbg.__main
lea rax, str.VentanaConversor
mov qword [rbp - 8], rax
pxor xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movq qword [rbp - 0x20], xmm0
lea rax, [sym.WindowProcedure]
mov qword [rbp - 0x58], rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x20], rax
mov ecx, 0xa5ff
mov rax, qword [sym.imp.GDI32.dll_CreateSolidBrush]
call rax
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_RegisterClassA]
call rax
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x190
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Conversor_de_Unidades_de_Masa
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExA]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UpdateWindow]
call rax
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.crearInterfaz
jmp 0x140001f25
lea rax, [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_TranslateMessage]
call rax
lea rax, [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DispatchMessageA]
call rax
lea rax, [rbp - 0x90]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
call rax
test eax, eax
jne 0x140001eff
mov eax, 0
add rsp, 0xf0
pop rbp
ret

Function at 0x140002220
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002290
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000d0d4]
mov rbx, rcx
test esi, esi
jle 0x1400023c0
mov rax, qword [0x14000d0d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400022db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002365
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400022c0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400023e2
mov rax, qword [0x14000d0d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000d0d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400023c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000235e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002370
add dword [0x14000d0d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000d0d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000235e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400022e8
mov rax, qword [0x14000d0d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002970
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000d140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d120]
test rbx, rbx
je 0x1400029cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400029c3
test eax, eax
jne 0x1400029c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400029a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002be0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002bf8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002c00
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002c10
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140002c5d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002c54
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140002c5f
add rax, 0x28
cmp rax, r9
jne 0x140002c40
xor eax, eax
ret

Function at 0x140002c60
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002cf0
mov rdx, qword [0x14000a890]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140002cde
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140002cde
cmp word [rax + 0x18], 0x20b
jne 0x140002cde
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002cf0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002cc9
add rbx, 0x28
cmp rbx, rdi
je 0x140002cf0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002cc0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002d00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a890]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002d20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002d28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002d20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002d7d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002d74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002d20
add rax, 0x28
cmp rax, r9
jne 0x140002d60
xor eax, eax
ret

Function at 0x140002d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a890]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002d9f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002da8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002d9f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002dc0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a890]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002de0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002de8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002de0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002e30
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002e27
test rcx, rcx
je 0x140002de0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002e18
xor eax, eax
ret
Function at 0x140002e40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a890]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002e5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002e68
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002e80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a890]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002ea0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002ea8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002ea0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002ea0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002ef4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002f00
add rdx, 0x28
cmp rdx, r9
jne 0x140002ee0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002f10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a890]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002f32
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002f40
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002f32
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002f32
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002f32
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002f95
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002fa8
add rdx, 0x28
cmp r10, rdx
jne 0x140002f80
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002fb7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002fc7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002f9e
test ecx, ecx
jg 0x140002fb0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18009a41e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
sub ecx, ecx
mov dh, ch
add rcx, r8
sub eax, dword [rbp - 0x3f]
mov eax, dword [rbp - 0x33]
mov qword [rbp - 0xf], r11
mov ecx, ecx
mov qword [rbp - 0x37], r11
cmp r11, rcx
je 0x18009a457
mov rax, qword [rbp - 8]
mov rdx, r9
mov ecx, eax
mov edx, ecx
mov qword [rbp - 0x38], r9
mov ecx, dword [rbp - 0x34]
mov eax, dword [rbp - 0xe]
mov rax, qword [rbp - 0x28]
or qword [rbp - 0x3f], r8
mov r9, rcx
test eax, 0xcfc3315f
jne 0x18009a46d
mov rax, qword [rbp - 8]
sub rdx, r8
mov dword [rbp - 0x2b], ecx
mov eax, dword [rbp - 0x36]
mov ecx, edx
movzx edx, cx
movzx ecx, ch
mov dword [rbp - 0x37], ecx
cmp eax, ecx
jns 0x18009a493
mov dword [rbp - 0x26], edx
add eax, dword [rbp - 0x2f]
and rcx, qword [rbp - 0x10]
add qword [rbp - 0x30], r11
mov ecx, edx
add qword [rbp - 0x2f], r10
cmp rcx, 0x537c2404
jne 0x18009a4a2
mov dword [rbp - 0x16], edx
add r8, r10
cmp rdx, qword [0x1800d93a3]
jno 0x18009a4bf
mov r10, qword [rbp - 0x19]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x38], ecx
mov r8, r10
sub edx, eax
mov dword [rbp - 7], edx
mov rdx, rax
cmp rax, 0x55808810
ja 0x18009a4dd
mov r9, qword [rbp - 0x27]
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x11], r10
mov eax, edx
test r9, 0x60f53702
jae 0x18009a501
mov rcx, qword [rbp - 0x29]
mov rax, qword [rbp - 0xf]
mov dword [rbp - 0xe], edx
mov qword [rbp - 0x39], r9
sub ecx, 0xf22a
mov dword [rbp - 0x3f], edx
add dword [rbp - 0xa], eax
movzx eax, dl
add dword [rbp - 0x1c], eax
mov rdx, r10
mov ecx, dword [rbp - 0x20]
mov r11, 0x82a3
mov eax, dword [rbp - 0x2b]
mov edx, dword [0x1800d9fd8]
mov rdx, qword [rbp - 0x11]
add r11, r9
mov qword [rbp - 0x1c], r8
add dword [rbp - 0x3d], eax
mov dword [rbp - 0x22], eax
movzx ecx, byte [rbp - 0x16]
cmp r10, r11
je 0x18009a537
and dword [rbp - 0x16], edx
and ecx, dword [rbp - 0x12]
mov rcx, qword [rbp - 0x33]
sub qword [rbp - 0x30], rax
mov dword [rbp - 0x18], eax
cmp al, dh
jb 0x18009a562
call fcn.18009a599
mov ecx, edx
xor qword [rbp - 0xd], r10
lea r11, [rbp - 7]
add rdx, rax
mov rdx, qword [rbp - 0xb]
sub dword [rbp - 0x1a], ecx
mov r10, qword [rbp - 9]
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x18009a586
mov ecx, dword [rbp - 0x11]
and eax, 0x2dad
lea eax, [rbp - 0x29]
inc qword [rsp]
mov r9, 0x15
cmp qword [rsp], r9
jle 0x18009a577
add rsp, 0x10
leave
ret
Function at 0x180003e48
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.180003cb8

Function at 0x180005724
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000573a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000573c
xor eax, eax
test eax, eax
je 0x18000574c
mov ecx, eax
call fcn.180007478
or eax, 0xffffffff
jmp 0x18000574e
xor eax, eax
add rsp, 0x28
ret
jmp 0x180005724

Function at 0x180005754
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000573a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000573c
xor eax, eax
test eax, eax
je 0x18000574c
mov ecx, eax
call fcn.180007478
or eax, 0xffffffff
jmp 0x18000574e
xor eax, eax
add rsp, 0x28
ret
jmp 0x180005724

Function at 0x1800061a3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800810b0]
jne 0x1800033da
rol rcx, 0x10
test cx, 0xffff
jne 0x1800033d6
repz ret
ror rcx, 0x10
jmp 0x1800060fc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180082d40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180082e38]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180006181
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180082d40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800061a3
mov rax, qword [rsp + 0x88]
mov qword [0x180082e38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180082dd8], rax
mov rax, qword [0x180082e38]
mov qword [0x180082cb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180082dc0], rax
mov dword [0x180082ca0], 0xc0000409
mov dword [0x180082ca4], 1
mov rax, qword [0x1800810b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800810b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180082d38], eax
mov ecx, 1
call fcn.18000d874
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800376c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180082d38], 0
jne 0x18000622a
mov ecx, 1
call fcn.18000d874
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1800100e4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800810b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180008274
xor ebx, ebx
cmp qword [0x180083d00], rbx
mov rdi, rax
jne 0x1800101f7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800102ce
lea rdx, [0x180038ff0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800102ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180083d00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180083d08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180083d10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180083d20], rax
test rax, rax
je 0x1800101ee
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180083d18], rax
jmp 0x1800101fe
mov rax, qword [0x180083d18]
jmp 0x180010205
mov rax, qword [0x180083d18]
mov r11, qword [0x180083d20]
cmp rax, rdi
je 0x18001026c
cmp r11, rdi
je 0x18001026c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180083d20]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001026c
test rax, rax
je 0x18001026c
call rsi
test rax, rax
je 0x180010266
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180010266
test byte [rsp + 0x40], 1
jne 0x18001026c
bts ebp, 0x15
jmp 0x1800102ac
mov rcx, qword [0x180083d08]
cmp rcx, rdi
je 0x1800102ac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800102ac
call rax
mov rbx, rax
test rax, rax
je 0x1800102ac
mov rcx, qword [0x180083d10]
cmp rcx, rdi
je 0x1800102ac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800102ac
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180083d00]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800102ce
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800102d0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800033c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002d3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
imul eax, dword [rsp + 0x70]
mov eax, eax
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x18002d473
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
imul eax, dword [rsp + 0x70]
cmp dword [rsp + 0x20], eax
jae 0x18002d4ed
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call fcn.1800046a0
test eax, eax
jne 0x18002d4e8
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x70]
mov eax, eax
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
imul eax, dword [rsp + 0x70]
mov eax, eax
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
jmp 0x18002d4ef
jmp 0x18002d469
xor eax, eax
add rsp, 0x68
ret

Function at 0x18002d500
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x60], 0
jne 0x18002d527
xor al, al
jmp 0x18002d5ec
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x18002d566
xor al, al
jmp 0x18002d5ec
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
inc eax
mov eax, eax
mov ecx, eax
call fcn.180004750
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x18002d58f
xor al, al
jmp 0x18002d5ec
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
inc eax
mov eax, eax
mov edx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.180002280
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov r9, qword [rax]
mov r8d, 1
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x18002d5ea
xor al, al
jmp 0x18002d5ec
mov al, 1
add rsp, 0x48
ret
Function at 0x18002d600
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
lea rax, str.f__K_MA232TJ0Wlh6pRnC7p_R0zKhwwKb__e_T_MgFGqqwiL1zr_jCc
mov qword [rsp + 0x20], rax
lea rcx, str.4096
call fcn.18000398c
mov dword [rsp + 0x34], eax
lea rcx, str.8192
call fcn.18000398c
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
mov r9d, 0x40
mov r8d, eax
mov edx, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18002d66e
xor eax, eax
jmp 0x18002d6df
mov dword [rsp + 0x30], 0
jmp 0x18002d682
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x30], eax
jae 0x18002d6da
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowWindow]
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
cdq
mov ecx, 0x3c
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
jmp 0x18002d678
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret