joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400be7c0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400be7d6
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], r13
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
cmp eax, dword [0x14012c598]
mov r13d, eax
je 0x1400be807
mov rcx, rbx
call fcn.1400c03c0
test al, al
je 0x1400be807
xor eax, eax
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rbp
call qword [sym.imp.USER32.DLL_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.DLL_IsIconic]
test eax, eax
je 0x1400be830
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.DLL_ShowWindow]
cmp rbx, rbp
jne 0x1400be848
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop rbx
ret
cmp byte [0x14012ac05], 0
jne 0x1400be865
mov rdx, rbp
mov rcx, rbx
call fcn.1400be720
test rax, rax
jne 0x1400be9b0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15b, r15b
xor r14b, r14b
test rbp, rbp
je 0x1400be8ee
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
mov r12d, eax
test eax, eax
je 0x1400be8f3
cmp dword [0x14012c598], eax
je 0x1400be8ca
mov rcx, rbp
call fcn.1400c03c0
test al, al
jne 0x1400be8ca
mov ecx, dword [0x14012c598]
mov r8d, 1
mov edx, r12d
call qword [sym.imp.USER32.DLL_AttachThreadInput]
test eax, eax
setne r14b
test r13d, r13d
je 0x1400be8f3
cmp r12d, r13d
je 0x1400be8f3
mov r8d, 1
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.DLL_AttachThreadInput]
test eax, eax
setne r15b
jmp 0x1400be8f3
mov r12d, dword [rsp + 0x60]
xor edi, edi
mov rdx, rbp
mov rcx, rbx
call fcn.1400be720
mov rsi, rax
test rax, rax
jne 0x1400be957
inc edi
cmp edi, 5
jl 0x1400be8f5
xor r8d, r8d
lea ecx, [rax + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.DLL_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.14001f7c0
xor r8d, r8d
lea ecx, [rsi + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.DLL_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.14001f7c0
mov rdx, rbp
mov rcx, rbx
call fcn.1400be720
mov rsi, rax
mov rdi, qword [rsp + 0x78]
test r14b, r14b
mov r14, qword [rsp + 0x38]
je 0x1400be978
mov ecx, dword [0x14012c598]
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.DLL_AttachThreadInput]
test r15b, r15b
mov r15, qword [rsp + 0x30]
je 0x1400be991
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.DLL_AttachThreadInput]
mov r12, qword [rsp + 0x48]
test rsi, rsi
je 0x1400be9a9
mov rcx, rbx
call qword [sym.imp.USER32.DLL_BringWindowToTop]
mov rax, rsi
jmp 0x1400be9ab
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x1400beb00
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400beb1b
call fcn.14008e6e0
jmp 0x1400beb2b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.DLL_PostMessageW]
test edi, edi
js 0x1400beb9e
je 0x1400beb9e
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001b60
mov rcx, rbx
call qword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
je 0x1400beb8b
add edi, esi
nop dword [rax]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x1400beb8b
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b60
mov rcx, rbx
call qword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
jne 0x1400beb60
mov rax, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bedb0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400e0af0
sub rsp, rax
movzx eax, word [rdx]
mov rdi, rcx
mov rcx, qword [rbp + 0x11c10]
cmp ax, 0x41
je 0x1400bede9
cmp ax, 0x61
jne 0x1400bee53
cmp word [rdx + 2], 0
jne 0x1400bee53
cmp word [r8], 0
jne 0x1400bee53
cmp word [r9], 0
jne 0x1400bee53
cmp word [rcx], 0
jne 0x1400bee53
call qword [sym.imp.USER32.DLL_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400bee36
cmp byte [rdi + 0x12a], 0
jne 0x1400bee36
mov rcx, rax
call qword [sym.imp.USER32.DLL_IsWindowVisible]
test eax, eax
je 0x1400bee34
mov rcx, rbx
call fcn.1400c0470
test al, al
je 0x1400bee36
xor ebx, ebx
cmp byte [rbp + 0x11c20], 0
je 0x1400bee4b
test rbx, rbx
je 0x1400bee4b
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400befb4
test ax, ax
jne 0x1400bee76
cmp word [r8], ax
jne 0x1400bee76
cmp word [r9], ax
jne 0x1400bee76
cmp word [rcx], ax
jne 0x1400bee76
mov rcx, rdi
call fcn.1400befd0
jmp 0x1400befb4
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea rax, [0x1400f1514]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov dword [rsp + 0x30], ebx
mov qword [rbp + 0xf48], rax
mov byte [rbp + 0x1781], bl
mov dword [rbp + 0x1784], ebx
mov qword [rbp + 0x1788], rbx
mov qword [rbp + 0x1790], rbx
mov qword [rbp + 0x1798], rbx
mov dword [rbp + 0x17a0], ebx
mov qword [rbp + 0x17a8], rbx
mov qword [rbp + 0x17b8], rbx
mov qword [rbp + 0x17c0], rbx
call fcn.1400c0690
test eax, eax
je 0x1400bef83
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov qword [rbp + 0x1798], rbx
mov byte [rbp + 0x1781], al
mov dword [rbp + 0x17a0], ebx
je 0x1400bef87
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400bef58
mov rcx, rax
call qword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
je 0x1400bef83
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400c0500
test al, al
jne 0x1400bef51
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.DLL_GetWindowLongW]
bt eax, 0x1e
jae 0x1400bef83
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x1400bef72
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.1400c0bb0
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400c0ca0
test rax, rax
jne 0x1400bef99
xor eax, eax
jmp 0x1400befb4
lea rdx, [rsp + 0x30]
lea rcx, [0x1400bf080]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], bl
je 0x1400befb4
test rax, rax
je 0x1400befb4
mov qword [rdi + 0xf8], rax
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400c0bb0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x1400c0c8d
mov eax, dword [rbx]
test eax, eax
je 0x1400c0c8d
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400c0bef
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400c0c0d
lea rdx, [rbx + 0x189c]
mov r8d, 0x7fff
call qword [sym.imp.USER32.DLL_GetWindowTextW]
test eax, eax
jne 0x1400c0c0d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400c0c26
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400c0c64
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x1400c0c64
movzx r8d, byte [rbx + 0x1850]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x11a9c]
call fcn.140086be0
test eax, eax
jne 0x1400c0c64
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400c0c8d
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
call qword [sym.imp.USER32.DLL_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400c1540
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400e0af0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c15fe
xor r9d, r9d
lea rcx, [0x1400f1514]
mov byte [rsp + 0x18a0], dl
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400c1f20]
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x1871], r9b
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
mov qword [rsp + 0x1880], r9
mov qword [rsp + 0x1888], r9
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 0x1400c15fe
mov rax, qword [0x1401255c8]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c15fe
mov edx, 1
call fcn.140001b60
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x1400c1610
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx ebp, dl
mov rbx, rcx
jne 0x1400c1637
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.DLL_GetForegroundWindow]
mov r8, qword [0x1401255c8]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call fcn.1400c1c80
cmp byte [rbx], 0
je 0x1400c167f
test rax, rax
jne 0x1400c1688
xor r8d, r8d
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c17a0
test rax, rax
jne 0x1400c1759
test rdi, rdi
je 0x1400c171d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
mov qword [rsp + 0x30], rsi
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.140001b60
mov rcx, rdi
call qword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
je 0x1400c16ff
nop dword [rax]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x1400c16ff
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b60
mov rcx, rdi
call qword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
jne 0x1400c16d0
mov rax, qword [0x1401255c8]
mov rsi, qword [rsp + 0x30]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c171d
mov edx, 1
call fcn.140001b60
cmp byte [rbx], 0
je 0x1400c177c
call qword [sym.imp.USER32.DLL_GetForegroundWindow]
cmp rax, rdi
je 0x1400c1759
mov r8, qword [0x1401255c8]
mov rdx, rax
mov rcx, rbx
call fcn.1400c1c80
test rax, rax
je 0x1400c1759
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
cmp byte [rbx], 0
je 0x1400c177c
xor r8d, r8d
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c17a0
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c19f0
Function at 0x1400c17a0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
mov eax, 0x11cd0
call fcn.1400e0af0
sub rsp, rax
xor ebx, ebx
mov rbp, r8
movzx esi, dl
mov r12, rcx
test r8, r8
je 0x1400c17c9
mov qword [r8], rbx
cmp qword [rcx + 0x10], rbx
jne 0x1400c17d9
mov eax, 1
jmp 0x1400c19d1
mov dl, 1
call fcn.1400c1bd0
test eax, eax
je 0x1400c19d1
mov qword [rsp + 0x11cf0], rdi
mov qword [rsp + 0x11cf8], r13
call qword [sym.imp.USER32.DLL_GetForegroundWindow]
mov r8, qword [0x1401255c8]
mov rcx, r12
mov rdx, rax
mov rdi, rax
call fcn.1400c1c80
mov ecx, dword [0x14012c4bc]
test rax, rax
mov dword [rsp + 0x1874], ebx
mov qword [rsp + 0x1878], rbx
setne r13b
mov qword [rsp + 0x1880], rbx
mov qword [rsp + 0x1898], rbx
test r13b, r13b
mov qword [rsp + 0x18a8], rbx
mov qword [rsp + 0x18b0], rbx
cmove ecx, ebx
mov dword [0x14012c4bc], ecx
test sil, sil
je 0x1400c186c
mov byte [rsp + 0x1871], bl
test r13b, r13b
je 0x1400c1874
mov byte [rsp + 0x1871], 1
mov r8, qword [0x14012c4c8]
lea rax, [0x1400f1514]
test ecx, ecx
mov qword [rsp + 0x1038], rax
mov qword [rsp + 0x1048], rax
mov qword [rsp + 0x1050], rax
mov rax, qword [0x1401255c8]
mov qword [rsp + 0x1888], r8
mov dword [rsp + 0x1890], ecx
mov qword [rsp + 0x1040], rbx
mov qword [rsp + 0x1068], r12
mov dword [rsp + 0x20], reloc.OLEAUT32.DLL_SafeArrayGetDim
mov qword [rsp + 0x28], rax
setg sil
test r13b, r13b
je 0x1400c1907
mov edx, ebx
test ecx, ecx
jle 0x1400c18f0
mov rax, r8
cmp qword [rax], rdi
je 0x1400c1907
inc edx
add rax, 8
cmp edx, ecx
jl 0x1400c18e1
cmp ecx, 0x1f4
jge 0x1400c1907
movsxd rax, ecx
inc ecx
mov qword [r8 + rax*8], rdi
mov dword [0x14012c4bc], ecx
mov dword [rsp + 0x1890], ecx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400bf080]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rcx, qword [rsp + 0x1878]
test rcx, rcx
jne 0x1400c195d
test sil, sil
je 0x1400c1946
mov r8, qword [0x14012c4c8]
mov ecx, ebx
mov dword [0x14012c4bc], ebx
xor sil, sil
jmp 0x1400c18d3
test rbp, rbp
je 0x1400c1959
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1400c1959
mov qword [rbp], rax
xor eax, eax
jmp 0x1400c19c1
call fcn.1400be7c0
movsxd rcx, dword [0x14012c4bc]
mov rdx, qword [rsp + 0x1878]
mov r8, qword [0x14012c4c8]
test ecx, ecx
jle 0x1400c198f
mov rax, r8
nop
cmp qword [rax], rdx
je 0x1400c19a3
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400c1980
cmp ecx, 0x1f4
jge 0x1400c19a3
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x14012c4bc], ecx
mov rax, qword [0x1401255c8]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c19bc
mov edx, 1
call fcn.140001b60
mov eax, 1
mov rdi, qword [rsp + 0x11cf0]
mov r13, qword [rsp + 0x11cf8]
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11cd0
pop r12
pop rsi
pop rbp
ret
Function at 0x1400c19f0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400e0af0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x1400c1bb5
xor edx, edx
call fcn.1400c1bd0
test eax, eax
jne 0x1400c1a30
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 [0x1401255c8]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.1400c1c80
mov ecx, dword [0x14012c4bc]
xor ebp, ebp
test rax, rax
lea rax, [0x1400f1514]
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x1884], ebp
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov dword [0x14012c4bc], ecx
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x1400c1aba
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x1400c1ac2
mov byte [rsp + 0x1881], 1
mov rax, qword [0x14012c4c8]
mov dword [rsp + 0x18a0], ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400c1da0]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x1400c1b79
lea rdx, [rsp + 0x20]
lea rcx, [0x1400c0300]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400c1b40
mov rcx, qword [rsp + 0x1888]
call fcn.1400c1210
mov qword [rsp + 0x1888], rbx
jmp 0x1400c1b48
mov rbx, qword [rsp + 0x1888]
mov rcx, rbx
call fcn.1400be7c0
mov rcx, qword [rsp + 0x1888]
call fcn.1400c1210
mov r11, qword [0x1401255c8]
mov ecx, dword [r11 + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c1ba5
mov edx, 1
call fcn.140001b60
jmp 0x1400c1ba5
mov eax, dword [0x14012c4bc]
test eax, eax
je 0x1400c1ba5
cmp eax, 1
mov dword [0x14012c4bc], ebp
setg al
test al, al
je 0x1400c1ba5
mov rcx, rsi
call fcn.1400c1210
xor edx, edx
mov rcx, rbx
call fcn.1400c19f0
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 0x1400d7658
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400d74c8

Function at 0x1400e3028
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 [0x140123ea8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400db47c
xor ebx, ebx
cmp qword [0x140128d48], rbx
mov rdi, rax
jne 0x1400e313b
lea rcx, [0x1400f0b10]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400e3212
lea rdx, [0x1400f0b00]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x1400e3212
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, [0x1400f0af0]
mov rcx, rsi
mov qword [0x140128d48], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, [0x1400f0ad8]
mov rcx, rsi
mov qword [0x140128d50], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, [0x1400f0ab8]
mov rcx, rsi
mov qword [0x140128d58], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov r11, rax
mov qword [0x140128d68], rax
test rax, rax
je 0x1400e3132
lea rdx, [0x1400f0aa0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov qword [0x140128d60], rax
jmp 0x1400e3142
mov rax, qword [0x140128d60]
jmp 0x1400e3149
mov rax, qword [0x140128d60]
mov r11, qword [0x140128d68]
cmp rax, rdi
je 0x1400e31b0
cmp r11, rdi
je 0x1400e31b0
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov rcx, qword [0x140128d68]
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400e31b0
test rax, rax
je 0x1400e31b0
call rsi
test rax, rax
je 0x1400e31aa
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.DLL_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400e31aa
test byte [rsp + 0x40], 1
jne 0x1400e31b0
bts ebp, 0x15
jmp 0x1400e31f0
mov rcx, qword [0x140128d50]
cmp rcx, rdi
je 0x1400e31f0
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e31f0
call rax
mov rbx, rax
test rax, rax
je 0x1400e31f0
mov rcx, qword [0x140128d58]
cmp rcx, rdi
je 0x1400e31f0
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e31f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140128d48]
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e3212
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400e3214
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df2c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1400132d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014610
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014630
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014643
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001466d
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014681
xor al, al
jmp 0x1400146b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014693
xor al, al
jmp 0x1400146b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146af
xor al, al
jmp 0x1400146b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012510
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113ca
movzx eax, al
test eax, eax
jne 0x140012530
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.140011357
mov byte [rsp + 0x21], al
cmp dword [0x14001e878], 1
jne 0x140012554
mov ecx, 7
call fcn.140011343
nop
jmp 0x1400125ac
cmp dword [0x14001e878], 0
jne 0x1400125a7
mov dword [0x14001e878], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x140012588
mov eax, 0xff
jmp 0x1400126b1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001134d
mov dword [0x14001e878], 2
jmp 0x1400125ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132f
call fcn.1400112cb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012609
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140012609
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112fd
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001263d
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x14001263d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011389
nop
call fcn.140012760
mov dword [rsp + 0x28], eax
call fcn.1400112a8
movzx eax, al
test eax, eax
jne 0x14001265c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001266b
call fcn.140011393
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x1400126b1
add rsp, 0x68
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140013a80]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140013a90]
mov dword [rax], 1
mov rax, qword [0x140013aa0]
mov dword [rax], 1
mov rax, qword [0x140013a70]
mov dword [rax], 1
mov rax, qword [0x140013920]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x140013a60]
mov dword [0x140017020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140013a20]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140013a00]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400138d0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001890
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]