joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 4
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x20019
xor esi, esi
push esi
push eax
push SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x438c43
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438c35
lea esi, [eax + 1]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x438c4c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x43d4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5800e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042afc0
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
push eax
lea ecx, [ebp + 8]
call fcn.0042afc0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push 5
push ebx
push edx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jb 0x43d503
mov bl, 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d522
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43de10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581162
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x5b7a18
mov ecx, esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], 0
call fcn.00401bf0
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], 1
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x43def2
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43def2
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, 1
jne 0x43decf
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43deb7
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.00401ea0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
push eax
push str.__GetDeskTopFolderPath______s_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x43df30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581121
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
push 0x5b7a18
call fcn.00401bf0
mov dword [ebp - 4], ebx
mov edi, 1
mov dword [ebp - 0x14], edi
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43df92
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edi
mov eax, dword [esi - 8]
mov ecx, edi
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43dfc5
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov esi, dword [ebp - 0x10]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00557e86
add esp, 8
cmp eax, ebx
jl 0x43e050
cmp eax, dword [esi - 8]
jg 0x43e050
mov dword [esi - 0xc], eax
cmp edi, ebx
mov edi, dword [ebp + 8]
mov byte [eax + esi], bl
je 0x43e001
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call fcn.00401fb0
mov edx, dword [edi]
push edx
push str.__GetTempFolderPath______s_n
push 0x40000
push 0x5eb054
call fcn.0042e040
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e03a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402040
int3

Function at 0x43e200
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [esi]
test eax, eax
setne bl
movzx eax, bl
push eax
push ecx
push str.__file::IsExist___s_____d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x14
test bl, bl
jne 0x43e243
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
jmp 0x43e245
mov bl, 1
mov eax, dword [esi]
movzx edx, bl
push edx
push eax
push str.__CreateFolder___s_____d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x14
mov al, bl
pop ebx
ret
Function at 0x43e3d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
mov ecx, dword [edi]
push ebx
push 1
push eax
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x43e3ed
mov bl, 1
jmp 0x43e445
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
push ecx
push str.__Error____:_Copy___s____s___n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov edx, dword [esi]
mov eax, dword [edi]
push edx
push eax
push str.__Because__:_CopyFile___s____s___TRUE___n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov ecx, dword [ebp - 4]
push ecx
push str.__Because__:_::GetLastError______x_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x38
mov eax, dword [esi]
mov ecx, dword [edi]
movzx edx, bl
push edx
push eax
push ecx
push str.__CFileOperator::Copy___s____s_____d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x18
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e470
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5858b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 1
call fcn.004655e9
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x43e4bb
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
push ecx
mov byte [ebp - 4], 1
call fcn.0043e060
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401fb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e50a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], edi
sete al
cmp al, 1
jne 0x43e52c
push 0x5d89ec
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], str.strDeleteFolder.IsEmpty_____true
call fcn.0055b038
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne bl
movzx edx, bl
push edx
push esi
push str.__file::IsExist___s_____d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x14
cmp bl, 1
jne 0x43e56c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0043e610
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 4], edi
jmp 0x43e5b4
mov bl, byte [ebp - 0x11]
movzx edx, bl
push edx
push str.__CFileOperator::DeleteFirmupdateToolInTempFolder______d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e5f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43e830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f3e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
call fcn.004655e9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43e872
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x43e8a8
push 0x105
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov esi, dword [ebp - 0x10]
push esi
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00557e86
add esp, 8
test eax, eax
js 0x43e91e
cmp eax, dword [esi - 8]
jg 0x43e91e
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
test edi, edi
js 0x43e8e5
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fb0
mov bl, 1
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402040
int3
Function at 0x43ea00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583590
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ea4c
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ea79
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x14]
mov bl, 2
push ecx
mov byte [ebp - 4], bl
call fcn.0043e930
cmp al, 1
jne 0x43eb23
push 1
push 0x5bc360
lea ecx, [ebp - 0x14]
call fcn.0042bce0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00404a10
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43eaf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne bl
movzx ecx, bl
push ecx
push esi
push str.__file::IsExist___s_____d_n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x14
cmp bl, 1
jne 0x43eb23
mov byte [ebp - 0xd], bl
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43eb43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43eb66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43eb8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43ebb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583550
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ebf7
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ec24
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 2
call fcn.0043e930
cmp al, 1
jne 0x43eca1
push 1
push 0x5bc360
lea ecx, [ebp - 0x10]
call fcn.0042bce0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00404a10
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ec97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ecc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ece4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ed0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x444be0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57db70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
je 0x444c28
push 0x5d8910
lea eax, [ebp - 0x11]
push eax
mov byte [ebp - 0x11], bl
call fcn.0055b038
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x444c33
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x444c54
push 0x5d8910
lea ecx, [ebp - 0x12]
push ecx
mov byte [ebp - 0x12], bl
call fcn.0055b038
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x444c9a
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
push 0x5d8910
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], bl
call fcn.0055b038
mov byte [ebp - 0x14], 0
mov eax, 0x444c85
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444cb0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 4], 0
jne 0x444cd5
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x444cc7
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x444d16
mov ecx, dword [esi + 0x24]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push eax
call edi
test eax, eax
je 0x444d10
cmp eax, 0x80
jne 0x444d01
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
test eax, eax
je 0x444d0a
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
pop edi
pop esi
mov al, bl
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret

Function at 0x447420
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0x5b7a18
push str.Shell_TrayWnd
push 0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call edi
test eax, eax
je 0x447499
push 0x5b7a18
push str.TrayNotifyWnd
push 0
push eax
call edi
test eax, eax
je 0x447499
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esi + 4], eax
cmp dword [esi], 0
jne 0x4474b6
cmp dword [esi + 4], 0
jne 0x4474b6
lea edi, [ebp - 0xc]
call fcn.004474d0
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop edi
call fcn.005578df
mov esp, ebp
pop ebp
ret
Function at 0x448000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
push str.____________________CSpeechAPI::InitSapi_____________________n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
push str.InitSapi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi + 0x10], 1
jne 0x448052
push 0x5bccdc
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x9c
lea eax, [ebp - 0xa8]
push 0
push eax
mov byte [ebp - 0xc], 0
call fcn.0055ade0
add esp, 0xc
lea esi, [ebp - 0xa8]
mov dword [ebp - 8], 0
call fcn.00436120
cmp eax, 7
je 0x448089
cmp dword [ebp + 8], 1
jne 0x4480b3
cmp dword [ebp + 8], 2
je 0x4480b3
push str.__Win2000_OS____n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
mov ecx, edi
call fcn.00448570
mov byte [edi + 4], 1
jmp 0x4480d5
push str.__XP_or_Vista_OS_____n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
mov eax, edi
call fcn.004482b0
mov byte [edi + 4], 4
push 0x5bccdc
mov esi, eax
push 0x40000
push 0x5eb054
mov dword [edi + 0x10], esi
call fcn.0042e040
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4482b0
Capabilities:
Print debug messages

Disassembly:
push esi
push str.______CSpeechAPI::InitSapi_5_______n
push 0x40000
push 0x5eb054
mov esi, eax
call fcn.0042e040
add esp, 0xc
push 0
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x448316
push str.__CoInitialize_NULL__is_FAILED______n
push 0x40000
push 0x5eb054
call fcn.0042e040
push str.__________n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x18
push str.__CoInitialize_NULL__is_FAILED______n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
ret
push esi
push 0x590428
push 0x17
push 0
push 0x590868
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x448352
push str.__CoCreateInstance___is_SUCCEEDED______n
push 0x40000
push 0x5eb054
mov esi, 1
call fcn.0042e040
add esp, 0xc
push str.__CoCreateInstance___is_SUCCEEDED______n
jmp 0x448370
push str.__CoCreateInstance___is_FAILED______n
push 0x40000
push 0x5eb054
xor esi, esi
call fcn.0042e040
add esp, 0xc
push str.__CoCreateInstance___is_FAILED______n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.__________n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x4483a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ea50
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.______CSpeechAPI::Speech_5_______n
push 0x40000
push 0x5eb054
mov dword [ebp - 4], 0
call fcn.0042e040
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x4484e5
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0
push 2
push 0
push eax
call edx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax - 0xc]
push 0
push 0
push edi
push eax
push 0
push 3
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
push ebx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x4484e0
mov eax, dword [ebp - 0x10]
push ebx
push esi
push edi
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
push 1
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.__Speak______n
push 0x40000
push 0x5eb054
call fcn.0042e040
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10]
push str.__Speak____
push edx
call fcn.00401790
push 0x5b993c
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00404ad0
mov eax, dword [eax]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4484bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x448510
call fcn.00404ff0
push str.__m_pVoice__NULL__n
push 0x40000
push 0x5eb054
call fcn.0042e040
push 0x5bcee8
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x18
push str.___________n
push 0x40000
push 0x5eb054
call fcn.0042e040
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44854d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8