joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180034d40
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x18007dc58]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
lea r8, [rsp + 0x38]
mov rdx, rcx
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x180034f05
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180034ef8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x180034ef8
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x180034ece
mov ecx, esi
call fcn.18003ece0
mov rdi, rax
test rax, rax
je 0x180034ef8
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x180034e8f
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x40], ebx
lea rdx, [0x180068e58]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x180034eb9
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x180034f5e
cmp dword [rsp + 0x40], ebx
je 0x180034f78
mov esi, dword [rax + 8]
mov ecx, 3
mov ebp, dword [rax + 0xc]
mov ebx, esi
shl rbx, 0x20
or rbx, rbp
call fcn.18000be60
test al, al
je 0x180034eb9
movzx eax, bp
lea rcx, str.Version:__hu___hu___hu___hu_n
movzx r8d, si
shr ebp, 0x10
shr esi, 0x10
mov r9d, ebp
mov edx, esi
mov dword [rsp + 0x20], eax
call fcn.180033750
mov rcx, rdi
call fcn.18003ecc4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180034f32
mov ecx, 3
call fcn.18000be60
test al, al
je 0x180034eb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.UMFileUtil_GetModuleVersion
lea rcx, str._s:_GetFileVersionInfo_failed_with_error_code:__u_n
call fcn.180033750
mov rcx, rdi
call fcn.18003ecc4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180034f32
mov ecx, 3
call fcn.18000be60
test al, al
je 0x180034ef8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.UMFileUtil_GetModuleVersion
lea rcx, str._s:_GetFileVersionInfoSize_failed_with_error_code:__u_n
call fcn.180033750
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180034f32
mov ecx, 3
call fcn.18000be60
test al, al
je 0x180034f32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rdx, str.UMFileUtil_GetModuleVersion
mov r9d, eax
lea rcx, str._s:_GetModuleHandleEx_error_for_module__ls:__u_n
call fcn.180033750
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18003a580
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov r8d, 0x41
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srclibumlibumfileutil.c
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
mov r8d, 0x42
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srclibumlibumfileutil.c
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
Function at 0x180039de0
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x18007dc58]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.180033750
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x18004c55c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18004c57c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180047a3c
or eax, 0xffffffff
jmp 0x18004c57e
xor eax, eax
add rsp, 0x28
ret
Function at 0x180058ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test rcx, rcx
je 0x180058bba
test rdx, rdx
je 0x180058bba
mov dword [rdx], 0x74
mov dword [rdx + 4], 1
mov eax, dword [rcx + 0x58]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], 1
mov eax, dword [rcx + 0x5c]
mov dword [rdx + 0x10], eax
mov dword [rdx + 0x14], 1
mov dword [rdx + 0x18], 0x20
mov dword [rdx + 0x1c], 1
mov dword [rdx + 0x20], 0x20
mov eax, dword [rcx + 0x64]
mov dword [rdx + 0x24], eax
mov eax, dword [rcx + 0x68]
mov dword [rdx + 0x28], eax
mov eax, dword [rcx + 0x6c]
mov dword [rdx + 0x2c], eax
mov eax, dword [rcx + 0x74]
mov dword [rdx + 0x30], eax
mov eax, dword [rcx + 0x78]
mov dword [rdx + 0x34], eax
mov eax, dword [rcx + 0x7c]
mov dword [rdx + 0x38], eax
mov eax, dword [rcx + 0x80]
mov dword [rdx + 0x3c], eax
mov eax, dword [rcx + 0x84]
mov dword [rdx + 0x40], eax
mov eax, dword [rcx + 0x88]
mov dword [rdx + 0x44], eax
mov eax, dword [rcx + 0x8c]
btr eax, 0x14
mov dword [rdx + 0x48], eax
mov eax, dword [rcx + 0x90]
mov dword [rdx + 0x4c], eax
movzx eax, word [rcx + 0x94]
mov word [rdx + 0x50], ax
movzx eax, word [rcx + 0x98]
mov word [rdx + 0x52], ax
mov eax, dword [rcx + 0xa0]
mov dword [rdx + 0x54], eax
mov eax, dword [rcx + 0x70]
mov dword [rdx + 0x58], eax
movzx eax, word [rcx + 0xa4]
mov word [rdx + 0x5c], ax
movzx eax, word [rcx + 0xa8]
mov word [rdx + 0x5e], ax
mov eax, dword [rcx + 0x9c]
or eax, 4
mov dword [rdx + 0x60], eax
ret
Function at 0x140006018
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f1c0]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x1400071f8
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007188
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x140007234
cmp qword [rbx + 0x18], rdi
je 0x14000723b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000722b
jmp 0x140007255
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020628]
call fcn.140011fd8
lea rcx, [0x1400211f0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
invalid
invalid
fdivrp st(0)
invalid
idiv edi
invalid
cwde
jmp [rdx - 0x6000533c]
wait
jmp qword [rsi - 0x54005b55]
cmpsd dword [rsi], dword [rdi]
mov dl, 0xa6
jmp [rsi - 0x52005a4d]
scasd eax, dword [rdi]
mov ch, 0xa7
push qword [rdi - 0x7c005847]
xor byte [rdi + rdi*8 + 0x56], 0x53

Function at 0x140007270
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007336
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x1400072fa
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400072f7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020628]
mov rdx, rsi
call fcn.140011fd8
jmp 0x1400072fa
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072c7
mov rdx, qword [0x14001f150]
lea rcx, [0x140020628]
mov rdi, rdx
inc rdx
mov qword [0x14001f150], rdx
lea edx, [rbx + 0x20]
call fcn.140012020
lea rcx, [0x1400211f0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x2fc4c51a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c6260
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c5ba2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ea108]
test eax, eax
je 0x2fc4c5c3a
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ea110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5c1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5c12
cmp qword [rbp - 0x10], 0
je 0x2fc4c5c12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5bd8
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5c3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5d40
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5d68
mov eax, 0
jmp 0x2fc4c5db6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5d91
mov eax, 0
jmp 0x2fc4c5db6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5db1
mov eax, 0
jmp 0x2fc4c5db6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5dbc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5e3a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5e31
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5e31
mov rax, qword [rbp - 8]
jmp 0x2fc4c5e4f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5e04
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140b4c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b4c237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b4c0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4c0c7
add dl, dl
jne 0x140b4c0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4c14e
xor eax, eax
add dl, dl
jne 0x140b4c0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4c205
add dl, dl
jne 0x140b4c10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4c11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4c128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4c135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b4c142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b4c0d6
mov eax, 1
add dl, dl
jne 0x140b4c15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4c16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4c153
sub eax, ebx
mov ebx, 1
jne 0x140b4c1a4
mov ecx, 1
add dl, dl
jne 0x140b4c186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b4c193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4c17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4c0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b4c1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b4c1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4c1b5
cmp eax, 0x7d00
jae 0x140b4c1f3
cmp eax, 0x500
jb 0x140b4c1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4c0d6
cmp eax, 0x7f
ja 0x140b4c1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4c0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b4c22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b4c0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003b00
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r13
push r14
push r15
sub rsp, 0x48
mov r8, qword [rcx]
mov r11d, dword [rcx + 0x24]
mov rbp, rcx
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec r11d
mov r10d, dword [rax + r8 + 0x20]
lea r9, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [r9 + 0x10]
not r11d
or r10, r15
and r11, r10
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], r11
test eax, eax
jne 0x140003b6b
mov ecx, dword [r9 + 0x24]
test cl, 0x40
je 0x140003b63
mov eax, dword [r8 + 0x20]
jmp 0x140003b6b
test cl, cl
jns 0x140003b6b
mov eax, dword [r8 + 0x24]
mov ecx, dword [r9 + 0x24]
mov qword [rsp + 0x70], rbx
mov edx, eax
mov eax, 1
xor r14d, r14d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x3c], r14d
mov r13d, eax
cmp ax, word [r8 + 6]
jae 0x140003c5c
lea rbx, [r9 + 0x4c]
mov edi, dword [rbp + 0x24]
mov r12d, dword [rbx - 0x1c]
mov esi, dword [rbx - 0x14]
dec edi
or r12, r15
not edi
and rdi, r12
test esi, esi
jne 0x140003bdc
mov eax, dword [rbx]
test al, 0x40
je 0x140003bd4
mov esi, dword [r8 + 0x20]
jmp 0x140003bdc
test al, al
jns 0x140003bdc
mov esi, dword [r8 + 0x24]
cmp r11, rdi
je 0x140003c15
lea rax, [rdx + r10]
cmp rax, rdi
ja 0x140003c15
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140003a00
test eax, eax
je 0x140003c99
mov ecx, dword [rbx]
mov r10, r12
mov qword [rsp + 0x20], r12
mov r11, rdi
mov qword [rsp + 0x28], rdi
mov edx, esi
jmp 0x140003c35
mov eax, dword [rbx]
bt eax, 0x19
jae 0x140003c27
bt ecx, 0x19
jae 0x140003c27
or ecx, eax
jmp 0x140003c2d
or ecx, eax
btr ecx, 0x19
mov edx, esi
sub rdx, r10
add rdx, r12
mov r8, qword [rbp]
inc r13d
add rbx, 0x28
movzx eax, word [r8 + 6]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rdx
cmp r13d, eax
jl 0x140003bb0
mov eax, 1
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov dword [rsp + 0x3c], eax
call fcn.140003a00
test eax, eax
setne r14b
mov eax, r14d
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rbp
ret
xor eax, eax
jmp 0x140003c76
Function at 0x140004210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1402084e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
call fcn.140016d18
test rax, rax
je 0x140004249
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
mov rbx, qword [rax + 0x40]
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x72657355
mov dword [rbp - 0x2c], 0x642e3233
mov word [rbp - 0x28], 0x6c6c
mov byte [rbp - 0x26], 0
mov dword [rbp - 0x20], 0x776f6853
mov dword [rbp - 0x1c], 0x646e6957
mov word [rbp - 0x18], 0x776f
mov byte [rbp - 0x16], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
call fcn.140003dc0
mov rbx, rax
test rax, rax
je 0x1400042fe
mov rcx, rax
call fcn.140003ca0
test rax, rax
je 0x1400042b7
call rax
cmp dword [rbx + 0x1c], 0
je 0x1400042d3
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov r9d, dword [rax + 0x28]
xor edx, edx
add r9, rcx
call r9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400042ea
xor edx, edx
mov r8d, 0x8000
call qword [0x140aae308]
call qword [0x140aae320]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x140aae318]
mov rax, qword [rdi + 0x248]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401549c0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x140004440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140004473
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400044b6
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x1400044b1
cmp rbx, r11
jae 0x1400044b6
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400044a0
cmp rbx, r11
jb 0x1400044ba
xor eax, eax
jmp 0x1400044c6
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005800
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.14001bd7c
mov rsi, rax
test rax, rax
je 0x14000587c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140005877
cmp dword [rbx], 0x40
jb 0x140005877
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 0x140005877
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140005880
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 0x14000d710
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 0x14000d778
call fcn.14001993c
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 0x14000d778
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000d79a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000d104
mov esi, eax
test rdi, rdi
je 0x14000d798
test rbx, rbx
je 0x14000d798
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 0x14000e0d0
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 + 0xc8], 0
jne 0x14000e10e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14000e1c2
call fcn.140012400
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e12d
mov ecx, 0x80004005
call fcn.140003010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xc8]
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.140156a58
test eax, eax
je 0x14000e195
cmp eax, 0xc
je 0x14000e18f
cmp eax, 0x16
je 0x14000e189
cmp eax, 0x22
je 0x14000e189
cmp eax, 0x50
je 0x14000e195
call fcn.140012294
int3
call fcn.140012294
int3
call fcn.14001224c
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 0x14000e1c0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140015044
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 0x1400150b6
call fcn.14001993c
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 0x1400150b6
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140015103
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x1400150e3
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 0x1400150e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0xc0], 0
je 0x140015101
mov rcx, qword [rbp + 0xc0]
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