joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b049
Capabilities:
Delete file
Get disk size
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28bc
call fcn.1000d350
push edi
mov byte [ebp - 0x28a8], 0
mov byte [ebp - 0x28b0], 0
mov byte [ebp - 0x28a0], 0
mov ecx, 0xa27
xor eax, eax
lea edi, [ebp - 0x289f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x100ffcdc], 0xffffffff
jne 0x1000b0f5
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [0x100ffcd4], cl
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..A:
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x100ffcdc], eax
mov edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [0x100ffcd8], al
lea ecx, [ebp - 0x28ac]
push ecx
lea edx, [ebp - 0x28a4]
push edx
lea eax, [ebp - 0x28b4]
push eax
lea ecx, [ebp - 0x28bc]
push ecx
push 0x100ffcd8
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [ebp - 0x28b4]
imul edx, dword [ebp - 0x28bc]
mov dword [0x10102de0], edx
push 0
push 0
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28b8], eax
cmp dword [ebp - 0x28b8], 0xffffffff
jne 0x1000b133
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000b019
add esp, 4
mov al, 1
jmp 0x1000b1fd
lea ecx, [ebp - 0x28b0]
push ecx
lea edx, [ebp - 0x28a8]
push edx
mov eax, dword [ebp - 0x28b8]
push eax
mov ecx, dword [0x10102de0]
push ecx
mov edx, dword [0x100ffcdc]
push edx
call fcn.1000abc6
add esp, 0x14
and eax, 0xff
test eax, eax
jne 0x1000b17b
mov eax, dword [ebp - 0x28b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000b1fd
mov ecx, dword [ebp - 0x28b8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28a8]
and edx, 0xff
test edx, edx
je 0x1000b1f7
lea eax, [ebp - 0x28a0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000aef6
add esp, 8
lea edx, [ebp - 0x28a0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000b1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000b019
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28a0]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov al, 1
jmp 0x1000b1fd
mov edx, dword [ebp - 0x28b0]
and edx, 0xff
test edx, edx
jne 0x1000b1f7
mov byte [0x10102df3], 1
mov al, byte [ebp - 0x28a8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100018a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100130d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10025070]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x10025070]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
push eax
push 0x1001614c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.10001fd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0
call fcn.1000ee90
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x20], 8
mov edi, eax
jb 0x1000192b
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x10001a0d
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x2021f
push 0
push 0
push 0
push str.SoftwareiSafe
push 0x80000002
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
lea eax, [esp + 0x34]
push eax
push 4
push 0
mov dword [esp + 0x58], 1
push str.Language
push dword [esp + 0x38]
mov dword [esp + 0x48], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x10026974]
test al, 1
jne 0x100019d4
or eax, 1
push 0x10014a40
mov dword [0x10026974], eax
mov dword [0x10026968], 0x10016370
mov dword [0x1002696c], 0
mov dword [0x10026970], 0
call fcn.10010d73
add esp, 4
mov ecx, dword [0x1002696c]
test ecx, ecx
je 0x100019e7
mov eax, dword [ecx]
push 0
push 4
call dword [eax + 4]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100019fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10001a0d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 4
Function at 0x10001a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, 0x1f4
sub eax, 0
je 0x10001a62
dec eax
je 0x10001a5b
dec eax
jne 0x10001a67
xor esi, esi
jmp 0x10001a67
mov esi, 0x40000000
jmp 0x10001a67
mov esi, 0x1f400000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.1000f400
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push str.cfgisafe.dat
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x438]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x438]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001b24
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10001b24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
sub esp, 8
lea ecx, [ebp - 0x43c]
call fcn.10008f90
test eax, eax
jne 0x10001b45
push str.SetDownloadProt_Err.
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
cmp dword [ebp - 0x218], 8
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x10001b67
push dword [ebp - 0x22c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 4
Function at 0x10001b80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10013098
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10025070]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x10025070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x100276b8]
test al, 1
jne 0x10001bd2
or eax, 1
push 0x10014a80
mov dword [0x100276b8], eax
call fcn.10010d73
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
cmp word [0x100272a8], ax
jne 0x10001bf6
xor ecx, ecx
jmp 0x10001c0f
mov ecx, 0x100272a8
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001c00
sub ecx, edx
sar ecx, 1
push ecx
push 0x100272a8
lea ecx, [esp + 0x10]
call fcn.10001fd0
push 1
push 0x10016148
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.10001df0
push 0xc
push str.feedback.exe
lea ecx, [esp + 0x10]
call fcn.10001df0
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10001c81
cmp dword [esp + 0x1c], 8
push 1
push 0
push 0
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1c], 8
jb 0x10001c95
push dword [esp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret

Function at 0x10001cb0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::GetLength_void_const]
lea ebx, [eax + 1]
lea edx, [ebx + ebx]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x10001cea
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
push eax
push ebx
push esi
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100023a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x210]
push ecx
push eax
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push str.GlobalSUSPENDWND_BB0D08B2_A907_45ec_A04A_8A6ADD1BEA56
push str._s__u
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x20
lea ecx, [ebp - 0x21c]
xor esi, esi
call fcn.1000f5a0
test eax, eax
je 0x10002455
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x10002455
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x218], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000247e
test esi, esi
je 0x1000246d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10002490
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.10010bb6
mov esp, ebp
pop ebp
ret
Function at 0x100024b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1000f400
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push str.cfgisafe.dat
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x434]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
call esi
test eax, eax
jne 0x10002583
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10002583
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x434]
push eax
call esi
test eax, eax
je 0x100025c3
lea eax, [ebp - 0x434]
push eax
push 0x1f4
push str.junkfilemon
push str.tray
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x100025b5
lea esi, [eax + 2]
jmp 0x100025c5
cmp eax, 0x40000000
jne 0x100025c3
mov esi, 1
jmp 0x100025c5
xor esi, esi
cmp dword [ebp - 0x214], 8
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x100025e7
push dword [ebp - 0x228]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10010bb6
mov esp, ebp
pop ebp
ret
Function at 0x10007db0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013b4c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.IDR_COPY
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COIDManager____cdecl_OUI::COIDManager::GetIDManager_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_unsigned_long_int___thiscall_OUI::COIDManager::GetResID_wchar_t_const__]
cmp dword [ebp + 8], eax
jne 0x10007e8e
lea ecx, [ebp - 0x94]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
xor eax, eax
push 0x7e
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call sub.MSVCR110.dll_memset
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.1000f030
add esp, 8
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COString____thiscall_OUI::COString::operator_wchar_t_const__]
mov eax, dword [0x10027758]
test al, 1
jne 0x10007e64
or eax, 1
push 0x10014ba0
mov dword [0x10027758], eax
call fcn.10010d73
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10007e7b
lea ecx, [ebp - 0x94]
call fcn.10001cb0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 4

Function at 0x10008f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea esi, [ecx + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008fc3
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
xor eax, eax
xorps xmm0, xmm0
push 0x10018034
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x2c]
push 0x28
push eax
movq qword [ebp - 0x2a], xmm0
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x1a], xmm0
movq qword [ebp - 0x12], xmm0
call fcn.100048b0
add esp, 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
push str.junkfilemon
push str.tray
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100090f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.main
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10009176
lea eax, [ebp - 0x20c]
push ecx
push eax
push ecx
mov edx, 0x104
mov ecx, esi
call fcn.10008f10
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str...configmain
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x100091c1
lea eax, [ebp - 0x414]
jmp 0x10009153
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.10010bb6
mov esp, ebp
pop ebp
ret 8
Function at 0x100094c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10025070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100276ec]
mov esi, 0x409
mov dword [ebp - 0x7c], 0
test al, 1
jne 0x1000952a
or eax, 1
mov dword [0x100276ec], eax
mov dword [ebp - 4], 0
call fcn.100091e0
push 0x10014aa0
call fcn.10010d73
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x100276bc
call fcn.10009450
cmp dword [eax + 0x14], 8
jb 0x10009541
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10009565
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x10009612
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x84], 4
call edi
test eax, eax
jne 0x100095bc
mov esi, dword [ebp - 0x88]
jmp 0x100096c0
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push eax
mov dword [ebp - 0x84], 0x28
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.language
push dword [ebp - 0x7c]
call edi
test eax, eax
jne 0x100096c0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
mov esi, eax
jmp 0x100096c0
mov eax, dword [0x100276ec]
test al, 1
jne 0x10009643
or eax, 1
mov dword [0x100276ec], eax
mov dword [ebp - 4], 1
call fcn.100091e0
push 0x10014aa0
call fcn.10010d73
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x100276bc
call fcn.10009450
cmp dword [eax + 0x14], 8
jb 0x1000965a
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
jb 0x10009678
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100096c9
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x88], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 0x80]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010bb6
mov esp, ebp
pop ebp
ret
Function at 0x100096f0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0xffffffff
jne 0x10009705
call fcn.100094c0
mov esi, eax
mov edi, 0x100180dc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx ebx, ax
xor eax, eax
mov ecx, 0x100180d8
lea ebx, [ebx]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x10009729
lea edi, [ecx + 4]
cmp edx, esi
je 0x10009742
add ecx, 0x54
inc eax
cmp ecx, 0x1001c518
jl 0x10009720
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0x54
pop edi
pop esi
add eax, 0x100180dc
pop ebx
pop ebp
ret 4

Function at 0x10009760
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0xffffffff
jne 0x10009775
call fcn.100094c0
mov esi, eax
mov edi, 0x100180dc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx ebx, ax
xor eax, eax
mov ecx, 0x100180d8
lea ebx, [ebx]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x10009799
lea edi, [ecx + 0x2c]
cmp edx, esi
je 0x100097b2
add ecx, 0x54
inc eax
cmp ecx, 0x1001c518
jl 0x10009790
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0x54
pop edi
pop esi
add eax, 0x10018104
pop ebx
pop ebp
ret 4

Function at 0x10009e00
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10013e78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x10025070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x10009c60
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.1000a380
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4