joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dda0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ee47c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
add ecx, 0x34
mov dword [esp + 0x14], 0
cmp dword [ecx + 0x14], 8
jb 0x1000ddf6
mov ecx, dword [ecx]
push ecx
lea eax, [esp + 0x40]
push 0x100fc274
push eax
call fcn.10039f20
push 0x100fc2ac
lea eax, [esp + 0x4c]
mov dword [esp + 0x2e0], 0
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10007140
add esp, 0x18
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x2d0], 2
lea ecx, [esp + 0x6c]
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push ecx
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000dea0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1000df34
test byte [esp + 0x6c], 0x10
je 0x1000df09
cmp word [esp + 0x98], 0x2e
je 0x1000df09
cmp dword [esp + 0x50], 8
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x5c]
push str._s_splaces.sqlite
push eax
call fcn.10039f20
add esp, 0x10
lea eax, [esp + 0x54]
mov byte [esp + 0x2d0], 3
push eax
lea ecx, [esp + 0x1c]
call fcn.10006ae0
mov byte [esp + 0x2d0], 2
cmp dword [esp + 0x68], 8
jb 0x1000df09
push dword [esp + 0x54]
call edi
add esp, 4
lea eax, [esp + 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000dea0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
cmp dword [esp + 0x38], 8
jb 0x1000df44
push dword [esp + 0x24]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
cmp dword [esp + 0x50], 8
mov word [esp + 0x24], ax
mov dword [esp + 0x34], eax
jb 0x1000df67
push dword [esp + 0x3c]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e340
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee4e9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1012d034]
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 dword [ebp - 0x48], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp + 0xc]
push eax
call fcn.10001a70
xor eax, eax
mov dword [ebp - 0x4c], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], 7
push eax
mov dword [ebp - 0x34], 0
call fcn.10001a70
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1003ad30
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x30], 8
jb 0x1000e408
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000e4e2
push 0
call dword [sym.imp.MSVCR120.dll__time64]
mov ecx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x48]
add esp, 4
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x1000e42e
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x2c]
push str._sDB__d.db
push eax
call fcn.10039f20
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp + 0xc]
push 0
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x20], 8
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
call fcn.10001a70
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1003ad30
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 3
setne bl
cmp dword [ebp - 0x30], 8
jb 0x1000e4bd
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x1000e4d4
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x1000e4d4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001a70
cmp dword [ebp - 0x18], 8
jb 0x1000e4e2
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x1000e4f0
push dword [ebp + 0xc]
call edi
add esp, 4
mov eax, esi
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.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000e510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edb30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.10001a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1003ad30
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
mov byte [ebp - 4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x1000e5a2
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x1000e5d7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.ERR:File_not_exist__s
push 1
push 0x81
push 0x100fc3e0
push 0x100fc434
call fcn.100e1770
add esp, 0x18
xor esi, esi
jmp 0x1000e698
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.10001a70
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.1000e340
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x1000e637
cmp dword [esi + 0x14], 8
jb 0x1000e61c
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.10001910
cmp dword [ebp - 0x1c], 8
jb 0x1000e645
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x1000e656
mov eax, dword [esi]
jmp 0x1000e658
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100b5c40
add esp, 8
test eax, eax
je 0x1000e695
cmp dword [esi + 0x14], 8
jb 0x1000e671
mov esi, dword [esi]
push eax
push esi
push str.ERR:sqlite3_open16__s__fail_0x_x
push 1
push 0x8a
push 0x100fc4e0
push str.CFirefox::Open
call fcn.100e1770
add esp, 0x1c
xor esi, esi
jmp 0x1000e698
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x1000e6a6
push dword [ebp + 8]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1000f9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee679
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x1012d034]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x218], 0x100
lea eax, [ebp - 0x280]
push eax
call fcn.1000fbf0
mov esi, eax
push 0x100fc9b4
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10007140
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.10010d80
add esp, 4
push str.Main
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.10007230
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [ebp + 0xc]
add esp, 4
cmp eax, ebx
je 0x1000fa9c
cmp dword [ebp + 0x20], 8
jb 0x1000fa7f
push dword [ebp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
call fcn.10001910
cmp dword [ebp - 0x220], 8
jb 0x1000fab0
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x254], 8
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
jb 0x1000fae1
push dword [ebp - 0x268]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], 7
cmp dword [ebp - 0x238], 8
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
jb 0x1000fb12
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x26c], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x1000fb46
push dword [ebp - 0x280]
call esi
add esp, 4
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x21c]
push ecx
push 1
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000fb73
push 0x100fca1c
jmp 0x1000fbb4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push str.Install_Directory
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000fba1
push 0x100fca98
jmp 0x1000fbb4
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
mov ecx, edi
call fcn.10001f10
cmp dword [ebp + 0x20], 8
jb 0x1000fbc9
push dword [ebp + 0xc]
call esi
add esp, 4
mov eax, edi
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.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000fdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1012d034]
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]
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 0x100
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000fe45
push 0x100fcac4
jmp 0x1000fe86
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000fe73
push 0x100fcb0c
jmp 0x1000fe86
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.10001f10
cmp dword [ebp + 0x20], 8
jb 0x1000fe9f
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10010140
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x100fcc6c]
movdqu xmm0, xmmword [str.nss3.dll]
push ebx
push esi
push edi
mov word [ebp - 8], ax
mov edi, ecx
lea eax, [ebp - 0x238]
push eax
movdqu xmmword [ebp - 0x18], xmm0
call fcn.1000f7e0
cmp dword [ebp - 0x228], 0
je 0x100101eb
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x5c], eax
test eax, eax
jne 0x10010218
lea eax, [ebp - 0x220]
push eax
call ebx
xor bl, bl
cmp dword [ebp - 0x224], 8
jb 0x10010205
push dword [ebp - 0x238]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSS_Init
push eax
call esi
push str.PL_Base64Decode
push dword [edi + 0x5c]
mov dword [edi + 0x60], eax
call esi
push str.PK11SDR_Decrypt
push dword [edi + 0x5c]
mov dword [edi + 0x74], eax
call esi
push str.PK11_Authenticate
push dword [edi + 0x5c]
mov dword [edi + 0x6c], eax
call esi
push str.PK11_GetInternalKeySlot
push dword [edi + 0x5c]
mov dword [edi + 0x68], eax
call esi
push str.PK11_FreeSlot
push dword [edi + 0x5c]
mov dword [edi + 0x64], eax
call esi
push str.NSS_Shutdown
push dword [edi + 0x5c]
mov dword [edi + 0x70], eax
call esi
push str.SECITEM_ZfreeItem
push dword [edi + 0x5c]
mov dword [edi + 0x78], eax
call esi
cmp dword [edi + 0x60], 0
mov dword [edi + 0x7c], eax
je 0x100101eb
cmp dword [edi + 0x74], 0
je 0x100101eb
cmp dword [edi + 0x6c], 0
je 0x100101eb
cmp dword [edi + 0x68], 0
je 0x100101eb
cmp dword [edi + 0x64], 0
je 0x100101eb
cmp dword [edi + 0x70], 0
je 0x100101eb
cmp dword [edi + 0x78], 0
je 0x100101eb
test eax, eax
je 0x100101eb
lea eax, [ebp - 0x220]
push eax
call ebx
mov bl, 1
jmp 0x100101ed
Function at 0x10011df0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edec7
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
mov dword [ebp - 0x238], edi
call fcn.10003960
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
mov dword [edi], vtable.COpera.0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], eax
mov word [edx], ax
cmp word [ebp - 0x218], ax
jne 0x10011ec2
xor ecx, ecx
jmp 0x10011edf
lea ecx, [ebp - 0x218]
lea ebx, [ecx + 2]
jmp 0x10011ed0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011ed0
sub ecx, ebx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.10001e10
lea ecx, [ebp - 0x230]
call fcn.1003af20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push str._sRoaming
push eax
call fcn.10039f20
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x24
mov dword [ebp - 0x234], eax
cmp esi, eax
je 0x10011f60
cmp dword [esi + 0x14], 8
jb 0x10011f45
push dword [esi]
call ebx
mov eax, dword [ebp - 0x234]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.10001910
cmp dword [ebp - 0x23c], 8
jb 0x10011f74
push dword [ebp - 0x250]
call ebx
add esp, 4
push 0x14
push 0
push str.config_systemprofile
mov ecx, esi
call fcn.10006d30
cmp eax, 0xffffffff
je 0x10011fa4
mov ecx, edi
mov byte [edi + 0x71], 1
call fcn.10012180
push 0
push 0x100fd140
mov ecx, esi
call fcn.10001e10
jmp 0x10011fb1
push esi
lea ecx, [edi + 0x74]
mov byte [edi + 0x71], 0
call fcn.10006ae0
cmp dword [ebp - 0x21c], 8
jb 0x10011fc5
push dword [ebp - 0x230]
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x10013830
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100eeb36
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x83c], eax
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x400
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 4
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x100fde10
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x3c]
call fcn.100b7c60
mov dword [esp + 0x868], 0
lea ecx, [esp + 0x3c]
cmp dword [esp + 0x50], 8
lea edx, [esp + 0x54]
cmovae ecx, dword [esp + 0x3c]
call fcn.100b8070
lea eax, [esp + 0x24]
push str.debuglog.log
push eax
call fcn.10039f20
mov byte [esp + 0x870], 1
lea ecx, [esp + 0x44]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x2c]
cmovae ecx, dword [esp + 0x44]
cmp dword [esp + 0x40], 8
push ecx
cmovae eax, dword [esp + 0x30]
push eax
call fcn.100e0e20
add esp, 0x28
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
push eax
lea eax, [esp + 0x40]
push eax
push str.________username:_s_isAdmin_:_d____________
push 1
push 0x11
push str..._srcMoniterHelperdllmain.cpp
push str.InitLog4cpp
call fcn.100e1770
add esp, 0x1c
cmp dword [esp + 0x20], 8
jb 0x10013966
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x10013991
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x83c]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret

Function at 0x10013b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push edi
push 0x100143e0
push 0
push 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push 0x10014520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x40], eax
xor ecx, ebp
pop edi
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x1002a740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push dword [edi + 0x18]
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push edi
push 0x1002a8a0
push 0
push 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push 0x1002ab40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.Start_Scrrenshot
push 1
push 0xb8
push 0x10101cb0
push str.CHandleScreenshotEvent::StartScreenshot
mov dword [edi + 0x20], eax
call fcn.100e13e0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
pop edi
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret

Function at 0x1002b6e0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f1049
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push esi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
push 0x40
lea eax, [esp + 0x3c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x34], 0x44
xorps xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
push 0x101021a4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x101320a8]
mov esi, eax
test cl, 1
jne 0x1002b79b
or ecx, 1
mov dword [0x101320a8], ecx
push 0x3c
push 0
push 0x1013206c
mov dword [esp + 0x2a4], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.100be7b0
push 0x100f6c80
call fcn.100ebe7b
add esp, 4
mov dword [esp + 0x298], 0xffffffff
cmp dword [0x10132080], 8
mov eax, 0x1013206c
cmovae eax, dword [0x1013206c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100b7a90
push 0x15
push str.Uninstall.exe__force
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], 1
call fcn.10002a70
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], 8
cmovae ecx, dword [esp + 0x1c]
add eax, eax
push eax
push ecx
lea eax, [esp + 0x84]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002b852
xor bl, bl
jmp 0x1002b866
push dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
mov bl, 1
cmp dword [esp + 0x30], 8
jb 0x1002b87a
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret