joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008cac0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x14008cad6
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x30], r15
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401052c8]
mov r15d, eax
je 0x14008cb07
mov rcx, rbx
call fcn.14008dea0
test al, al
je 0x14008cb07
xor eax, eax
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x70], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
test rax, rax
jne 0x14008cb2c
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rbx, rsi
jne 0x14008cb44
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14008cb5f
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x140101c4a], 0
jne 0x14008cb7c
mov rdx, rsi
mov rcx, rbx
call fcn.14008ca20
test rax, rax
jne 0x14008cccb
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
xor r12b, r12b
mov qword [rsp + 0x40], r13
xor r13b, r13b
mov qword [rsp + 0x38], r14
test rsi, rsi
je 0x14008cc05
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x14008cc0a
cmp dword [0x1401052c8], eax
je 0x14008cbe1
mov rcx, rsi
call fcn.14008dea0
test al, al
jne 0x14008cbe1
mov ecx, dword [0x1401052c8]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x14008cc0a
cmp r14d, r15d
je 0x14008cc0a
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x14008cc0a
mov r14d, dword [rsp + 0x60]
xor edi, edi
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call fcn.14008ca20
mov rbp, rax
test rax, rax
jne 0x14008cc72
inc edi
cmp edi, 5
jl 0x14008cc10
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rax + 2]
call fcn.140010f60
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rbp + 2]
call fcn.140010f60
mov rdx, rsi
mov rcx, rbx
call fcn.14008ca20
mov rbp, rax
mov rdi, qword [rsp + 0x78]
test r12b, r12b
mov r12, qword [rsp + 0x48]
je 0x14008cc93
mov ecx, dword [0x1401052c8]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x40]
je 0x14008ccac
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14, qword [rsp + 0x38]
test rbp, rbp
je 0x14008ccc4
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rbp
jmp 0x14008ccc6
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x14008ce20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
test r8b, r8b
je 0x14008ce40
call fcn.1400620c0
jmp 0x14008ce50
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test esi, esi
cmovns edi, esi
test edi, edi
je 0x14008ceac
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.1400016e0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008ceac
add edi, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x14008ceac
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016e0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14008ce81
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14008d090
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400bd540
sub rsp, rax
mov r10, qword [rbp + 0x11c10]
mov rdi, rcx
movzx ecx, word [rdx]
mov r11d, 0xffdf
lea eax, [rcx - 0x41]
test r11w, ax
jne 0x14008d144
cmp word [rdx + 2], 0
jne 0x14008d144
cmp word [r8], 0
jne 0x14008d144
cmp word [r9], 0
jne 0x14008d144
cmp word [r10], 0
jne 0x14008d144
mov qword [rsp + 0x11cf0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14008d113
cmp byte [rdi + 0x12a], 0
jne 0x14008d113
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
test eax, eax
cmove rbx, rcx
cmp byte [rbp + 0x11c20], 0
je 0x14008d128
test rbx, rbx
je 0x14008d128
mov qword [rdi + 0xf8], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x11cf0]
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
test cx, cx
jne 0x14008d174
cmp word [r8], cx
jne 0x14008d174
cmp word [r9], cx
jne 0x14008d174
cmp word [r10], cx
jne 0x14008d174
mov rcx, rdi
call fcn.14008d2f0
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
lea rax, [0x1400e8268]
mov r9, r8
mov dword [rsp + 0x30], ecx
mov r8, rdx
mov byte [rbp + 0x1781], cl
mov dword [rbp + 0x1784], ecx
xorps xmm0, xmm0
mov qword [rbp + 0x1788], rcx
mov rdx, rdi
mov dword [rbp + 0x17a0], ecx
mov qword [rbp + 0x17a8], rcx
mov qword [rbp + 0x17b8], rcx
mov qword [rbp + 0x17c0], rcx
lea rcx, [rsp + 0x30]
mov qword [rbp + 0xf48], rax
movdqa xmmword [rbp + 0x1790], xmm0
call fcn.14008e0c0
test eax, eax
je 0x14008d296
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x14008d2a9
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x14008d26b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008d296
cmp byte [rdi + 0x12a], 0
jne 0x14008d264
mov rcx, qword [rbp + 0xf68]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14008d264
mov rcx, qword [rbp + 0xf68]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x14008d296
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x14008d285
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.14008e560
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14008e650
test rax, rax
jne 0x14008d2bb
xor eax, eax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x14008d380]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c20], 0
mov rax, qword [rbp + 0x1788]
je 0x14008d2d7
test rax, rax
je 0x14008d2d7
mov qword [rdi + 0xf8], rax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
Function at 0x14008e560
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x14008e643
mov eax, dword [rbx]
test eax, eax
je 0x14008e643
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x14008e59f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x14008e5bd
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14008e5bd
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x14008e5d6
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x14008e614
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14008e614
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.14005cdc0
test eax, eax
jne 0x14008e614
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x14008e643
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x14008eeb0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400bd540
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14008ef6a
xor r9d, r9d
mov byte [rsp + 0x18a0], dl
lea rcx, [0x1400e8268]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov byte [rsp + 0x1871], r9b
lea rcx, [0x14008f7b0]
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
movdqa xmmword [rsp + 0x1880], xmm0
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x14008ef6a
mov rax, qword [0x1400fca58]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008ef6a
mov edx, 1
call fcn.1400016e0
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x14008ef80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rbx, rcx
jne 0x14008efaa
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fca58]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.14008f550
cmp byte [rbx], 0
mov rbp, rax
je 0x14008efe1
test rax, rax
jne 0x14008efea
jmp 0x14008f082
test rbp, rbp
jne 0x14008f07d
test rdi, rdi
je 0x14008f07d
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.1400016e0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008f05f
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x14008f05f
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016e0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14008f030
mov rax, qword [0x1400fca58]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008f07d
mov edx, 1
call fcn.1400016e0
cmp byte [rbx], 0
je 0x14008f096
xor r9d, r9d
mov r8, rbp
movzx edx, r14b
mov rcx, rbx
call fcn.14008f0c0
jmp 0x14008f0a2
movzx edx, r14b
mov rcx, rbx
call fcn.14008f2b0
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14008f2b0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400bd540
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x14008f474
xor edx, edx
call fcn.14008f490
test eax, eax
jne 0x14008f2f0
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fca58]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.14008f550
mov ecx, dword [0x1401052ac]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x1400e8268]
mov dword [rsp + 0x1884], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x1401052ac], ecx
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x14008f37a
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x14008f382
mov byte [rsp + 0x1881], 1
mov rax, qword [0x1401052b8]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a0], ecx
lea rcx, [0x14008f670]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x14008f438
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x14008dde0]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x14008f400
mov rcx, qword [rsp + 0x1888]
call fcn.14008ebc0
mov qword [rsp + 0x1888], r10
jmp 0x14008f408
mov r10, qword [rsp + 0x1888]
mov rcx, r10
call fcn.14008cac0
mov rcx, qword [rsp + 0x1888]
call fcn.14008ebc0
mov rcx, qword [0x1400fca58]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x14008f464
mov edx, 1
call fcn.1400016e0
jmp 0x14008f464
mov eax, dword [0x1401052ac]
test eax, eax
je 0x14008f464
cmp eax, 1
mov dword [0x1401052ac], ebp
setg al
test al, al
je 0x14008f464
mov rcx, rsi
call fcn.14008ebc0
xor edx, edx
mov rcx, rbx
call fcn.14008f2b0
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400ac18c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400abf60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400abf60
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400abf60
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400abf60
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400abf60
cmp dword [rcx + 0x84], 0xe
jbe 0x1400abf60
cmp dword [rcx + 0xf8], esi
je 0x1400abf60
mov ecx, r14d
call fcn.1400ac0a8
mov ecx, 2
call fcn.1400b5334
nop
cmp byte [0x1400ffa30], 0
jne 0x1400ac02a
mov r15d, 1
mov eax, r15d
xchg dword [0x1400ffa24], eax
test ebx, ebx
jne 0x1400abfd3
mov rdi, qword [0x1400fc018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400ffa28]
cmp rcx, rax
je 0x1400abfca
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140016110]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400ffc70]
jmp 0x1400abfdf
cmp ebx, r15d
jne 0x1400abfe5
lea rcx, [0x1400ffc88]
call fcn.1400b1f50
nop
test ebx, ebx
jne 0x1400abffc
lea rdx, [0x1400c3f48]
lea rcx, [0x1400c3f28]
call fcn.1400b22e8
lea rdx, [0x1400c3f58]
lea rcx, [0x1400c3f50]
call fcn.1400b22e8
movzx eax, byte [0x1400ffa30]
test esi, esi
cmove eax, r15d
mov byte [0x1400ffa30], al
jmp 0x1400ac02a
mov ecx, 2
call fcn.1400b5388
test esi, esi
jne 0x1400ac041
mov ecx, r14d
call fcn.1400ac05c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400abef0
Function at 0x140036320
Capabilities:
Terminate process

Disassembly:
invalid
cld
pop r11
jmp 0x14003632d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003633d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140036325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140036355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140036342
sub eax, 3
jb 0x14003636f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400363a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140036396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140036394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140036383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400362e2
jmp 0x14003632d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400363f2
cmp rsi, rcx
jae 0x1400363fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400363d9
cmp al, 0x8f
ja 0x1400363d9
cmp byte [rsi - 2], 0xf
je 0x1400363df
sub al, 0xe8
cmp al, 1
ja 0x1400363c3
cmp rsi, rcx
jae 0x1400363fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400363c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400363fa
lodsb al, byte [rsi]
jmp 0x1400363d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34000]
mov eax, dword [rdi]
or eax, eax
je 0x140036463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x377c4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140036407
jns 0x14003643c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140036446
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003645d
mov qword [rbx], rax
add rbx, 8
jmp 0x140036427
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400364bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x3144410
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x314441d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x314442d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x3144415
lea eax, [rcx + 1]
jmp 0x314443b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x314444e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x3144434
sub eax, 3
jb 0x314446e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x31444bd
sar eax, 1
movsxd rbp, eax
jb 0x31444a4
jmp 0x314447c
add ebx, ebx
jne 0x314447a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x31444a4
inc ecx
add ebx, ebx
jne 0x314448a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x31444a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x314449d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x314448c
add ecx, 2
jmp 0x31444a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.031443d2
jmp 0x314441d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2d1b000]
mov eax, dword [rdi]
or eax, eax
je 0x3144519
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2d44000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x31444c9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x3144513
mov qword [rbx], rax
add rbx, 8
jmp 0x31444e9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x314455d
cmp al, 0xef
ja 0x3144545
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x3144525
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x3144534
mov eax, dword [rdi]
add rdi, 4
jmp 0x3144534
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x31445b1
sub rsp, 0xffffffffffffff80
jmp 0x46bee0
Function at 0x180009540
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180009573
xor eax, eax
jmp 0x18000963c
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1800095a0
xor eax, eax
jmp 0x18000963c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1800095cc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x18000963a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18000b790
test eax, eax
jne 0x180009638
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
jmp 0x18000963c
jmp 0x1800095c2
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f51f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400f5200]
mov dword [rax], 1
mov rax, qword [0x1400f5210]
mov dword [rax], 1
mov rax, qword [0x1400f5160]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400f51e0]
mov dword [0x14012700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400f52e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400f52c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400f4770]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a