joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc98
Capabilities:
Create process on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x2e8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x004583d0]
mov qword [rsp + 0x2d0], rax
mov edi, ecx
mov r8d, 0x104
lea rdx, [rsp + 0xc0]
mov rcx, qword [0x0045df20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [0x0045aaf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, WSAStartup
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], ebx
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rdx, str.cmd.exe
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxDaoTerm
mov dword [rsp + 0x54], 0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.0042e2a2
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 0
lea rdx, [0x00434958]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CCtrlView::CCtrlView
mov rbx, rax
lea rdx, [0x00434950]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea r8, [rsp + 0xc0]
mov rdx, rax
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_AfxThrowOleException
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11, qword [rsp + 0x28]
mov qword [rsp + 0x70], r11
lea rcx, [0x00433b80]
neg edi
sbb rax, rax
and rax, rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40be00
mov ecx, 0xfefe
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40be18
mov r8, qword [0x0045df30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x0045aaf0], rax
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x2d0]
call fcn.0042ec20
add rsp, 0x2e8
pop rdi
pop rbx
ret
Function at 0x40bee0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x2d0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x004583d0]
mov qword [rsp + 0x2c0], rax
mov ebx, ecx
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
mov rcx, qword [0x0045df20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [0x0045aaf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x40], WSAStartup
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 0
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.0042e2a2
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x70], 1
lea rdx, str.RESTART_DESKTOPOK_2018
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CCtrlView::CCtrlView
mov r11, qword [rsp + 0x20]
mov qword [rsp + 0x60], r11
lea rcx, [0x00433b80]
neg ebx
sbb rax, rax
and rax, rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40bfd7
mov ecx, 0xfefe
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40bfef
mov r8, qword [0x0045df30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x0045aaf0], rax
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x2c0]
call fcn.0042ec20
add rsp, 0x2d0
pop rbx
ret
Function at 0x40dce4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
lea rdx, str.shell32.dll_Control_RunDLL
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x00434d40]
lea rdx, [0x00433c30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, rbx
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
add rsp, 0x40
pop rbx
ret

Function at 0x40ddcc
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x40]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], 3
lea rdx, [r9 - 1]
xor r8d, r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], 3
lea rdx, [r9 - 2]
xor r8d, r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
add rsp, 0x40
pop rbx
jmp fcn.00424120
Function at 0x40f20c
Capabilities:
Print debug messages

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [0x0045c7f0]
cmp dword [rbx + 0x190], ecx
je 0x40f24d
xor eax, eax
test ecx, ecx
lea rcx, [0x0045b1d0]
sete al
mov dword [0x0045b9f8], eax
call fcn.00426df0
mov rcx, qword [0x0045c7f0]
cmp dword [rbx + 0x190], ecx
jne 0x40f25f
mov eax, dword [0x0045ba10]
cmp dword [rbx + 0x194], eax
je 0x40f349
mov dword [rbx + 0x190], ecx
mov eax, dword [0x0045ba10]
lea rcx, str.Set_Img_n
mov dword [rbx + 0x194], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbx + 0x2548]
xor r8d, r8d
mov edx, 0xf1
cmp dword [0x0045c7f0], r8d
sete r8b
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbx + 0x194], 0
jne 0x40f2ba
cmp dword [rbx + 0x190], 0
je 0x40f2ba
mov edx, 1
jmp 0x40f2bc
xor edx, edx
lea rcx, [rbx + 0x1b0]
call fcn.0041b830
cmp dword [rbx + 0x194], 1
jne 0x40f2e1
cmp dword [rbx + 0x190], 0
je 0x40f2e1
mov edx, 1
jmp 0x40f2e3
xor edx, edx
lea rcx, [rbx + 0x18d8]
call fcn.00404fbc
cmp dword [rbx + 0x190], 0
je 0x40f306
cmp dword [rbx + 0xb78], 0
je 0x40f306
xor r8d, r8d
jmp 0x40f30c
mov r8d, 2
lea rcx, [rbx + 0x2488]
xor edx, edx
call fcn.0041f98c
cmp dword [rbx + 0x190], 0
je 0x40f332
cmp dword [rbx + 0x199c], 0
mov r8d, 1
jne 0x40f338
mov r8d, 3
lea rcx, [rbx + 0x2488]
mov edx, 1
call fcn.0041f98c
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x4100f4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov rax, rsp
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
lea rcx, [rax + 0x30]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
cmove rbx, qword [rsp + 0x78]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x70], 0xffffffff
lea rdx, str.AppsUseLightTheme
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CCtrlView::CCtrlView
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x78], 4
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov edi, 1
cmp dword [rsp + 0x70], edi
jne 0x4101d5
test rbx, rbx
je 0x4101d3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x4101e7
test rbx, rbx
je 0x4101e4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor dil, dil
lea rcx, [rsp + 0x88]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov al, dil
add rsp, 0x58
pop rdi
pop rbx
ret

Function at 0x41023c
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rdi, rdx
mov rbx, rcx
call fcn.0040ebf4
test eax, eax
je 0x410335
cmp rdi, 0x204
jne 0x41027b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx + 0x40]
call fcn.00424120
mov rcx, rbx
call fcn.0040f990
jmp 0x410335
cmp rdi, 0x201
jne 0x410335
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rcx, qword [rbx + 0x40]
test eax, eax
jne 0x41032d
lea edx, [rax + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov edi, 3
lea rdx, [r9 - 1]
xor r8d, r8d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rdx, [r9 - 2]
xor r8d, r8d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x40]
call fcn.00424120
jmp 0x410335
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x413244
Capabilities:
Terminate thread

Disassembly:
push rbx
push rdi
sub rsp, 0x48
cmp dword [rcx + 0x5b8], 0
mov rbx, rcx
jne 0x41325e
xor eax, eax
jmp 0x4133a2
mov rax, qword [rcx + 0x4d0]
mov edi, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x4e0]
mov rcx, qword [rcx + reloc.MFC42u.dll_AfxThrowUserException]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 1]
mov r9d, 0x3e8
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x4132af
cmp eax, 0xffffffff
jne 0x41334b
lea rdi, [0x00435de0]
lea r8, str.WaitForMultipleObjects_...__timed_out
lea rdx, str.UMServer.log
mov rcx, rbx
mov r9, rdi
mov dword [rsp + 0x20], 0
call fcn.00414b80
mov rcx, qword [rbx + 0x4d0]
mov edx, 0x1234
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x413310
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.TerminateThread_.ThreadA.__failure__probably_it_is_already_terminated
lea rdx, str.UMServer.log
mov r9, rdi
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.00414b80
mov rcx, qword [rbx + 0x4e0]
mov edx, 0x1234
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x413349
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.TerminateThread_.ThreadC.__failure__probably_it_is_already_terminated
lea rdx, str.UMServer.log
mov r9, rdi
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.00414b80
xor edi, edi
mov rcx, qword [rbx + 0x4d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x4e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413372
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbx + 0x518], 0
jne 0x413367
lea rcx, [rbx + 0x560]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbx + 0x588]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [rbx + 0x5b8], 0
mov eax, edi
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x414290
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [rcx]
mov r8d, r9d
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsi + 0x5d0]
mov rbx, qword [rsi + 0x5c8]
cmp rbx, rdi
je 0x4142e5
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_]
test al, al
jne 0x4142e5
add rbx, 0x20
cmp rbx, rdi
jne 0x4142cc
cmp rbx, qword [rsi + 0x5d0]
jne 0x414335
xor eax, eax
mov byte [rsp + 0x90], al
lea r8, [rsp + 0x90]
mov rdx, rbp
lea rcx, [rsp + 0x38]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
nop
lea rcx, [rsi + 0x5c0]
lea r9, [rsp + 0x38]
mov r8d, 1
mov rdx, qword [rcx + 0x10]
call fcn.004133ac
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
lock inc dword [rsi + 0x53c]
lea rcx, [rsi + 0x560]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x10
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rax], rsi
mov qword [rax + 8], r12
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x00413a54]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
je 0x4143e2
mov edx, dword [rsp + 0x98]
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], rax
mov rdi, qword [rsi + 0x510]
mov rbx, qword [rdi + 8]
mov ecx, 0x20
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rax], rdi
mov rcx, rax
test rbx, rbx
cmovne rcx, rbx
mov qword [rax + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
add rax, 0x10
je 0x4143d9
movdqu xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rax], xmm0
inc qword [rsi + 0x518]
jmp 0x41440b
call qword [sym.imp.msvcrt.dll__errno]
mov edx, dword [rax]
mov dword [rsp + 0x20], edx
lea r9, str.AddClient
lea r8, str._beginthreadex_...__failure
lea rdx, str.UMServer.log
mov rcx, rsi
call fcn.00414b80
lea rcx, [rsi + 0x560]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x414850
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x5b8], 0
mov rbx, rcx
je 0x414890
call qword [sym.imp.msvcrt.dll__errno]
mov edx, dword [rax]
mov dword [rsp + 0x20], edx
lea r8, str._beginthreadex_...__failure__for_Launch_Thread
lea r9, [0x00436238]
lea rdx, str.UMServer.log
mov rcx, rbx
call fcn.00414b80
jmp 0x414a1c
mov dword [rcx + 0x5b0], edx
mov dword [rcx + Ordinal_1463], r8d
add rcx, 0x560
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x588]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
xor ecx, ecx
mov dword [rbx + 0x538], 0
mov qword [rbx + 0x550], 0
mov qword [rbx + 0x540], 0
mov qword [rbx + 0x548], 0
mov dword [rbx + 0x53c], 0
mov dword [rbx + 0x558], 0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov qword [rbx + 0x4f8], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rbx + 0x4d8]
lea r8, [0x0041444c]
mov qword [rsp + 0x28], r11
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx + 0x4d0], rax
jne 0x41495c
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jmp 0x41486e
mov rcx, qword [rbx + 0x4f8]
mov edx, 0x7530
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41497b
lea r8, str.Unable_to_get_response_from_Accept_Thread_withing_specified_Timeout___
jmp 0x4149f1
mov rcx, qword [rbx + 0x4f8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rbx + 0x4e8]
lea r8, [0x004137f0]
mov qword [rsp + 0x28], r11
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx + 0x4e0], rax
jne 0x4149d4
call qword [sym.imp.msvcrt.dll__errno]
lea r8, str._beginthreadex_...__failure__for_Helper_Thread
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jmp 0x414875
mov rcx, qword [rbx + 0x4f8]
mov edx, 0x7530
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x414a20
lea r8, str.Unable_to_get_response_from_Helper_Thread_within_specified_Timeout___
lea r9, [0x00436238]
lea rdx, str.UMServer.log
mov rcx, rbx
mov dword [rsp + 0x20], 0x7530
call fcn.00414b80
mov rcx, qword [rbx + 0x4f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x414a3c
mov rcx, qword [rbx + 0x4f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbx + 0x5b8], 1
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x414b80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov r14, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
add rcx, 0x4a8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0x4a0]
call qword [sym.imp.msvcrt.dll_time]
lea rdx, [0x00433fd0]
lea rcx, [rsp + 0x90]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CCtrlView::CCtrlView
mov rdi, rax
lea rdx, [rbx + 0x10]
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x90]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436360]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll__wfopen]
mov qword [rbx + 8], rax
xor esi, esi
cmp rax, rsi
je 0x414d5a
lea rcx, [rbx + 0x4a0]
call qword [sym.imp.msvcrt.dll_localtime]
mov qword [rbx + 0x498], rax
mov r9, rax
lea r8, str._a___d__b__Y__H:_M:_S
mov edx, 0x80
lea rcx, [rbx + 0x418]
call qword [sym.imp.msvcrt.dll_strftime]
cmp r14, rsi
je 0x414cb4
lea rbp, [rbx + 0x18]
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, r13
lea r8, [rbx + 0x418]
lea rdx, str._s____s._t__s__t__d__n
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_sprintf]
jmp 0x414cdd
lea rbp, [rbx + 0x18]
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [rbx + 0x418]
lea rdx, str._s____s._t__d__n
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_sprintf]
xor eax, eax
lea r13, [rax - 1]
mov rcx, r13
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea r14d, [rax + 1]
sub rcx, r14
mov r8, rcx
mov r9, qword [rbx + 8]
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_fwrite]
mov r11, rax
xor eax, eax
mov rcx, r13
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
sub rcx, r14
movsxd rax, r11d
cmp rax, rcx
je 0x414d3d
lea rcx, [rbx + 0x4a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 8]
call qword [sym.imp.msvcrt.dll_fclose]
nop
jmp 0x414d68
mov rcx, qword [rbx + 8]
call qword [sym.imp.msvcrt.dll_fclose]
lea rcx, [rbx + 0x4a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov esi, r14d
jmp 0x414d68
lea rcx, [rbx + 0x4a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, esi
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x417798
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x004583d0]
mov qword [rsp + 0xc0], rax
mov edi, r9d
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x30], 0
call sub.MFC42u.dll_CDaoException::CDaoException
mov dword [rsp + 0x30], 1
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], 0x2c
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x7c]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xa8], 0x2e
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0xac]
call sub.msvcrt.dll_memset
mov r13d, SafeArrayUnaccessData
mov r9d, r13d
lea r8, [rsp + 0x78]
lea edx, [r13 - 5]
mov r12d, 0x400
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r11, [rsp + 0x78]
mov qword [rsp + 0x50], r11
lea rax, [0x004365c0]
mov qword [rsp + 0x58], rax
test edi, edi
je 0x41788c
mov r9d, r13d
lea r8, [rsp + 0xa8]
lea edx, [r13 - 4]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x58], rcx
mov r9d, r13d
lea r8, [rsp + 0x90]
mov edx, 0x12
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x44], eax
mov r9d, r13d
lea r8, [rsp + 0x90]
mov edx, 0x10
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x48], eax
mov r9d, r13d
lea r8, [rsp + 0x90]
mov edx, 0x1010
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x60], eax
cmp ebx, 0xffffffff
jne 0x417953
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rdx, [rsp + 0x78]
mov rcx, rsi
call sub.MFC42u.dll_CRichEditView::FindTextW
mov edx, eax
cmp eax, ebx
jne 0x417939
xor ebx, ebx
jmp 0x417949
mov rax, qword [rsi]
mov ebx, dword [rax - 8]
mov rax, qword [rsp + 0x38]
sub ebx, dword [rax - 8]
sub ebx, edx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov dword [rsp + 0x40], ebx
xor eax, eax
lea rcx, [rax - 1]
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea edi, [rcx + rcx*2 + 0x61]
movsxd rcx, edi
add rcx, rcx
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov rbx, rax
lea eax, [rdi - 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8, rbp
xor edx, edx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x4179a6
mov rdx, rbx
mov rcx, rsi
call sub.MFC42u.dll_AfxDeleteObject
test rbx, rbx
je 0x4179b3
mov rcx, rbx
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov rax, rsi
mov rcx, qword [rsp + 0xc0]
call fcn.0042ec20
add rsp, 0xd8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret