joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100132a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0xe4]
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x100133df
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x100133df
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x100133df
push 0x14
push 0x14
lea ecx, [ebp - 0x38]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COSize::constructor_int__int_]
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov dword [ebp - 4], 0
push str.Kernel32.dll
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
je 0x1001334f
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001334c
lea ecx, [ebp - 0x18]
push ecx
call eax
push esi
call edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013382
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push eax
mov edx, ebx
call section..text
add esp, 4
push str.Kernel32.dll
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100133af
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100133ac
push dword [ebp - 0x18]
call eax
push esi
call edi
cmp dword [ebx], 0
jne 0x100133c9
push str.IDB_SM_SOFTWARE_DEFAULT_ICO_20
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::ORES_TABLE____cdecl_OUI::ORES_TABLE::GetResTable_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_struct_OUI::IImage____thiscall_OUI::ORES_TABLE::LoadImageW_wchar_t_const__]
mov dword [ebx], eax
cmp dword [ebp - 0x1c], 8
jb 0x100133db
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x100133e1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 4
Function at 0x10015a90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x10065ca0]
add esp, 0xc
test al, 1
jne 0x10015adf
or eax, 1
push 0x10045810
mov dword [0x10065ca0], eax
call fcn.1003daa7
add esp, 4
push str.cfgisafe.dat
push 0x10065890
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015b4e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
push 0
push str.logreport
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret

Function at 0x10015b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x10065ca0]
add esp, 0xc
test al, 1
jne 0x10015bcf
or eax, 1
push 0x10045810
mov dword [0x10065ca0], eax
call fcn.1003daa7
add esp, 4
push str.cfgisafe.dat
push 0x10065890
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015c50
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10015c50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0xc
lea ecx, [ebp - 0x418]
call fcn.1001eac0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x10018330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [ebp - 0x218], 0
jne 0x100183a1
xor ecx, ecx
jmp 0x100183bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100183b0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp + 8]
call fcn.1000ba20
cmp eax, 0xffffffff
jne 0x10018410
cmp dword [ebp + 0x18], 0
je 0x10018410
xor eax, eax
cmp dword [0x10065d48], eax
je 0x10018409
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.1000d980
call fcn.10017680
test eax, eax
setne bl
jmp 0x10018412
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x10018424
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x10018440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x230], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [ebp - 0x210], 0
jne 0x100184a1
xor ecx, ecx
jmp 0x100184bf
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100184b0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.1000ba20
cmp eax, 0xffffffff
jne 0x1001857f
cmp dword [edi + 0x10], 0
je 0x1001857f
cmp dword [0x10065d48], 0
je 0x10018561
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.1000d980
call fcn.10017680
test eax, eax
je 0x10018561
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x10018561
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x10018561
mov edx, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
mov ecx, eax
call dword [edx + 0x18]
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.1000d740
lea ecx, [ebp - 0x228]
call fcn.10003040
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret
push 0x10047900
mov ecx, esi
call fcn.1000de10
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x10047900
mov ecx, esi
mov word [esi], ax
call fcn.1000dd10
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x1001b060
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004265e
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1001b12d
mov eax, dword [0x10065d08]
test al, 1
jne 0x1001b0f0
or eax, 1
mov dword [0x10065d08], eax
mov dword [ebp - 4], 0
call fcn.10020e70
push 0x10045920
call fcn.1003daa7
add esp, 4
cmp dword [0x10065d04], 8
mov eax, 0x10065cf0
cmovae eax, dword [0x10065cf0]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001b129
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1001b12d
mov al, 1
jmp 0x1001b12f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001b4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10062070]
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 0x1001b566
lea eax, [ebp - 0x20c]
push ecx
push eax
push ecx
mov edx, 0x104
mov ecx, esi
call fcn.10003110
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
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 0x1001b5b1
lea eax, [ebp - 0x414]
jmp 0x1001b543
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e640
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10042906
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10062070]
xor eax, esp
mov dword [esp + 0x240], eax
push esi
mov eax, dword [0x10062070]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
push esi
mov dword [esp + 0x25c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e7c1
push 1
push 0x10048274
lea ecx, [esp + 0x2c]
call fcn.1000b900
cmp word [esi], 0
jne 0x1001e6c8
xor ecx, ecx
jmp 0x1001e6df
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e6d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.1000b900
push 1
push 0x10048274
lea ecx, [esp + 0x2c]
call fcn.1000b900
push 0
push 0x24
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp word [esp + 0x3c], ax
jne 0x1001e72d
xor ecx, ecx
jmp 0x1001e743
lea ecx, [esp + 0x3c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e734
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call fcn.1000dd10
push 9
push str.explorer
lea ecx, [esp + 0x14]
mov byte [esp + 0x260], 1
call fcn.1000b900
cmp dword [esp + 0x38], 8
push 1
lea ecx, [esp + 0x28]
cmovae ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], 8
push 0
push ecx
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], 8
jb 0x1001e7aa
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [esp + 0x38], 8
jb 0x1001e7d5
push dword [esp + 0x24]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 4
Function at 0x1001eac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10062070]
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 0x1001eaf3
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 1
xorps xmm0, xmm0
push 0x100476b4
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.100030a0
add esp, 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
push str.logreport
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001eb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001eb98
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
xor eax, eax
push dword [ebp + 0x10]
xorps xmm0, xmm0
push str._I64d
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.100030a0
add esp, 0x14
lea eax, [ebp - 0x2c]
push esi
push eax
push edi
push str.freq
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001ec00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ec3a
or eax, 0xffffffff
pop edi
or edx, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x54]
push esi
push 0x50
push eax
push 0
push edi
push str.freq
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xffffffff
je 0x1001eca0
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ec70
sub ecx, edx
sar ecx, 1
je 0x1001eca0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi64]
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
xor edx, edx
pop esi
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1001f220
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10042b38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x10062070]
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 0x1001f080
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.1001f7a0
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
Function at 0x10021150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10062070]
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 [0x10065d08]
mov esi, 0x409
mov dword [ebp - 0x7c], 0
test al, 1
jne 0x100211ba
or eax, 1
mov dword [0x10065d08], eax
mov dword [ebp - 4], 0
call fcn.10020e70
push 0x10045920
call fcn.1003daa7
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x10065cd8
call fcn.100210e0
cmp dword [eax + 0x14], 8
jb 0x100211d1
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 0x100211f5
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100212a2
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 0x1002124c
mov esi, dword [ebp - 0x88]
jmp 0x10021350
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 0x10021350
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
mov esi, eax
jmp 0x10021350
mov eax, dword [0x10065d08]
test al, 1
jne 0x100212d3
or eax, 1
mov dword [0x10065d08], eax
mov dword [ebp - 4], 1
call fcn.10020e70
push 0x10045920
call fcn.1003daa7
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x10065cd8
call fcn.100210e0
cmp dword [eax + 0x14], 8
jb 0x100212ea
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 0x10021308
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x10021359
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.1003d966
mov esp, ebp
pop ebp
ret
Function at 0x10021380
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 0x10021395
call fcn.10021150
mov esi, eax
mov edi, 0x1004af94
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx ebx, ax
xor eax, eax
mov ecx, 0x1004af90
lea ebx, [ebx]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x100213b9
lea edi, [ecx + 4]
cmp edx, esi
je 0x100213d2
add ecx, 0x54
inc eax
cmp ecx, 0x1004f3d0
jl 0x100213b0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0x54
pop edi
pop esi
add eax, 0x1004af94
pop ebx
pop ebp
ret 4

Function at 0x100217d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10021801
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.1003f370
mov dword [esp + 0xc], eax
test esi, esi
jne 0x10021809
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x10051438
lea ecx, [esp + 8]
call fcn.10021670
int3

Function at 0x10021a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042f40
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10062070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100119c0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x10021acb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4