joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056320
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
test r8, r8
je 0x1400563d2
test dword [rcx + 0x10], 0x100000
jne 0x140056355
mov r8d, 0x1cd9
lea rdx, str.C:UsersFortnDownloadsImGui_Loader_mainImGui_Loader_mainimguiimgui_widgets.cpp
lea rcx, str.tab_bar__Flags__ImGuiTabBarFlags_DockNode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r9d, byte [rsi]
lea r8, [rsi + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400563a2
lea r11, [0x140067e00]
cmp r9b, 0x23
jne 0x140056385
cmp byte [r8], r9b
jne 0x140056385
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140056372
mov rcx, qword [0x140079ec0]
not eax
cmp dword [rcx + 0x1d6c], eax
jne 0x1400563b9
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140056458
mov byte [rcx + 0x1dac], 1
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140079ec0]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x1d18]
cmp dword [rdi + 0x108], 0
jg 0x140056414
mov r8d, 0x6d1
lea rdx, str.C:UsersFortnDownloadsImGui_Loader_mainImGui_Loader_mainimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140079ec0]
movsxd rax, dword [rdi + 0x108]
xor edx, edx
mov r8, qword [rdi + 0x110]
mov rcx, rsi
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140011160
mov rdi, qword [rsp + 0x38]
cmp dword [rbx + 0x1d6c], eax
jne 0x140056444
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140056453
mov byte [rbx + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
Function at 0x140059920
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x1070
call fcn.14005c7c0
sub rsp, rax
mov rax, qword [0x140079040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor ebx, ebx
lea r15, [0x140079fc8]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
jne 0x1400599c9
mov r9d, 0x40000
lea r8, str.Ceos_Den
lea rdx, str.Failed_to_open_internet
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xorps xmm0, xmm0
movups xmmword [0x140079fc8], xmm0
mov qword [0x140079fd8], rbx
mov qword [0x140079fe0], rbx
xor r8d, r8d
lea rdx, [0x14005e9e5]
mov rcx, r15
call fcn.140001620
jmp 0x140059b27
lea rdx, [0x140079fa8]
cmp qword [0x140079fc0], 0xf
cmova rdx, qword [0x140079fa8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
jne 0x140059a2e
mov r9d, 0x40000
lea r8, str.Ceos_Den
lea rdx, str.Failed_to_open_URL
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14005999a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov esi, 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140059afd
nop word [rax + rax]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140059afd
mov edi, eax
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140059aba
lea rax, [rbx + rdi]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140059ad1
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000f320
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140059afd
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
jmp 0x140059a70
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x140079fc8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x140079fd8], xmm1
mov rax, r15
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14005b740
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14005b1cc
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 0x14005b206
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14005b20b
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 0x14005b254
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005e7f0]
cmp byte [rcx + rax], 0
je 0x14005b254
dec r8
sub rdx, 1
jne 0x14005b23a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005c438
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005c482
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005c482
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005c482
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005c482
cmp dword [rcx + 0x84], 0xe
jbe 0x14005c482
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005c484
xor al, al
add rsp, 0x28
ret
Function at 0x140001c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x14024f798], 0
mov rbx, qword [0x140253948]
jne 0x140001d03
mov edx, SafeArrayGetLBound
mov rcx, rbx
mov qword [rsp + 0x38], rdi
lea r8d, [rdx - 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x140001cfe
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001cf9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x40], 0
mov rbx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.1400554a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140001cf0
lea rcx, [0x14024f790]
call fcn.140001520
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400032a0
Capabilities:
Write file on windows

Disassembly:
push rdi
mov eax, 0x12d00
call fcn.14006b900
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x12d10], rbx
mov qword [rsp + 0x12d18], rbp
mov qword [rsp + 0x12d20], rsi
mov rax, qword [0x1400980c0]
xor rax, rsp
mov qword [rsp + 0x12cf0], rax
mov ebx, ecx
lea rbp, [0x140073618]
mov qword [rsp + 0x60], rbp
xor esi, esi
mov qword [rsp + 0x128a0], rsi
mov qword [rsp + 0x128a8], rsi
mov qword [rsp + 0x128b0], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0xd4d4], esi
mov dword [rsp + 0xd4d8], 0x20000
mov dword [rsp + 0xd4dc], esi
mov dword [rsp + 0xd4e0], esi
mov byte [rsp + 0x12894], sil
mov qword [rsp + 0x128c0], rsi
mov dword [rsp + 0x128c8], esi
mov dword [rsp + 0x128cc], esi
mov dword [rsp + 0x128b8], esi
mov dword [rsp + 0x128d0], esi
mov dword [rsp + 0x128d4], 0x80
mov dword [rsp + 0x128d8], esi
mov dword [rsp + 0x128dc], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x128e0], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x19cc
lea rdx, [0x14024dc20]
lea rcx, [rsp + 0x60]
call fcn.140018d20
mov rdi, qword [rsp + 0x48]
cmp ebx, 4
jne 0x1400033e2
lea rcx, [rdi + 0xdec]
lea r8, str.v4.0.30319
lea edx, [rsi + 0xc]
call fcn.140052e90
lea rdx, [0x140253ba0]
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.DNRuntime.dll
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x128f0]
call fcn.1400697a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000348a
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, 0x2a00
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [0x140253964]
lea r8, [0x14025395c]
lea rdx, [0x140253954]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd r8, dword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.1400566d0
nop
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x60]
call fcn.140019120
mov rcx, qword [rsp + 0x128a0]
test rcx, rcx
je 0x1400034c2
call fcn.140052420
mov eax, 0x2a00
jmp 0x1400034c7
mov eax, 0x2a00
mov rcx, qword [rsp + 0x12cf0]
xor rcx, rsp
call fcn.140052920
lea r11, [rsp + 0x12d00]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400036d0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
sub rsp, 0x20
xor esi, esi
test r8d, r8d
mov r12, rdx
mov rbp, rcx
je 0x14000373c
mov edx, dword [rcx + 0x28]
mov rcx, qword [rcx + 0x38]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x50], esi
call fcn.14001a600
movsxd rbx, dword [rsp + 0x50]
mov edx, dword [rbp + 0x2c]
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov rcx, r12
call fcn.140052b50
mov rcx, qword [rsp + 0x40]
mov r8, rbx
xor edx, edx
call fcn.1400566d0
mov rcx, qword [rsp + 0x40]
call fcn.140052c20
jmp 0x14000375d
mov edx, dword [rcx + 0x28]
mov r8, qword [rcx + 0x38]
mov rcx, r12
mov r9, rdx
call fcn.140052b50
mov r8d, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
xor edx, edx
call fcn.1400566d0
cmp dword [rbp + 0x30], esi
mov qword [rbp + 0x38], rsi
je 0x1400038d9
movsxd r8, dword [r12 + 0x3c]
mov ebx, esi
mov r9d, esi
add r8, r12
cmp word [r8 + 0x18], 0x20b
movzx eax, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [rax + r8 + 0x18]
mov rcx, rdx
jne 0x140003820
test r10d, r10d
mov r11d, dword [r8 + 0xf8]
mov ebx, 1
je 0x1400037d2
mov eax, dword [rcx + 8]
test eax, eax
jne 0x1400037b1
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x1400037c6
add eax, r8d
cmp r11d, eax
jb 0x14000385d
add r9d, ebx
add rcx, 0x28
cmp r9d, r10d
jb 0x1400037a7
mov rax, rsi
mov r8d, dword [rax + 8]
mov ecx, esi
sub r8d, 0x10
test ebx, ebx
je 0x140003874
test r10d, r10d
je 0x1400038bb
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1400037fa
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x14000380f
add eax, r9d
cmp r8d, eax
jb 0x1400038a9
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x1400037f0
jmp 0x1400038bb
test r10d, r10d
mov r11d, dword [r8 + 0xe8]
je 0x1400037d2
nop
mov eax, dword [rcx + 8]
test eax, eax
jne 0x14000383a
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x14000384b
add eax, r8d
cmp r11d, eax
jb 0x14000385d
add r9d, 1
add rcx, 0x28
cmp r9d, r10d
jb 0x140003830
jmp 0x1400037d2
mov eax, r8d
sub eax, dword [rcx + 0x14]
movsxd rcx, eax
mov rax, r11
sub rax, rcx
add rax, r12
jmp 0x1400037d5
test r10d, r10d
je 0x1400038bb
nop
nop
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14000388a
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x14000389b
add eax, r9d
cmp r8d, eax
jb 0x1400038a9
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x140003880
jmp 0x1400038bb
mov eax, r9d
mov esi, r8d
sub eax, dword [rdx + 0x14]
movsxd rcx, eax
sub rsi, rcx
add rsi, r12
mov eax, dword [rsi]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsi + 0xc]
mov dword [rbp + 0x58], eax
mov eax, dword [rsi + 4]
mov dword [rbp + 0x50], eax
mov eax, dword [rsi + 8]
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x54], eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
Function at 0x140008690
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov esi, r9d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rdi, rcx
mov byte [rsp + 0x20], 0
call fcn.140007ee0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140008720
nop
nop
nop
mov dword [rsp + 0x80], SafeArrayUnaccessData
mov rcx, qword [rbx]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400086d0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140008718
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008710
mov edx, 1
call fcn.140009680
mov rcx, rbx
call fcn.140052420
mov qword [rdi + 0x18], 0
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
xor r9d, r9d
add ecx, edx
xor r8d, r8d
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x44], 0
add ecx, edx
mov edx, esi
mov dword [rsp + 0x4c], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov rax, qword [rdi + 0xa8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], 1
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov rax, qword [rdi]
call qword [rax]
mov rcx, qword [rdi + 0xa8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rdi + 0xa8], 0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rdi
ret
Function at 0x1400093d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400980c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x20]
mov rbp, rcx
lea rcx, [rsp + 0x30]
mov eax, dword [rbp + 0x28]
mov rdi, qword [rbp + 0x18]
mov dword [rcx], eax
mov eax, dword [rbp + 0x2c]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 0x30]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rcx + 0xc], eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov r9, rdi
mov r8, rbx
mov rcx, rax
mov edx, 0x135
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140009453
lea rdx, [rsp + 0x30]
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov esi, dword [rbp + 0x10]
mov r9d, SafeArrayGetLBound
lea rdx, [rsp + 0x30]
test sil, 1
mov rcx, rbx
lea r8d, [r9 - 5]
jne 0x140009472
lea r8d, [r9 - 0xa]
call qword [sym.imp.USER32.dll_DrawEdge]
mov rcx, qword [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextA]
test sil, 4
je 0x1400094f2
mov edx, 0xf0f0f0
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
repne scasb al, byte [rdi]
mov dword [rsp + 0x20], 0x25
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
add dword [rsp + 0x34], 1
add dword [rsp + 0x30], 1
add dword [rsp + 0x38], 1
add dword [rsp + 0x3c], 1
mov edx, 0x787878
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
not rcx
mov dword [rsp + 0x20], 0x25
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
test sil, 0x10
je 0x140009549
add dword [rsp + 0x34], 3
add dword [rsp + 0x30], 3
sub dword [rsp + 0x38], 3
sub dword [rsp + 0x3c], 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140052920
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000ca20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov ebx, r8d
shr eax, 4
mov rbp, rcx
mov r8d, 6
add ax, 1
mov rcx, rsi
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov r12, rax
je 0x14000cb89
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000cb89
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x14000cb89
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x14000caba
cmp rdi, r11
jae 0x14000cb89
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x14000caa4
cmp rdi, r11
jae 0x14000cb89
movzx eax, word [rdi]
test ax, ax
je 0x14000cb89
mov qword [rsp + 0x60], r13
movzx ebx, ax
call qword [0x140098040]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x14000cb2a
mov edx, esi
mov rcx, rbp
call fcn.14000cef0
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x140098040]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x60]
js 0x14000cb7e
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x14000cb7e
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x14000cb8b
mov ecx, 0x80070057
call fcn.140002840
int3
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x14000ea20
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
sub rsp, 0x28
test dl, dl
mov rbx, rcx
je 0x14000ea66
test rcx, rcx
je 0x14000ea39
lea rsi, [rcx + 0x20]
jmp 0x14000ea3b
xor esi, esi
cmp qword [rsi], 0
je 0x14000eb39
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor esi, esi
test rcx, rcx
je 0x14000ea73
lea rax, [rcx + 0x20]
jmp 0x14000ea76
mov rax, rsi
cmp qword [rax], rsi
je 0x14000eb39
test rcx, rcx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], r13
je 0x14000ea94
add rcx, 0x20
jmp 0x14000ea97
mov rcx, rsi
mov rcx, qword [rcx]
mov qword [rsp + 0x50], r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov rdx, qword [rbx + 8]
test rdx, rdx
lea r13d, [rax + 1]
movsxd rbp, r13d
je 0x14000eafb
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
xor eax, eax
mov rdi, rdx
lea r12, [rbp + 1]
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x48]
not rcx
sub rcx, 1
cmp rcx, r12
je 0x14000eb08
mov rcx, rdx
call fcn.140053270
test r13d, r13d
je 0x14000eaf5
mov rcx, r12
call fcn.140051970
mov qword [rbx + 8], rax
jmp 0x14000eb08
mov qword [rbx + 8], rsi
jmp 0x14000eb08
lea rcx, [rbp + 1]
call fcn.140051970
mov qword [rbx + 8], rax
test rbx, rbx
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
je 0x14000eb1b
lea rsi, [rbx + 0x20]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsi]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r13, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor al, al
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x140010680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, ecx
lea rcx, [0x140252380]
xor r13d, r13d
xor edx, edx
mov rbx, r13
call fcn.140051ab8
lea ebp, [r13 + 1]
test rax, rax
mov rsi, rax
je 0x140010786
nop
test rbx, rbx
jne 0x140010786
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
test rax, rax
mov rdi, rax
jne 0x1400106f3
mov rbx, r13
jmp 0x140010769
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140010709
mov rbx, r13
jmp 0x140010764
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
jne 0x14001071f
mov rbx, r13
jmp 0x140010764
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140010752
nop
nop
cmp rbx, r11
jae 0x140010757
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140010740
cmp rbx, r11
jb 0x14001075c
mov rbx, r13
jmp 0x140010764
cmp word [rbx], r13w
cmove rbx, r13
test rbx, rbx
jne 0x1400107a1
lea rcx, [0x140252380]
mov edx, ebp
call fcn.140051ab8
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x1400106c0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140010788