joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e7a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1060
call fcn.00423c20
mov eax, dword [esp + 0x1064]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
push edi
push 0x54d294
push eax
call esi
mov ebp, eax
xor edi, edi
add esp, 8
cmp ebp, edi
jne 0x42e7e6
push str.Error_opening_ciphertext_file_
call sym.mymacro.exe_antlr3dfaspecialTransition
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret
mov ecx, dword [esp + 0x1078]
push 0x54dad0
push ecx
call esi
mov ebx, eax
add esp, 8
cmp ebx, edi
jne 0x42e816
push str.Error_opening_plaintext_file_
call sym.mymacro.exe_antlr3dfaspecialTransition
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret
push 0x3e8
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x42e842
push str.Out_of_memory__n
call sym.mymacro.exe_antlr3dfaspecialTransition
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
push edx
mov edx, dword [esp + 0x1080]
mov dword [esp + 0x18], edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0045e4f0
push ebp
push 0x3e8
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
mov edi, eax
mov al, byte [ebp + 0xc]
add esp, 0x10
test al, 0x20
jne 0x42e8d0
push 0
push 0x3e8
push esi
lea ecx, [esp + 0x24]
call fcn.0045f030
push ebx
push edi
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
mov al, byte [ebx + 0xc]
add esp, 0x10
test al, 0x20
jne 0x42e8e8
mov al, byte [ebp + 0xc]
push ebp
test al, 0x10
jne 0x42e900
push 0x3e8
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
mov edi, eax
mov al, byte [ebp + 0xc]
add esp, 0x10
test al, 0x20
je 0x42e888
push str.Error_reading_ciphertext_
call sym.mymacro.exe_antlr3dfaspecialTransition
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret
push str.Error_writing_plaintext_
call sym.mymacro.exe_antlr3dfaspecialTransition
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret
mov edi, dword [sym.imp.MSVCRT.dll_fclose]
call edi
push ebx
call edi
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret

Function at 0x42eb40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af98f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0042e940
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.0042ea20
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.0042e9c0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4317c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b0138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov eax, dword [esp + 0x1c]
push 0x54d294
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x431815
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call ebp
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
cmp eax, 0x1000
jg 0x431857
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push edi
push 0
push 0x1000
push esi
call ebp
mov al, byte [esi + 0xc]
add esp, 0xc
xor edi, edi
test al, 0x10
jne 0x431887
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push esi
call ebx
not eax
add edi, eax
mov al, byte [esi + 0xc]
add esp, 4
test al, 0x10
je 0x431875
pop ebx
push 0
push 0x1c
push esi
call ebp
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x2c]
add esp, 0x20
xor edx, edx
cmp eax, edi
sete dl
lea ecx, [esp + 0x20]
mov esi, edx
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x432bc6
Capabilities:
Set global application hook

Disassembly:
push 0xffffffffffffffff
push 0x4b0363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0042322e
mov dword [esi], 0x4b67f0
lea ecx, [esi + 0x40]
mov dword [esp + 0x10], 0
call fcn.0042322e
mov dword [esi], 0x4db870
mov eax, dword [0x55bd58]
test eax, eax
mov byte [esp + 0x10], 1
jne 0x432c32
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x432d10
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x55bd58], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x433fe0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b053b
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.00423c20
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.uservar.ini
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
mov dword [esp + 0x102c], ebx
push eax
call fcn.00450b50
mov ecx, eax
call fcn.00451370
push eax
lea ecx, [esp + 0x1c]
push 0x55b878
push ecx
mov dword [esp + 0x1034], 2
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x1038]
lea edx, [esp + 0x24]
push 0x1000
push edx
push str.blank_value
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0xc]
push str.blank_value
push edx
mov dword [esp + 0x1030], 3
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4340db
lea eax, [esi + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x1038]
mov edi, 1
cmp eax, ebx
jne 0x434125
cmp dword [esi + 0x14], edi
jne 0x434125
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esi + 0x34]
add esp, 4
cmp eax, ecx
jb 0x434115
push 0x55b7e8
lea ecx, [esp + 0x10]
call fcn.004232c4
jmp 0x434125
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0xc]
lea eax, [edx + eax*4]
push eax
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0x1030]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1020]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1020
ret 0xc
Function at 0x434270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b05f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 8]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0xa
mov dword [esi + 0x58], 0x4db94c
push 0x55b7e8
mov ecx, ebp
mov byte [esp + 0x20], 8
mov dword [esi], 0x4d9a50
call fcn.004232c4
push 0x55b7e8
mov ecx, ebx
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0xc]
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0x10]
call fcn.004232c4
mov ebx, 1
push 0x55b7e8
lea ecx, [esi + 0x48]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], ebx
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0x54]
mov dword [esi + 0x38], ebx
mov word [esi + 0x34], di
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.004232c4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434a00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x55b7e8
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 8]
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0xc]
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0x10]
call fcn.004232c4
push 0x55b7e8
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.004232c4
mov dword [esi + 0x38], 1
mov word [esi + 0x34], bx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov edi, dword [esi + 0x4c]
cmp edi, ebx
je 0x434b19
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x434b16
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x434b16
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x55b7e8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x434ae3
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x4c], ebx
mov edi, dword [esi + 0x50]
cmp edi, ebx
je 0x434baf
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x434bac
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x434bac
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x55b7e8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x434b79
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x50], ebx
push 0x55b7e8
lea ecx, [esi + 0x54]
call fcn.004232c4
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x434bcf
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x74], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b10a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43c463
mov eax, dword [esi]
jmp 0x43c465
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x43c481
push 0x54ee38
push edi
push eax
call fcn.004ab176
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x43c4e1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43c4e1
mov eax, dword [esi]
test eax, eax
je 0x43c4c8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43c4d8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x43c5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b10e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43c5e3
mov eax, dword [esi]
jmp 0x43c5e5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x43c606
push 0x54ee38
push edi
push eax
call fcn.004ab176
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x43c666
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43c666
mov eax, dword [esi]
test eax, eax
je 0x43c64d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43c65d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x43d410
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4b13c4
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_2
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_2
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_2
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], 0x4b7448
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4b7448
call fcn.00423798
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], 0x4b7448
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4b7448
call fcn.00423798
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 0x443160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b169b
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.00443280
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], 0x55b7e8
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 0x44320b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x443202
cmp al, 0xff
je 0x443202
dec al
mov byte [ecx], al
jmp 0x44320b
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.004a12c0
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 0x443257
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44324e
cmp al, 0xff
je 0x44324e
dec al
mov byte [ecx], al
jmp 0x443257
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 0x444759
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b17fb
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.004aad26
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x4dc3d8
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 [0x55d148], ebx
jne 0x44483c
push 0x3088
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x4447ce
mov ecx, eax
call fcn.0043a190
jmp 0x4447d0
xor eax, eax
push SysReAllocString
mov ecx, eax
mov byte [esp + 0x30], bl
mov dword [0x55d148], eax
call fcn.0043b7b0
mov ecx, dword [0x55d148]
push str.VBScript
call fcn.0043a500
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
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 [0x55d148]
add esp, 0x10
push edx
call fcn.0043ad30
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.00447220
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x444940
Capabilities:
Access peb ldr_data
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4b1840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
xor ebx, ebx
mov byte [eax + 0x14], bl
call sub.MFC42.DLL_COleObjectFactory::RegisterAll
push 1
call sub.MFC42.DLL_COleObjectFactory::UpdateRegistryAll
push SysReAllocStringLen
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x55b7e8
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x8c], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.CLSIDEBEB87A6_E151_4054_AB45_A6E094C5334BLocalServer32_
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004504c0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x58]
mov dword [esp + 0x7c], 1
push eax
push 0x20006
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x34]
mov byte [esp + 0x7c], 2
push edx
push str.QMDispatch.QMLibrary
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push 0x53d7d0
push 1
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x444a33
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4da618
push eax
call dword [edx]
lea edx, [esp + 0x24]
mov byte [esp + 0x7c], 3
push edx
call sub.MFC42.DLL_AfxVariantInit
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
mov byte [esp + 0x7c], 4
je 0x444ac9
push 3
push 0x4446d0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov esi, eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x400
lea edx, [esp + 0x1c]
push 1
mov dword [esp + 0x20], str.Initialize
mov ecx, dword [eax]
push edx
push 0x53d7c0
push eax
mov byte [esp + 0x94], 5
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x444aaf
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00432b60
lea edx, [esp + 0x44]
mov byte [esp + 0x7c], 4
push edx
call edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x444ac9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x444adf
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x24]
push eax
call edi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x7c], 2
cmp eax, ebx
je 0x444af9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7c], 1
cmp eax, ebx
je 0x444b0c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00450640
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret