joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180040260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, r8
mov r12, rdx
mov r13, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x68], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800402a6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800402b3
call fcn.1800184d0
test eax, eax
je 0x1800402c9
lea rdx, [rsp + 0x68]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800402cd
xor eax, eax
jmp 0x180040331
mov rax, qword [0x180146d98]
test rax, rax
jne 0x1800402f1
lea rcx, [0x180109668]
call fcn.18003fc40
mov qword [0x180146d98], rax
test rax, rax
je 0x180040302
mov r8, rdi
mov rdx, r12
mov rcx, r13
call rax
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x180040316
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18004032f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x180040650
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov rcx, qword [rsp + 0x2a0]
movzx eax, r8w
xor esi, esi
mov dword [rcx], esi
cmp eax, 0x5000
jne 0x180040769
shr r8, 0x10
cmp r8w, 9
jne 0x180040769
cmp dword [rbx + 0x50], esi
je 0x1800406b7
xor eax, eax
jmp 0x18004076b
mov dword [rcx], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov word [rsp + 0x50], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.1800c31a0
mov r8d, 0x208
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180014810
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
movsxd r8, dword [rbx + 0x48]
xor r9d, r9d
mov edx, VarUI4FromDisp
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rsp + 0x48], 8
jb 0x180040769
mov rcx, qword [rsp + 0x30]
call fcn.1800bf8b4
nop
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800407a0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rdx + 0x20], 7
mov qword [rdx + 0x18], rsi
mov word [rdx + 8], si
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov word [rsp + 0x40], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1800c31a0
mov r8d, 0x208
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x18004085f
mov r8, rcx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180014810
nop
mov rax, rbx
jmp 0x180040869
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180040890
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, dword [rdx + 0x10]
mov rbx, rcx
mov ecx, dword [rdx + 8]
mov rdi, rdx
cmp ecx, 0x101
jne 0x180040994
cmp eax, 0xd
jne 0x180040994
mov qword [rsp + 0x290], rsi
xor esi, esi
xor r9d, r9d
mov qword [rdx + 0x10], rsi
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], si
mov rdi, rax
call fcn.1800c31a0
lea rdx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x180040985
mov r8, rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
call fcn.180014810
movsxd r8, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x60]
xor r9d, r9d
mov edx, VarUI4FromDisp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rsp + 0x40], 8
jb 0x180040985
mov rcx, qword [rsp + 0x28]
call fcn.1800bf8b4
mov rsi, qword [rsp + 0x290]
mov eax, 1
jmp 0x1800409d3
cmp ecx, 0x101
je 0x1800409a4
cmp ecx, 0x100
jne 0x1800409a9
cmp eax, 8
je 0x1800409bf
cmp eax, 0x23
jl 0x1800409b3
cmp eax, 0x28
jle 0x1800409bf
cmp eax, 0x2e
je 0x1800409bf
mov eax, 1
jmp 0x1800409d3
mov rcx, rdx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret
Function at 0x180040a00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x1b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, rcx
cmp qword [rcx + 0xb0], 8
jb 0x180040a4d
mov rcx, qword [rcx + 0x98]
jmp 0x180040a54
add rcx, 0x98
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180040b90
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180040b90
movabs rax, 0x6d3a06d3a06d3a07
mul rbx
mov r12, rdx
shr r12, 7
cmp qword [rsi + 0xb0], 8
jb 0x180040acc
mov rcx, qword [rsi + 0x98]
jmp 0x180040ad3
lea rcx, [rsi + 0x98]
lea rdx, [0x1801096a0]
call fcn.1800bfb3c
mov r13, rax
test rax, rax
je 0x180040b90
mov ebx, r14d
nop
cmp ebx, r12d
jge 0x180040b87
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x70]
call fcn.1800c31a0
mov r9, r13
mov edx, 0x12c
mov r8d, 1
lea rcx, [rsp + 0x70]
call fcn.1800bff68
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180014810
nop
lea rcx, [rsi + 0xb8]
lea rdx, [rsp + 0x48]
call fcn.1800024c0
nop
cmp qword [rsp + 0x68], 8
jb 0x180040b80
mov rcx, qword [rsp + 0x50]
call fcn.1800bf8b4
inc ebx
jmp 0x180040af0
mov rcx, r13
call fcn.1800bfbd4
nop
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x180040bc0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rdi, rcx
cmp qword [rcx + 0xb0], 8
jb 0x180040c0c
mov rcx, qword [rcx + 0x98]
jmp 0x180040c13
add rcx, 0x98
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r14 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov rcx, qword [rdi + 0xd8]
sub rcx, qword [rdi + 0xd0]
movabs r15, 0x6666666666666667
mov rax, r15
imul rcx
mov r13, rdx
sar r13, 4
mov rcx, r13
shr rcx, 0x3f
add r13, rcx
mov ebx, r14d
cmp ebx, r13d
jge 0x180040d72
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x80]
call fcn.1800c31a0
movsxd rsi, ebx
mov rcx, qword [rdi + 0xd8]
sub rcx, qword [rdi + 0xd0]
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x180040cbf
call fcn.1800c1088
lea rcx, [rsi + rsi*4]
mov rax, qword [rdi + 0xd0]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180003570
cmp qword [rsp + 0x68], r14
je 0x180040d59
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x80]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx], ax
add rcx, 2
add rdx, 2
test ax, ax
jne 0x180040d20
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, 0x12c
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rsp + 0x70], 8
jb 0x180040d6b
mov rcx, qword [rsp + 0x58]
call fcn.1800bf8b4
inc ebx
jmp 0x180040c72
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180045680
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov r13d, edx
mov r14, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800456cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800456dc
call fcn.1800184d0
test eax, eax
je 0x1800456f2
lea rdx, [rsp + 0x38]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800456f6
xor eax, eax
jmp 0x180045761
mov rax, qword [0x180146da0]
test rax, rax
jne 0x18004571a
lea rcx, str.ImageList_Copy
call fcn.18003fc40
mov qword [0x180146da0], rax
test rax, rax
je 0x180045732
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8, r12
mov edx, r13d
mov rcx, r14
call rax
mov esi, eax
mov dword [rsp + 0x30], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x180045746
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18004575f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r13
pop r12
ret

Function at 0x180045780
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
sub rsp, 0x40
mov edi, r9d
mov r12d, edx
mov r13d, ecx
xor ebx, ebx
mov rsi, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800457cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800457dc
call fcn.1800184d0
test eax, eax
je 0x1800457f2
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800457f6
xor eax, eax
jmp 0x180045870
mov r10, qword [0x180146db0]
test r10, r10
jne 0x18004581d
lea rcx, [0x180109758]
call fcn.18003fc40
mov r10, rax
mov qword [0x180146db0], rax
test rax, rax
je 0x18004583f
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, 0x20
mov edx, r12d
mov ecx, r13d
call r10
mov rsi, rax
mov qword [rsp + 0x38], rax
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x180045854
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18004586d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x40
pop r13
ret
Function at 0x180045890
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800458cc
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800458d9
call fcn.1800184d0
test eax, eax
je 0x1800458ef
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800458f3
xor eax, eax
jmp 0x180045951
mov rax, qword [0x180146da8]
test rax, rax
jne 0x180045917
lea rcx, str.ImageList_GetImageCount
call fcn.18003fc40
mov qword [0x180146da8], rax
test rax, rax
je 0x180045922
mov rcx, rdi
call rax
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x180045936
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18004594f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180047840
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov ebx, dword [rdx + 0x10]
mov rdi, rdx
cmp eax, 0x100
jne 0x18004788f
cmp ebx, 0xd
jne 0x18004788f
mov qword [rdx + 0x10], 0
mov rcx, qword [rcx + 0x320]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x598
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x101
je 0x18004789d
cmp eax, 0x100
jne 0x18004787f
cmp ebx, 8
je 0x180047911
cmp ebx, 0x23
jl 0x1800478ac
cmp ebx, 0x28
jle 0x180047911
cmp ebx, 0x2e
je 0x180047911
cmp ebx, 0xd
je 0x180047911
cmp ebx, 0x1b
je 0x180047911
mov ecx, SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
movsx rcx, ax
shr rcx, 0x10
test cx, cx
je 0x1800478ec
cmp ebx, 0x2d
je 0x180047911
cmp ebx, 0x63
je 0x180047911
cmp ebx, 0x43
je 0x180047911
cmp ebx, 0x76
je 0x180047911
cmp ebx, 0x56
jmp 0x18004790b
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
movsx rcx, ax
shr rcx, 0x10
test cx, cx
je 0x18004787f
cmp ebx, 0x2d
jne 0x18004787f
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180047d50
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x3b8], rax
jne 0x180047d8b
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x3b8], rax
cmp qword [rbx + 0x3c0], 0
jne 0x180047dac
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x3c0], rax
mov rax, qword [rbx + 0x3b8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x180047f30]
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x60], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x38]
or edx, 0xffffffff
mov qword [rbx + 0x3c8], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x3c0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x18004d170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rsi, qword [0x180145d20]
xor ebx, ebx
mov edi, ebx
test rsi, rsi
je 0x18004d1dc
lea edx, [rbx + 0x6b]
lea r8d, [rbx + 0x17]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x18004d1c6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
test rax, rax
jne 0x18004d1f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18004d1da
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18004d239
xor eax, eax
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
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, r12
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test edi, edi
je 0x18004d239
test rax, rax
jne 0x18004d239
mov edx, edi
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
jne 0x18004d25a
mov ecx, 0x8007000e
call fcn.180018720
int3
mov edx, edi
mov rcx, rbx
call fcn.180013f70
mov rbx, rax
test rax, rax
jne 0x18004d25a
test edi, edi
je 0x18004d25a
mov ecx, 0x8007000e
call fcn.180018720
int3
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, rbx
jmp 0x18004d1de
Function at 0x18004e9b0
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rdx + 0x20], 7
mov qword [rdx + 0x18], rax
mov word [rdx + 8], ax
mov dword [rsp + 0x20], 1
mov word [rsp + 0x40], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1800c31a0
mov r8d, 0x208
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x18004ea5d
mov r8, rcx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180014810
mov rax, rbx
jmp 0x18004ea60
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x180050380
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov edi, 1
test rcx, rcx
je 0x1800503c5
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800503c5
mov rcx, qword [rbx + 8]
lea edx, [rdi - 0x15]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [0x180146e20]
bt eax, 0x16
cmovb ecx, edi
mov dword [0x180146e20], ecx
cmp dword [rbx + 0x67c], 0
je 0x1800504b4
cmp qword [rbx + 0x5a8], 8
jb 0x1800503e5
mov rcx, qword [rbx + 0x590]
jmp 0x1800503ec
lea rcx, [rbx + 0x590]
test rcx, rcx
je 0x180050440
xor edx, edx
call fcn.1800c6e3c
test eax, eax
jne 0x180050440
mov rcx, rbx
call fcn.180055d60
test eax, eax
jne 0x180050410
mov rcx, rbx
call fcn.180055e10
cmp dword [rbx + 0x67c], 0
je 0x1800504b4
mov rcx, rbx
call fcn.180053730
test eax, eax
jne 0x1800504b4
cmp qword [rbx + 0x338], 8
jb 0x18005049e
mov rcx, qword [rbx + 0x320]
jmp 0x1800504a5
xor edx, edx
mov rcx, rbx
call fcn.180053970
test eax, eax
jne 0x180050410
cmp qword [rbx + 0x338], 8
jb 0x18005047b
mov rcx, qword [rbx + 0x320]
lea rdx, str.ConfigUpdate
xor r8d, r8d
call fcn.18006fdd0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [rbx + 0x320]
lea rdx, str.ConfigUpdate
xor r8d, r8d
call fcn.18006fdd0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [rbx + 0x320]
lea rdx, str.ConfigUpdate
xor r8d, r8d
call fcn.18006fdd0
mov rcx, qword [rbx + 8]
mov r9d, 9
xor r8d, r8d
mov edx, 0x454
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov edx, 0x41e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov r8, rdi
mov edx, 0x43c
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea r8d, [r9 + 5]
mov edx, 0x2007
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov r8, rdi
mov edx, 0x2005
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rbx + 0x820], 0
jne 0x1800505cd
cmp dword [rbx + 0x67c], 0
je 0x1800505cd
cmp qword [rbx + 0x818], 0
jne 0x18005055e
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x818], rax
cmp qword [rbx + 0x828], 0
jne 0x18005057f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x828], rax
cmp qword [rbx + 0x830], 0
jne 0x1800505a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x830], rax
xor ecx, ecx
lea rax, [rsp + 0x40]
lea r8, [0x180055f30]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x820], rax
call fcn.180052d10
mov rcx, rbx
call fcn.180058320
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret