joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400d0bc9], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1400917e8
lea rdx, [0x1400bb2aa]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140091850
mov rbx, qword [0x1400d0a80]
jmp 0x1400917a5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1400917a0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14007fd80
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400d0a80], rax
mov ebx, dword [rax]
mov qword [0x1400d0a80], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400d0a80], rdx
call fcn.140090890
cmp eax, ebx
jne 0x1400918b8
mov byte [0x1400d0bc9], 1
jmp 0x14009177c
cmp byte [0x1400d0bc8], 0
jne 0x140091793
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x1400d1528], rax
call rbx
mov qword [0x1400d1520], rax
call rbx
mov qword [0x1400d1518], rax
call rbx
mov qword [0x1400d1510], rax
call rbx
mov qword [0x1400d1508], rax
call rbx
mov qword [0x1400d1500], rax
call rbx
mov qword [0x1400d14f8], rax
call rbx
mov byte [0x1400d0bc8], 1
mov qword [0x1400d14f0], rax
jmp 0x140091793
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x14009a900
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 fcn.1400ac080
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400ac080
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14009b5d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d19e8]
test eax, eax
je 0x14009b66a
lea rax, [0x1400d19c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d19f0]
mov qword [rbp - 8], rax
jmp 0x14009b64e
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 0x14009b642
cmp qword [rbp - 0x10], 0
je 0x14009b642
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 0x14009b608
lea rax, [0x1400d19c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009b66b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14009b770
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 0x14009b798
mov eax, 0
jmp 0x14009b7e6
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 0x14009b7c1
mov eax, 0
jmp 0x14009b7e6
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 0x14009b7e1
mov eax, 0
jmp 0x14009b7e6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14009b7ec
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 0x14009b86a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14009b861
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 0x14009b861
mov rax, qword [rbp - 8]
jmp 0x14009b87f
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 0x14009b834
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010e0
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x2c], 0xff
lea rcx, [rsp + 0x28]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_COleDispatchImpl::GetTypeInfoCount]
xor ecx, ecx
call qword [sym.imp.mfc140u.dll_AfxClassInit]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000115d
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CReObject::CReObject]
mov rbx, rax
jmp 0x14000115f
xor ebx, ebx
call qword [sym.imp.mfc140u.dll_CArchiveException::GetRuntimeClass]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CHttpFile::SendRequest]
lea rdx, [0x140006ac8]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_COleControlSite::XOleIPSite::SetFocus]
xor edx, edx
mov r8d, 0x278
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDC::CDC]
nop
lea rax, vtable.CMFCApplication2Dlg.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.mfc140u.dll_CUserToolsManager::CUserToolsManager]
lea rax, vtable.CEdit.0
mov qword [rsp + 0x1a8], rax
lea rdx, [0x140007670]
lea rcx, [rsp + 0x290]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
lea rcx, [rsp + 0x298]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov edx, 0xe
lea ecx, [rdx + 0x72]
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x1a0], rax
mov byte [rsp + 0x2a0], 0
lea rax, [rsp + 0x30]
mov qword [rdi + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CD2DPathGeometry::Detach]
test rbx, rbx
je 0x14000124b
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rsp + 0x298]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x290]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.mfc140u.dll_CDialog::CDialog]
lea rcx, [rsp + 0x188]
call qword [sym.imp.mfc140u.dll_CD2DTextFormat::CD2DTextFormat]
lea rax, vtable.CBrush.0
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x170]
call fcn.1400014c0
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CD2DResource::CD2DResource]
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140004c00
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2c0
pop rdi
ret
Function at 0x140003ba0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows fibers

Disassembly:
push rbx
sub rsp, 0x5e0
lea rcx, [rsp + 0x20]
mov r8d, 0x5bd
lea rdx, str.PSQRVWUTAPAQARASATAUAVAW
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
xor ecx, ecx
mov edx, 0x5bd
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdx, [rsp + 0x20]
mov r8d, 0x5bd
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFiber]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rcx, rbx
add rsp, 0x5e0
pop rbx
jmp qword [sym.imp.KERNEL32.dll_DeleteFiber]

Function at 0x140005154
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000519e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000519e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000519e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000519e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000519e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400051a0
xor al, al
add rsp, 0x28
ret
Function at 0x7ff4b40feb8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x50
lea rax, [r11 - 0x14]
mov rdx, rcx
lea r8, [0x7ff4b40e340]
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
xor ebx, ebx
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x10]
mov r9d, 0x10000012
mov rcx, 0xffffffff80000002
mov edi, ebx
mov dword [rsp + 0x44], 4
mov qword [r11 - 0x38], rax
call sub.SHLWAPI.dll_SHRegGetValueW
lea edx, [rbx + 0xd]
cmp eax, ebx
jne 0x7ff4b40ff4f
cmp dword [rsp + 0x48], 4
jne 0x7ff4b40ff24
mov eax, dword [rsp + 0x40]
cmp eax, ebx
je 0x7ff4b40ff1f
cmp eax, 1
jne 0x7ff4b40ff59
cmp eax, 1
jmp 0x7ff4b40ff47
cmp dword [rsp + 0x44], 4
jne 0x7ff4b40ff59
mov eax, dword [rsp + 0x40]
mov ecx, 0x30
lea r8d, [rcx + 1]
cmp cx, ax
je 0x7ff4b40ff43
cmp r8w, ax
jne 0x7ff4b40ff59
cmp r8w, ax
sete dil
mov edx, ebx
jmp 0x7ff4b40ff59
cmp eax, 0xea
cmove eax, edx
mov edx, eax
movzx ecx, dx
or ecx, 0x80070000
cmp edx, ebx
cmovle ecx, edx
cmp ecx, ebx
cmovge ebx, edi
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x7ff4b41192c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov rdi, rcx
lea r8, [0x7ff4b40e670]
mov qword [r11 - 0x18], rax
lea rax, [r11 + 8]
lea rdx, [0x7ff4b40e590]
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
mov r9d, 0x20000010
mov rcx, 0xffffffff80000002
mov ebx, 1
mov dword [rsp + 0x58], 4
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x7ff4b41198b
mov eax, dword [rsp + 0x50]
cmp eax, 6
jbe 0x7ff4b411994
mov eax, 6
mov dword [rsp + 0x50], eax
cmp dword [rdi + 0x44], eax
jae 0x7ff4b4119f2
cmp qword [rdi + 0x48], 0
jne 0x7ff4b4119b0
lea rcx, [0x7ff4b40e688]
call fcn.7ff4b412310
mov qword [rdi + 0x48], rax
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x7ff4b4119f2
cmp qword [rdi + 0x50], 0
jne 0x7ff4b4119d1
lea rdx, [0x7ff4b40e6a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x7ff4b4119f2
lea rdx, [rsp + 0x60]
mov ecx, 0x40
call rax
cmp eax, ebx
jne 0x7ff4b4119f2
cmp byte [rdi + 0x41], 0
jne 0x7ff4b4119f2
xor bl, bl
mov al, bl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x7ff4b411a08
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov rbx, rcx
lea r8, [0x7ff4b40e6c0]
mov qword [r11 - 0x18], rax
lea rax, [r11 + 8]
lea rdx, [0x7ff4b40e590]
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
mov r9d, 0x20000010
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x58], 4
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x7ff4b411a63
mov r8d, dword [rsp + 0x50]
cmp r8d, 0x493e0
jbe 0x7ff4b411a6e
mov r8d, 0xea60
mov dword [rsp + 0x50], r8d
mov rcx, qword [rbx + 0x38]
xor r9d, r9d
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
jne 0x7ff4b411a8d
mov rcx, qword [rbx + 0x28]
call fcn.7ff4b41292c
add rsp, 0x40
pop rbx
ret
Function at 0x7ff4b411b00
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, qword [0x7ff4b426e88]
xor ebx, ebx
mov r13, rcx
mov rsi, rbx
cmp rdi, rbx
jne 0x7ff4b411bc0
mov qword [rax + 8], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b411b51
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b411b5a
call fcn.7ff4b4120bc
cmp eax, ebx
je 0x7ff4b411bca
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
cmp eax, ebx
je 0x7ff4b411bca
lea rcx, [0x7ff4b40e7d8]
call fcn.7ff4b412008
mov r12d, ebx
cmp rax, rbx
mov rdi, rax
sete r12b
cmp r12d, ebx
je 0x7ff4b411b98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x7ff4b411b9a
mov ebp, ebx
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp r12d, ebx
je 0x7ff4b411bb4
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rdi, rbx
je 0x7ff4b411bca
mov qword [0x7ff4b426e88], rdi
mov ecx, 5
call rdi
mov rsi, rax
mov rbp, qword [rsp + 0x50]
cmp rsi, rbx
mov qword [r13], rsi
mov rsi, qword [rsp + 0x58]
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x7ff4b411bf8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
mov esi, 1
je 0x7ff4b411ce2
lea rdx, [0x7ff4b411df0]
xor r8d, r8d
call fcn.7ff4b411e10
mov rbx, qword [0x7ff4b426e90]
mov r13, qword [rdi]
xor esi, esi
test rbx, rbx
jne 0x7ff4b411cd7
and qword [rsp + 0x40], rsi
cmp dword [0x7ff4b426e3c], esi
je 0x7ff4b411c68
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], esi
jne 0x7ff4b411c71
call fcn.7ff4b4120bc
test eax, eax
je 0x7ff4b411cde
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x7ff4b411cde
lea rcx, [0x7ff4b40e7e8]
call fcn.7ff4b412008
xor r12d, r12d
test rax, rax
mov rbx, rax
sete r12b
test r12d, r12d
je 0x7ff4b411caf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x7ff4b411cb1
xor ebp, ebp
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test r12d, r12d
je 0x7ff4b411ccb
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x7ff4b411cde
mov qword [0x7ff4b426e90], rbx
mov rcx, r13
call rbx
mov esi, eax
and qword [rdi], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x7ff4b411d04
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, qword [0x7ff4b426e98]
mov r13, qword [rcx]
xor ebx, ebx
mov r12d, edx
cmp rdi, rbx
jne 0x7ff4b411dc1
mov qword [rax + 8], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b411d55
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b411d5e
call fcn.7ff4b4120bc
cmp eax, ebx
je 0x7ff4b411dcc
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
cmp eax, ebx
je 0x7ff4b411dcc
lea rcx, [0x7ff4b40e810]
call fcn.7ff4b412008
mov ebp, ebx
cmp rax, rbx
mov rdi, rax
sete bpl
cmp ebp, ebx
je 0x7ff4b411d9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x7ff4b411d9c
mov esi, ebx
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp ebp, ebx
je 0x7ff4b411db5
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rdi, rbx
je 0x7ff4b411dcc
mov qword [0x7ff4b426e98], rdi
mov edx, r12d
mov rcx, r13
call rdi
mov rbx, rax
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x7ff4b411e10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx]
mov rdi, rcx
test rsi, rsi
je 0x7ff4b411eb6
mov rbx, qword [0x7ff4b426ea0]
test rbx, rbx
jne 0x7ff4b411ea3
and qword [rsp + 0x30], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b411e5c
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b411e65
call fcn.7ff4b4120bc
test eax, eax
je 0x7ff4b411eb2
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x7ff4b411eb2
lea rcx, [0x7ff4b40e7f8]
call fcn.7ff4b412008
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test rbx, rbx
je 0x7ff4b411eb2
mov qword [0x7ff4b426ea0], rbx
lea rdx, [0x7ff4b411df0]
xor r8d, r8d
mov rcx, rsi
call rbx
and qword [rdi], 0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff4b411f0c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rbx, qword [0x7ff4b426e78]
or esi, 0xffffffff
mov r12, r8
mov r13d, edx
mov r14, rcx
test rbx, rbx
jne 0x7ff4b411fcc
and qword [rsp + 0x68], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b411f60
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b411f69
call fcn.7ff4b4120bc
test eax, eax
je 0x7ff4b411fd9
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x7ff4b411fd9
lea rcx, [0x7ff4b40e820]
call fcn.7ff4b412008
xor ebp, ebp
test rax, rax
mov rbx, rax
sete bpl
test ebp, ebp
je 0x7ff4b411fa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x7ff4b411fa7
xor edi, edi
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebp, ebp
je 0x7ff4b411fc0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x7ff4b411fd9
mov qword [0x7ff4b426e78], rbx
mov r8, r12
mov edx, r13d
mov rcx, r14
call rbx
mov esi, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, esi
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x7ff4b412310
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x18], 0
and qword [rax + 0x10], 0
xor ebx, ebx
mov eax, dword [0x7ff4b426e3c]
test eax, eax
je 0x7ff4b412349
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x7ff4b426e3c]
test eax, eax
jne 0x7ff4b412356
call fcn.7ff4b4120bc
test eax, eax
je 0x7ff4b412372
lea rdx, [rsp + 0x48]
mov rcx, qword [0x7ff4b426118]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x7ff4b41237a
xor eax, eax
jmp 0x7ff4b4123c4
lea rcx, [0x7ff4b40e688]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rax, rax
sete dil
test edi, edi
je 0x7ff4b4123a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x7ff4b4123a8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x7ff4b4123c1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff4b41316c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rbx, qword [0x7ff4b426ec0]
mov r14, qword [rcx]
or ebp, 0xffffffff
mov r13, rdx
mov r12, rcx
test rbx, rbx
jne 0x7ff4b413230
and qword [rsp + 0x60], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b4131c0
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b4131cd
call fcn.7ff4b4120bc
test eax, eax
je 0x7ff4b413252
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x7ff4b413252
lea rcx, [0x7ff4b40e870]
call fcn.7ff4b412008
xor esi, esi
test rax, rax
mov rbx, rax
sete sil
test esi, esi
je 0x7ff4b413209
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x7ff4b41320b
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x7ff4b413224
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x7ff4b413252
mov qword [0x7ff4b426ec0], rbx
lea r9, [0x7ff4b413148]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
call rbx
mov ebp, eax
mov r8, qword [rsp + 0x90]
mov rcx, qword [r12]
mov edx, ebp
call fcn.7ff4b411f0c
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x7ff4b413284
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, qword [0x7ff4b426ea8]
mov r13, qword [rcx]
xor ebx, ebx
mov r12, rdx
cmp rdi, rbx
jne 0x7ff4b413341
mov qword [rax + 8], rbx
cmp dword [0x7ff4b426e3c], ebx
je 0x7ff4b4132d5
lea rcx, [0x7ff4b40e798]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x7ff4b426e3c], ebx
jne 0x7ff4b4132de
call fcn.7ff4b4120bc
cmp eax, ebx
je 0x7ff4b41334c
mov rcx, qword [0x7ff4b426118]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
cmp eax, ebx
je 0x7ff4b41334c
lea rcx, [0x7ff4b40e860]
call fcn.7ff4b412008
mov ebp, ebx
cmp rax, rbx
mov rdi, rax
sete bpl
cmp ebp, ebx
je 0x7ff4b41331a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x7ff4b41331c
mov esi, ebx
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp ebp, ebx
je 0x7ff4b413335
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rdi, rbx
je 0x7ff4b41334c
mov qword [0x7ff4b426ea8], rdi
mov rdx, r12
mov rcx, r13
call rdi
mov rbx, rax
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret