joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4403a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4b2ee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x4b84d0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4b84d0
call fcn.00421418
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x4b84d0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4b84d0
call fcn.00421418
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x446150
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b31bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00446270
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x528278
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4461fb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4461f2
cmp al, 0xff
je 0x4461f2
dec al
mov byte [ecx], al
jmp 0x4461fb
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a1ef0
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x446247
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44623e
cmp al, 0xff
je 0x44623e
dec al
mov byte [ecx], al
jmp 0x446247
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4488b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b3466
push eax
mov eax, 0x2308
mov dword fs:[0], esp
call fcn.004218a0
mov eax, dword [0x52886c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2324]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [esp + 0x232c]
push ecx
mov ecx, dword [esp + 0x2334]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.0044b000
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4beea4]
xor dl, 0x7d
mov byte [esp + eax + 0xc44], dl
inc eax
cmp eax, 0x16d1
jb 0x448907
lea eax, [esp + 0xc44]
mov ecx, esi
push eax
mov byte [esp + 0x2319], bl
call fcn.0043dc40
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x448958
cmp dword [edi + 0x40], ebx
je 0x448958
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4c0578]
xor dl, 0x7d
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0xc18
jb 0x44895a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0xc44], bl
call fcn.0043dc40
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x4489a6
cmp dword [edi + 0x40], ebx
je 0x4489a6
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
push str.On_Error_Resume_Next:QMEngine.SetRunTimeParam__u:QMRoutine.SetRunTimeParam__u:On_Error_Goto_0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2324], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x2330], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.0043de60
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x448a18
cmp dword [edi + 0x40], ebx
je 0x448a18
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x2320], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2320], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2318]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2314
ret
Function at 0x44a600
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3598
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0
mov edi, edx
mov eax, dword [esi + 0x30d8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a755
test edi, edi
jne 0x44a779
lea ecx, [esi + 0x31f8]
push edi
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::CSingleLock
or ebx, 0xffffffff
lea ecx, [esp + 0xc]
push ebx
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CSingleLock::Lock
mov edi, dword [esi + 4]
lea ecx, [esp + 0xc]
shl edi, 0x1d
sar edi, 0x1f
call sub.MFC42.DLL_CSingleLock::Unlock
test edi, edi
jne 0x44a748
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dx, word [esi + 0x313c]
push edx
call edi
test ah, 0x80
je 0x44a6e4
push 0x12
call edi
mov cl, byte [esi + 0x313e]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44a6e4
push 0x11
call edi
mov dl, byte [esi + 0x313e]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x44a6e4
push 0x10
call edi
mov cl, byte [esi + 0x313e]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
je 0x44a748
xor edx, edx
mov dx, word [esi + 0x30d4]
push edx
call edi
test ah, 0x80
je 0x44a76c
push 0x12
call edi
mov cl, byte [esi + 0x30d6]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44a76c
push 0x11
call edi
mov dl, byte [esi + 0x30d6]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x44a76c
push 0x10
call edi
mov cl, byte [esi + 0x30d6]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x44a76c
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CSingleLock::Unlock
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44a850
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b35e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea ebx, [esi + 0x31f8]
lea ecx, [esp + 0x14]
push ebx
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esi + 0x30e4]
lea ecx, [esp + 0x10]
mov edi, eax
shl eax, 0x1e
shl edi, 0x1d
sar eax, 0x1f
sar edi, 0x1f
mov ebp, eax
call sub.MFC42.DLL_CSingleLock::Unlock
test edi, edi
mov edi, dword [esp + 0x38]
je 0x44a8cf
mov eax, dword [esi + 0x30dc]
push 0
push edi
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
je 0x44a8dc
test edi, edi
je 0x44a8dc
cmp edi, dword [esi + 0x24]
jne 0x44a91d
mov ecx, dword [esi + 0x20]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [esi + 0x30fc]
mov eax, dword [esi + 0x30f8]
test eax, eax
je 0x44a9be
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44a9be
cmp dword [eax + 8], ecx
je 0x44a915
mov eax, dword [eax]
test eax, eax
jne 0x44a905
jmp 0x44a9be
test eax, eax
je 0x44a9be
neg ebp
mov ecx, dword [esi + 0x30dc]
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 3
push ebp
push edi
push 0x4c8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.0044a9f0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
or al, 8
mov dword [esi + 4], eax
call sub.MFC42.DLL_CSingleLock::Unlock
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esi + 4]
test al, 4
jne 0x44a9b0
shl eax, 0x1c
sar eax, 0x1f
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CSingleLock::Unlock
test edi, edi
je 0x44a9be
push 0x64
call ebp
jmp 0x44a964
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x44ae40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b3678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004ac4bc
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x4c1630
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44b020
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44b033
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44b0b8
dec eax
je 0x44b09d
dec eax
jne 0x44b0fe
call fcn.00456a20
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 6
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00457190
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 3
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx esi, di
test esi, esi
jbe 0x44b0fe
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 8]
push 0x1c
push edx
push 1
mov dword [esp + 0x1c], 0
call fcn.00453700
add esp, 0xc
push 0x32
call edi
lea eax, [esp + 8]
push 0x1c
push eax
push 1
mov dword [esp + 0x1c], 2
call fcn.00453700
add esp, 0xc
dec esi
jne 0x44b0c5
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x44b110
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44b123
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44b1a8
dec eax
je 0x44b18d
dec eax
jne 0x44b1c5
call fcn.00456a20
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 7
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00457190
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 4
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x44b1c5
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00453700
add esp, 0xc
dec esi
jne 0x44b1b1
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44b1d0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44b1e3
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 2
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x44b270
dec eax
je 0x44b255
dec eax
jne 0x44b28d
call fcn.00456a20
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 8
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.00457190
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 5
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x44b28d
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00453700
add esp, 0xc
dec esi
jne 0x44b279
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44b9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b3720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_4
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x44bacb
mov ecx, dword [esp + 0x30]
push 0x20
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x30]
push esi
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_2
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x44bad9
push 0x528278
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x24]
push ecx
add edx, 0x30
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x34], bl
call fcn.00412030
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x44bc30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
push str.CStr_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.004212e0
push 0x50a00c
lea ecx, [ebp - 0x14]
call fcn.004212e0
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x30]
push eax
call fcn.0043e2c0
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x44bccd
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x18]
push str.Thread:_d____s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [ebp - 0x18]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x40], ebx
je 0x44bd2b
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x24]
inc ecx
push eax
mov eax, dword [edx + 0x40]
push ecx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44ca30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b3960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp]
mov byte [esp + 0x14], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44cac7
push 0x50816c
lea edx, [esp + 0xc]
push 0x528308
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0043da10
lea ecx, [esp]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44ef49
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b3b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004ac4bc
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x4c1d78
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ecx
mov eax, dword [str.QMDispatch.QMLibrary.Inner]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x52f3d4], ebx
jne 0x44f02c
push 0x3088
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x44efbe
mov ecx, eax
call fcn.0043d0a0
jmp 0x44efc0
xor eax, eax
push 0x7fffffff
mov ecx, eax
mov byte [esp + 0x30], bl
mov dword [0x52f3d4], eax
call fcn.0043e770
mov ecx, dword [0x52f3d4]
push str.VBScript
call fcn.0043d410
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push str.F2730835_2229_445E_97C7_l3F76l2771DA
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea ecx, [esp + 0x10]
push str.Dim__s_:_Sub_Set__Variable___var_value_:__s__var_value:_End_Sub
push ecx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x18]
mov ecx, dword [0x52f3d4]
add esp, 0x10
push edx
call fcn.0043dc40
lea ecx, [esp + 8]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, esi
mov word [esp + 0x18], 2
call fcn.00450650
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret