joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bda90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
movzx ecx, byte [rcx + 0x23]
mov rbx, rdx
test ecx, ecx
je 0x1400bdcd1
dec ecx
mov qword [rsp + 0x50], rsi
je 0x1400bdb26
dec ecx
je 0x1400bdaf3
dec ecx
je 0x1400bdad7
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
je 0x1400bdae1
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdx
call fcn.140006b40
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x1400bdc77
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001130
cmp dword [0x14012ac4c], 0
jne 0x1400bdc2e
cmp qword [rdi + 0x10], 0
jne 0x1400bdc2e
cmp qword [0x14012e1a8], rdi
jne 0x1400bdb54
test rbx, rbx
jne 0x1400bdbd3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x1400bdbce
xor esi, esi
mov qword [0x14012e1a8], rsi
test rbx, rbx
je 0x1400bdbbc
mov edx, dword [0x14012ac28]
test edx, edx
je 0x1400bdb9e
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x14012c5c0]
mov qword [rsp + 0x20], rsi
call fcn.14004f010
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.1400baad0
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400bdc15
cmp byte [rdi + 0x23], 0
jne 0x1400bdbdf
mov rax, qword [rdi + 0x10]
jmp 0x1400bdbe2
mov rax, rdi
test byte [rax + 0x21], 4
je 0x1400bdbf7
lea rcx, [0x14012c5c0]
mov rdx, rdi
call fcn.14004f190
xor esi, esi
xor eax, eax
mov word [rbx], si
mov qword [0x14012e1a8], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
mov qword [0x14012e1a8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x1400bdccc
test r8, r8
jne 0x1400bdc87
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x1400bdc6d
lea rcx, [0x14012c5c0]
mov rdx, rdi
call fcn.14004f190
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x1400bdccc
cmp r8, 0x186a0
jae 0x1400bdcbe
movzx eax, word [rdx]
test ax, ax
je 0x1400bdcb4
add rdx, 2
mov word [rbx], ax
add rbx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x1400bdca1
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x1400bdc72
mov rcx, rbx
call fcn.1400d7a30
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x1400bdc72
mov rcx, qword [rdi + 0x10]
call fcn.1400bda90
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400beaf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400beb0b
call fcn.14008e6d0
jmp 0x1400beb1b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
js 0x1400beb8e
je 0x1400beb8e
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001b60
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400beb7b
add edi, esi
nop dword [rax]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x1400beb7b
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b60
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400beb50
mov rax, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c1600
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx ebp, dl
mov rbx, rcx
jne 0x1400c1627
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1401255c8]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call fcn.1400c1c70
cmp byte [rbx], 0
je 0x1400c166f
test rax, rax
jne 0x1400c1678
xor r8d, r8d
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c1790
test rax, rax
jne 0x1400c1749
test rdi, rdi
je 0x1400c170d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001b60
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c16ef
nop dword [rax]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x1400c16ef
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b60
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400c16c0
mov rax, qword [0x1401255c8]
mov rsi, qword [rsp + 0x30]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c170d
mov edx, 1
call fcn.140001b60
cmp byte [rbx], 0
je 0x1400c176c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rdi
je 0x1400c1749
mov r8, qword [0x1401255c8]
mov rdx, rax
mov rcx, rbx
call fcn.1400c1c70
test rax, rax
je 0x1400c1749
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
cmp byte [rbx], 0
je 0x1400c176c
xor r8d, r8d
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c1790
movzx edx, bpl
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp fcn.1400c19e0
Function at 0x1400c1790
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
mov eax, 0x11cd0
call fcn.1400e0a90
sub rsp, rax
xor ebx, ebx
mov rbp, r8
movzx esi, dl
mov r12, rcx
test r8, r8
je 0x1400c17b9
mov qword [r8], rbx
cmp qword [rcx + 0x10], rbx
jne 0x1400c17c9
mov eax, 1
jmp 0x1400c19c1
mov dl, 1
call fcn.1400c1bc0
test eax, eax
je 0x1400c19c1
mov qword [rsp + 0x11cf0], rdi
mov qword [rsp + 0x11cf8], r13
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1401255c8]
mov rcx, r12
mov rdx, rax
mov rdi, rax
call fcn.1400c1c70
mov ecx, dword [0x14012c4bc]
test rax, rax
mov dword [rsp + 0x1874], ebx
mov qword [rsp + 0x1878], rbx
setne r13b
mov qword [rsp + 0x1880], rbx
mov qword [rsp + 0x1898], rbx
test r13b, r13b
mov qword [rsp + 0x18a8], rbx
mov qword [rsp + 0x18b0], rbx
cmove ecx, ebx
mov dword [0x14012c4bc], ecx
test sil, sil
je 0x1400c185c
mov byte [rsp + 0x1871], bl
test r13b, r13b
je 0x1400c1864
mov byte [rsp + 0x1871], 1
mov r8, qword [0x14012c4c8]
lea rax, [0x1400f1524]
test ecx, ecx
mov qword [rsp + 0x1038], rax
mov qword [rsp + 0x1048], rax
mov qword [rsp + 0x1050], rax
mov rax, qword [0x1401255c8]
mov qword [rsp + 0x1888], r8
mov dword [rsp + 0x1890], ecx
mov qword [rsp + 0x1040], rbx
mov qword [rsp + 0x1068], r12
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
setg sil
test r13b, r13b
je 0x1400c18f7
mov edx, ebx
test ecx, ecx
jle 0x1400c18e0
mov rax, r8
cmp qword [rax], rdi
je 0x1400c18f7
inc edx
add rax, 8
cmp edx, ecx
jl 0x1400c18d1
cmp ecx, 0x1f4
jge 0x1400c18f7
movsxd rax, ecx
inc ecx
mov qword [r8 + rax*8], rdi
mov dword [0x14012c4bc], ecx
mov dword [rsp + 0x1890], ecx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400bf070]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x1878]
test rcx, rcx
jne 0x1400c194d
test sil, sil
je 0x1400c1936
mov r8, qword [0x14012c4c8]
mov ecx, ebx
mov dword [0x14012c4bc], ebx
xor sil, sil
jmp 0x1400c18c3
test rbp, rbp
je 0x1400c1949
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1400c1949
mov qword [rbp], rax
xor eax, eax
jmp 0x1400c19b1
call fcn.1400be7b0
movsxd rcx, dword [0x14012c4bc]
mov rdx, qword [rsp + 0x1878]
mov r8, qword [0x14012c4c8]
test ecx, ecx
jle 0x1400c197f
mov rax, r8
nop
cmp qword [rax], rdx
je 0x1400c1993
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400c1970
cmp ecx, 0x1f4
jge 0x1400c1993
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x14012c4bc], ecx
mov rax, qword [0x1401255c8]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400c19ac
mov edx, 1
call fcn.140001b60
mov eax, 1
mov rdi, qword [rsp + 0x11cf0]
mov r13, qword [rsp + 0x11cf8]
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11cd0
pop r12
pop rsi
pop rbp
ret
Function at 0x1400d7648
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400d74b8

Function at 0x1400e2fc8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140123ea8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400db46c
xor ebx, ebx
cmp qword [0x140128d48], rbx
mov rdi, rax
jne 0x1400e30db
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400e31b2
lea rdx, [0x1400f0b10]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x1400e31b2
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140128d48], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140128d50], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140128d58], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov r11, rax
mov qword [0x140128d68], rax
test rax, rax
je 0x1400e30d2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov qword [0x140128d60], rax
jmp 0x1400e30e2
mov rax, qword [0x140128d60]
jmp 0x1400e30e9
mov rax, qword [0x140128d60]
mov r11, qword [0x140128d68]
cmp rax, rdi
je 0x1400e3150
cmp r11, rdi
je 0x1400e3150
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov rcx, qword [0x140128d68]
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400e3150
test rax, rax
je 0x1400e3150
call rsi
test rax, rax
je 0x1400e314a
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400e314a
test byte [rsp + 0x40], 1
jne 0x1400e3150
bts ebp, 0x15
jmp 0x1400e3190
mov rcx, qword [0x140128d50]
cmp rcx, rdi
je 0x1400e3190
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e3190
call rax
mov rbx, rax
test rax, rax
je 0x1400e3190
mov rcx, qword [0x140128d58]
cmp rcx, rdi
je 0x1400e3190
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e3190
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140128d48]
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400e31b2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400e31b4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df260
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400e5f3f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140123ea8]
jne 0x1400df27a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400df276
repz ret
ror rcx, 0x10
jmp 0x1400e5e98
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140128e90]
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov rax, qword [0x140128f88]
mov qword [rsp + 0x58], rax
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 0x1400e5f1d
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, [0x140128e90]
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 0x1400e5f3f
mov rax, qword [rsp + 0x88]
mov qword [0x140128f88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140128f28], rax
mov rax, qword [0x140128f88]
mov qword [0x140128e00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140128f10], rax
mov dword [0x140128df0], 0xc0000409
mov dword [0x140128df4], 1
mov rax, qword [0x140123ea8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140123eb0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
mov dword [0x140128e88], eax
mov ecx, 1
call fcn.1400e2e1c
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [0x1400f14d8]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
cmp dword [0x140128e88], 0
jne 0x1400e5fc6
mov ecx, 1
call fcn.1400e2e1c
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000c500
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.140009cc8
lea r8, [0x1400a3f28]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009d54
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r13, [0x1400a3eec]
mov rbx, rax
test rax, rax
jne 0x14000c5b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000c6be
mov rcx, qword [rbp + 0x178]
lea edx, [rdi - 0x3b]
mov r8, r13
call fcn.14000b3bc
mov esi, eax
jmp 0x14000c69f
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.14000b4d8
mov esi, eax
test eax, eax
jns 0x14000c5f9
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xcf
call fcn.14000b384
mov rcx, rbx
call fcn.14000b450
jmp 0x14000c69f
lea r8, [0x1400a3f30]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140009d54
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000c645
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xd5
call fcn.14000b3bc
mov esi, eax
jmp 0x14000c5ec
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000b4d8
mov esi, eax
test eax, eax
jns 0x14000c67c
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xd7
call fcn.14000b384
mov rcx, rdi
call fcn.14000b450
jmp 0x14000c5ec
mov rcx, rdi
call fcn.14000b450
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.14000b450
xor esi, esi
test esi, esi
jns 0x14000c6be
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov r8, r13
mov edx, 0x62
call fcn.14000b384
mov eax, esi
jmp 0x14000c6c3
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400842d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400295e0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
and qword [r11 - 0x48], 0
lea rcx, [r11 - 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test byte [0x1400ee7c0], 4
je 0x140029641
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400a40c0]
call fcn.140016d78
mov r8, qword [rdi + 0x130]
add r8, 0xb8
lea rdx, [rdi + 0x160]
lea rcx, [rsp + 0x30]
call fcn.140025528
mov dword [rsp + 0x38], eax
test eax, eax
js 0x14002979a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
xor ecx, ecx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov rdx, qword [rdi + reloc.MFC42u.dll_CDaoRecordView::CDaoRecordView]
cmp dword [rdx + 0x140], 0x4d7
jne 0x1400296de
mov r8d, dword [rdx + 0x160]
test r8b, 1
je 0x1400296bf
mov ecx, dword [rdx + 0x164]
mov dword [rsp + 0x30], ecx
test r8b, 2
je 0x1400296cf
mov eax, dword [rdx + 0x168]
mov dword [rsp + 0x34], eax
test ecx, ecx
je 0x1400296de
test eax, eax
je 0x1400296de
mov eax, 1
jmp 0x1400296e0
xor eax, eax
mov rcx, qword [rdi + 0x130]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0xd0]
call fcn.140004844
mov ebx, eax
mov dword [rsp + 0x38], eax
test eax, eax
js 0x1400297af
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [case.0x14004e05b.0]
nop
jmp 0x14002972e
mov rcx, qword [rsp + 0x40]
cmp dword [rcx - 8], 0
je 0x140029745
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test byte [0x1400ee7c0], 4
je 0x14002976b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400a41d8]
call fcn.140016d78
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400842d0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov dword [rsp + 0x48], eax
lea rdx, [0x1400e2f00]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x4c], eax
lea rdx, [0x1400e2f00]
lea rcx, [rsp + 0x4c]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14003f880
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
call fcn.14003f5b0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x20]
mov ecx, COleDropTarget::XDropTarget::AddRef
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
mov edi, 1
test eax, eax
je 0x14003f8db
mov eax, 0x800
test word [rsp + 0x2e], ax
je 0x14003f8db
mov al, dil
jmp 0x14003f8dd
xor al, al
mov byte [0x1400ee848], al
lea rcx, [0x1400ee910]
lea rax, [rbx + 0xc0]
mov qword [0x1400ef108], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
nop dword [rax + rax]
mov r9d, 2
lea r8, [0x1400eceb8]
mov edx, 0x20001009
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov ecx, dword [0x1400eceb8]
test eax, eax
cmove ecx, edi
cmp byte [0x1400ee848], 0
mov dword [0x1400eceb8], ecx
je 0x14003f9ab
test byte [0x1400ee85a], dil
je 0x14003f9ab
mov rcx, qword [0x1400ef108]
mov edx, 0xffffffec
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
nop dword [rax + rax]
bt rax, 0x16
jb 0x14003f9ab
mov rcx, qword [0x1400ef108]
mov edx, 0xffffffec
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
nop dword [rax + rax]
mov rcx, qword [0x1400ef108]
mov edx, 0xffffffec
or rax, 0x7000
mov r8, rax
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
nop dword [rax + rax]
mov r8d, edi
lea rcx, [0x14003fa50]
mov edx, COleDropTarget::XDropTarget::AddRef
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
nop dword [rax + rax]
mov edx, COleDropTarget::XDropTarget::AddRef
lea rcx, [0x14003fa50]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
nop dword [rax + rax]
xor r8d, r8d
lea rcx, [0x14003fb40]
mov edx, COleDropTarget::XDropTarget::AddRef
call qword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x100]
xor r9d, r9d
and qword [0x1400ef108], 0
xor r8d, r8d
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400842d0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14003fc84
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0xc0
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, r8
mov rbp, rcx
call qword [sym.imp.MFC42u.dll_RFX_Date_Bulk]
nop dword [rax + rax]
xor r14d, r14d
mov rsi, rax
cmp dword [rbp], r14d
je 0x14003fd50
lea r8d, [r14 + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
nop dword [rax + rax]
cmp word [rsp + 0x30], r14w
je 0x14003fd48
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004cc94
test eax, eax
jne 0x14003fd1e
or r8d, 0xffffffff
lea edx, [rax + 0x40]
lea ecx, [rax + 0x67]
call qword [sym.imp.MFC42u.dll_Ordinal_1498]
nop dword [rax + rax]
mov rcx, rbp
call qword [sym.imp.MFC42u.dll_CGopherFileFind::FindFile]
nop dword [rax + rax]
mov r9d, dword [rbx]
lea rdx, [rsp + 0x30]
mov r8d, 0x40
call fcn.14004cde0
cmp word [rsp + 0x30], r14w
je 0x14003fd7f
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004cc94
jmp 0x14003fd7f
mov dword [rbx], 0x7fffffff
jmp 0x14003fd7f
cmp dword [rbx], 0x7fffffff
je 0x14003fd7f
mov r9d, dword [rbx]
lea rdx, [rsp + 0x30]
mov r8d, 0x40
call fcn.14004cde0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400842d0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret

Function at 0x140040490
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400ece98]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
cmp dword [0x1400ef110], esi
jne 0x140040591
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, CSocketFile::CSocketFile
call sub.msvcrt.dll_memset
mov edi, esi
lea rbx, [0x1400ed608]
cmp dword [rbx - 8], esi
jne 0x140040573
cmp qword [rbx], rsi
je 0x140040573
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x140040554
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
nop dword [rax + rax]
test rax, rax
je 0x140040554
mov word [rax], si
lea rcx, [rsp + 0x20]
mov r8, qword [rbx]
mov edx, 0x104
call fcn.140009d54
movzx edi, ax
test edi, edi
jne 0x140040570
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov edi, eax
and edi, 0x10
test edi, edi
jne 0x140040570
movsxd rdx, dword [rbx + 8]
lea r8, [rsp + 0x20]
mov rcx, qword [rbx]
call fcn.140009cc8
movzx edi, ax
test edi, edi
je 0x140040573
mov qword [rbx], rsi
add rbx, 0x50
lea rax, [0x1400edab8]
cmp rbx, rax
jl 0x1400404dd
mov dword [0x1400ef110], 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400842d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret