joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400927e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140092904
cmp r8d, 0xff
jne 0x140092841
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14009282b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0xb7030]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14006f9f0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14006f9f0
cmp r8d, 0xfb
jne 0x140092853
lea r9, str.WILL
jmp 0x140092891
cmp r8d, 0xfc
jne 0x140092865
lea r9, str.WONT
jmp 0x140092891
cmp r8d, 0xfd
jne 0x140092877
lea r9, [0x1400b7a54]
jmp 0x140092891
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400928ed
cmp r10d, 0x27
jg 0x1400928c4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xb7650]
test r8, r8
jne 0x1400928d4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14006f9f0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400928ab
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14006f9f0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14006f9f0
add rsp, 0x38
ret

Function at 0x140092c50
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140092caf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14006f870
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400927e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140092e60
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140093008
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140092ec5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140092ec5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140092ec5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140092efc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140092f52
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140092f52
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140092f52
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140092f52
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140092f52
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140092910
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140092fb4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14006f870
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140092ce0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140093000
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14006f870
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140094770
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400d1080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140094805
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140094866
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14006f870
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a8120
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140094921
sub ecx, 1
je 0x140094994
sub ecx, 1
je 0x1400948d0
cmp ecx, 1
je 0x1400948b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400b54b0]
call fcn.14006f870
jmp 0x140094994
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400944a0
test eax, eax
je 0x140094994
jmp 0x14009483a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140094994
sub rax, rsi
cmp rax, rbp
jae 0x140094994
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14006f9f0
jmp 0x140094994
cmp r8d, 4
jle 0x140094994
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140094994
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14006f790
mov esi, eax
test eax, eax
je 0x140094973
mov edx, 5
mov rcx, rbx
call fcn.140095460
mov eax, esi
jmp 0x14009483a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14007d890
mov rcx, r14
call fcn.14007db70
test eax, eax
je 0x140094838
mov edx, 5
mov rcx, rbx
call fcn.140095460
mov eax, Ordinal_46
jmp 0x14009483a
Function at 0x1400a7730
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x1400a7772
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400a77b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400a7812
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400a77d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400a7853
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400bac3a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400bac3b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400a7820
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400a7f00
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400a7f3a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400a7f3f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400a7f88
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400a7f88
dec r8
sub rdx, 1
jne 0x1400a7f6e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400a8e28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a8e72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a8e72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a8e72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a8e72
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a8e72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a8e74
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x120
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, rcx
mov dword [rax + 0x10], 8
mov dword [rax + 0x14], 0xff
lea rcx, [rax + 0x10]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rdi
call fcn.14000292c
xor ecx, ecx
call fcn.1400044b8
lea r8, str.64BITTYPINGEXE
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400010d3
lea rdx, [0x1400486a0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
call fcn.1400083a0
test rax, rax
je 0x1400010c6
xor eax, eax
jmp 0x140001141
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x140001141
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rdi
call fcn.14000c534
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rsp + 0x30]
call fcn.14000c8e0
nop
lea rax, vtable.CMy64Bit_Typing_RegistryReading_ExeDlg.0
mov qword [rsp + 0x30], rax
call fcn.140010160
call fcn.140010160
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x30]
mov qword [rdi + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.14000d228
nop
lea rcx, [rsp + 0x30]
call fcn.14000c80c
xor eax, eax
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rdi
ret
Function at 0x1400011c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140056c50]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
call fcn.14000cdf8
mov r9, qword [rbx + 0xe8]
mov rcx, qword [rbx + 0x40]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, qword [rbx + 0xe8]
mov rcx, qword [rbx + 0x40]
xor r8d, r8d
mov edx, 0x80
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
lea edx, [r9 + 0x7b]
lea r8d, [rdx + 0x4d]
call qword [sym.imp.USER32.dll_SetTimer]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.140029d30
xor ecx, ecx
mov byte [rax], 0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
inc rcx
mov byte [rsp + rcx + 0x12f], al
test al, al
jne 0x140001260
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
mov rax, qword [str.UGkbdrv.dll]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
mov eax, dword [0x140048948]
mov dword [rdi + 7], eax
movzx eax, byte [0x14004894c]
mov byte [rdi + 0xb], al
xor eax, eax
lea rdi, [rsp + 0x130]
repne scasb al, byte [rdi]
mov rax, qword [str.Gkbdrv.dll]
lea rcx, [rsp + 0x20]
mov qword [rdi - 1], rax
mov eax, dword [0x140048958]
mov dword [rdi + 7], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [rsp + 0x130]
mov qword [0x14005cdb0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [0x14005cdb0]
mov qword [0x14005cda0], rax
test rcx, rcx
jne 0x140001312
lea r9d, [rcx + 0x10]
lea r8, str.GIST_Typing_Tool
lea rdx, str.Unable_to_find_the_Keyboard_Driver
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400013ba
lea rdx, str.UIsmSetKbdDrvState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005cdb0]
lea rdx, str.UIsmInitDll
mov qword [0x14005cdb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005cdb0]
lea rdx, str.UIsmExitDll
mov qword [0x14005cdc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005cda0]
mov qword [0x14005cdc8], rax
test rcx, rcx
je 0x1400013b2
lea rdx, str.IsmSetKbdDrvState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005cda0]
lea rdx, str.IsmInitDll
mov qword [0x14005cdd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005cda0]
lea rdx, str.IsmExitDll
mov qword [0x14005cdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005cde0], rax
mov rcx, rbx
call fcn.140001640
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140029b50
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140003d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140003de2
call fcn.140010160
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140003de2
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140003e2f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140003e0f
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140003e0f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140003e2d
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x140005c98
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140012e1c
mov rsi, rax
test rax, rax
je 0x140005d14
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140005d0f
cmp dword [rbx], 0x40
jb 0x140005d0f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140005d0f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140005d18
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c48c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14000c4f4
call fcn.140010160
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14000c4f4
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000c516
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000bea4
mov esi, eax
test rdi, rdi
je 0x14000c514
test rbx, rbx
je 0x14000c514
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14000d584
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000d5c3
cmp dword [rcx + 0xa8], 0
jne 0x14000d5c3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140010160
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14000d528
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400124ac
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1400124ea
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001259e
call fcn.1400111e0
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140012509
mov ecx, 0x80004005
call fcn.1400021b0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14002bfa8
test eax, eax
je 0x140012571
cmp eax, 0xc
je 0x14001256b
cmp eax, 0x16
je 0x140012565
cmp eax, 0x22
je 0x140012565
cmp eax, 0x50
je 0x140012571
call fcn.140011c48
int3
call fcn.140011c48
int3
call fcn.140011c00
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14001259c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002b080
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140032b1c
nop
cmp dword [0x14005bec0], 1
je 0x14002b02c
mov dword [0x14005bebc], 1
mov byte [0x14005beb8], r12b
test ebx, ebx
jne 0x14002b018
mov rcx, qword [0x14005e190]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b005
mov rcx, qword [0x14005e188]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002afa4
call fcn.14002d700
cmp qword [rdi], rax
jne 0x14002afa4
jmp 0x14002af8a
cmp rdi, rsi
jb 0x14002b005
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002d700
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005e190]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005e188]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002afe3
cmp r13, rax
je 0x14002b003
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002af8a
lea rdx, [0x14003fc20]
lea rcx, [0x14003fc08]
call fcn.14002add4
lea rdx, [0x14003fc30]
lea rcx, [0x14003fc28]
call fcn.14002add4
nop
test r12d, r12d
je 0x14002b03b
mov ecx, 8
call fcn.140032a1c
test r12d, r12d
jne 0x14002b066
mov dword [0x14005bec0], 1
lea ecx, [r12 + 8]
call fcn.140032a1c
mov ecx, r15d
call fcn.14002ad68
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002aef4

Function at 0x14002b08c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002aef4
Function at 0x14002d653
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140056c50]
jne 0x140029b6a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029b66
repz ret
ror rcx, 0x10
jmp 0x14002d5ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005bf70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005c068]
mov qword [rsp + 0x58], r11
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 0x14002d631
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, [0x14005bf70]
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 0x14002d653
mov rax, qword [rsp + 0x88]
mov qword [0x14005c068], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005c008], rax
mov rax, qword [0x14005c068]
mov qword [0x14005bee0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005bff0], rax
mov dword [0x14005bed0], 0xc0000409
mov dword [0x14005bed4], 1
mov rax, qword [0x140056c50]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140056c58]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005bf68], eax
mov ecx, 1
call fcn.14003560c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140046260]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005bf68], 0
jne 0x14002d6da
mov ecx, 1
call fcn.14003560c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret