joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100108f0
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 [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x1012aeac]
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.1000ff80
cmp dword [ebp - 0x228], 0
je 0x1001099b
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 0x100109c8
lea eax, [ebp - 0x220]
push eax
call ebx
xor bl, bl
cmp dword [ebp - 0x224], 8
jb 0x100109b5
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.101176fb
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 0x1001099b
cmp dword [edi + 0x74], 0
je 0x1001099b
cmp dword [edi + 0x6c], 0
je 0x1001099b
cmp dword [edi + 0x68], 0
je 0x1001099b
cmp dword [edi + 0x64], 0
je 0x1001099b
cmp dword [edi + 0x70], 0
je 0x1001099b
cmp dword [edi + 0x78], 0
je 0x1001099b
test eax, eax
je 0x1001099b
lea eax, [ebp - 0x220]
push eax
call ebx
mov bl, 1
jmp 0x1001099d
Function at 0x10012660
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119887
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10165034]
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.10003c80
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 0x10012732
xor ecx, ecx
jmp 0x1001274f
lea ecx, [ebp - 0x218]
lea ebx, [ecx + 2]
jmp 0x10012740
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012740
sub ecx, ebx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.10002100
lea ecx, [ebp - 0x230]
call fcn.1004ef90
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.1004df00
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x24
mov dword [ebp - 0x234], eax
cmp esi, eax
je 0x100127d0
cmp dword [esi + 0x14], 8
jb 0x100127b5
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.10001be0
cmp dword [ebp - 0x23c], 8
jb 0x100127e4
push dword [ebp - 0x250]
call ebx
add esp, 4
push 0x14
push 0
push str.config_systemprofile
mov ecx, esi
call fcn.10007090
cmp eax, 0xffffffff
je 0x10012814
mov ecx, edi
mov byte [edi + 0x71], 1
call fcn.100129f0
push 0
push 0x1012b380
mov ecx, esi
call fcn.10002100
jmp 0x10012821
push esi
lea ecx, [edi + 0x74]
mov byte [edi + 0x71], 0
call fcn.10006e40
cmp dword [ebp - 0x21c], 8
jb 0x10012835
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.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x10014400
Capabilities:
Create thread

Disassembly:
push ecx
call fcn.10014360
push str..pipePeerServerIpc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.10014360
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push 0x1016a4f0
push 0
push 0
push 0x10014760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1016a4f4], eax
mov al, 1
pop ecx
ret

Function at 0x10014660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a610
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x100146ff
cmp dword [ebp - 0x14], 0
je 0x100146ff
push 0
push 0
push 0
push esi
push 0x1012bfe8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
call fcn.10014440
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x100146d8
mov eax, dword [eax]
push eax
push str.Create_RtcLs_Process_Success_Time:_s
push 1
push 0x53
push 0x1012c01c
push 0x1012c050
call fcn.1010d8f0
add esp, 0x18
cmp dword [ebp - 0x18], 0x10
jb 0x10014744
push dword [ebp - 0x2c]
jmp 0x1001473b
lea ecx, [ebp - 0x44]
call fcn.10014440
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10014716
mov eax, dword [eax]
push eax
push str.Create_RtcLs_Process_Error:_Windows_Is_32Bit_Time:_s
push 1
push 0x57
push str..._srcMoniterHelperCLiveScreenCLiveScreen.cpp
push str.CLiveScreen::CreateLiveProcess
call fcn.1010d8f0
add esp, 0x18
cmp dword [ebp - 0x30], 0x10
jb 0x10014744
push dword [ebp - 0x44]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100161e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011a7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x83c], eax
mov eax, dword [0x10165034]
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 0x1012c2fc
mov word [ecx], ax
call fcn.10002100
lea eax, [esp + 0x3c]
push eax
call fcn.100cd9a0
add esp, 4
mov dword [esp + 0x868], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call fcn.10001d60
call fcn.100cdd40
lea eax, [esp + 0x24]
push str.debuglog.log
push eax
call fcn.1004df00
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.1010d330
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 0x12
push str..._srcMoniterHelperdllmain.cpp
push str.InitLog4cpp
call fcn.1010dc80
add esp, 0x1c
cmp dword [esp + 0x20], 8
jb 0x1001632a
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 0x10016355
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.101176fb
mov esp, ebp
pop ebp
ret

Function at 0x100168f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10165034]
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 0x100172f0
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 0x10017450
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.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x10019ae0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
push esi
jb 0x10019af9
mov ecx, dword [ecx]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10019b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileW_error_:_d
push 3
push 0x6b
push 0x1012cb40
push 0x1012ca94
call fcn.1010d8f0
add esp, 0x18
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10019b92
push str.GetFileSizeEx_error
push 3
push 0x73
push 0x1012cbc8
push str.getFileSize
call fcn.1010d8f0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
mov edx, dword [ebp - 0xc]
pop esi
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x1001a0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011af8c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push str._record_AutoMicroPhoneRecord_start
push 1
push 0xca
push 0x1012d028
push 0x1012d06c
mov byte [esp + 0x1f], 0
call fcn.1010d8f0
add esp, 0x14
cmp byte [esi + 0xb0], 1
je 0x1001a1e3
mov eax, dword [0x1016afa8]
test al, 1
jne 0x1001a1a9
xorps xmm0, xmm0
or eax, 1
push 2
push 0x1016afc0
mov dword [0x1016afa8], eax
movdqu xmmword [0x1016afb0], xmm0
movq qword [0x1016afc0], xmm0
call dword [sym.imp.MSVCP120.dll__Mtx_init]
add esp, 8
test eax, eax
je 0x1001a189
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
xorps xmm0, xmm0
push 0x101248e0
movlpd qword [0x1016afb0], xmm0
movlpd qword [0x1016afb8], xmm0
call fcn.101177fb
add esp, 4
mov eax, dword [0x1016afb4]
cmp eax, dword [0x1016afbc]
ja 0x1001a203
jb 0x1001a1c5
mov eax, dword [0x1016afb0]
cmp eax, dword [0x1016afb8]
ja 0x1001a203
push 0x1012d09c
push 3
push 0xd6
push str..._srcMoniterHelperEventExecuteHandleAutoMicroPhoneRecord.cpp
push str.CHandleAutoMicroPhoneRecordEvent::HandleData
call fcn.1010d8f0
add esp, 0x14
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1016b108]
test al, 1
jne 0x1001a24c
or eax, 1
mov dword [0x1016b108], eax
push 0x48
push 0
push 0x1016b0c0
mov dword [esp + 0x2c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1016b0c0
call fcn.100dd160
push 0x101248c0
call fcn.101177fb
add esp, 4
mov dword [esp + 0x20], 0xffffffff
push 2
mov ecx, 0x1016b0c0
call fcn.100de8c0
test al, al
jne 0x1001a26c
cmp dword [esi + 0x64], 0
je 0x1001a26c
cmp dword [esi + 0x7c], 0
jne 0x1001a2f1
mov eax, dword [0x1016b108]
test al, 1
jne 0x1001a2b5
or eax, 1
mov dword [0x1016b108], eax
push 0x48
push 0
push 0x1016b0c0
mov dword [esp + 0x2c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1016b0c0
call fcn.100dd160
push 0x101248c0
call fcn.101177fb
add esp, 4
mov dword [esp + 0x20], 0xffffffff
push 2
push 0
mov ecx, 0x1016b0c0
call fcn.100de900
mov ecx, esi
call fcn.10031ae0
test al, al
jne 0x1001a2f1
push 0
push 0x101275d6
lea ecx, [esi + 0x54]
call fcn.10008550
push 0
push 0x101275d7
lea ecx, [esi + 0x6c]
call fcn.10008550
jmp 0x1001a1e3
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.10032700
test al, al
je 0x1001a32a
cmp byte [esi + 0xb0], 0
jne 0x1001a32a
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x10019650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xac], eax
mov al, 1
jmp 0x1001a1e7
Function at 0x1001a690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
mov esi, ecx
push esi
push 0x1001a700
push 0
push 0
mov byte [esi + 0xa8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str._record_Start_ScreenRecord
push 1
push 0x128
push 0x1012d390
push str.CHandleAutoScreenRecordEvent::StartScreenRecord
mov dword [esi + 0xac], eax
call fcn.1010d8f0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
pop esi
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x1002cc30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011cc2b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x10165034]
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, edx
mov eax, ecx
mov dword [ebp - 0x298], eax
push 0x10130ff4
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.10007490
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1002cc85
mov eax, dword [eax]
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x29c], 8
mov ebx, eax
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x294], ebx
jb 0x1002ccb5
push dword [ebp - 0x2b0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
cmp ebx, 0xffffffff
je 0x1002ce8d
jmp 0x1002cce0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x264], ax
jne 0x1002cd01
xor ecx, ecx
jmp 0x1002cd1f
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002cd10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002100
push 1
push 0x10130e9c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
push 0
call fcn.100035e0
test eax, eax
je 0x1002ce5b
push 2
push 0x10130ffc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.100035e0
test eax, eax
je 0x1002ce5b
push 0x10131004
push dword [ebp - 0x298]
lea eax, [ebp - 0x2c8]
push eax
call fcn.10007490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.1002e570
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2b4], 8
jb 0x1002cdb2
push dword [ebp - 0x2c8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b4], 7
test byte [ebp - 0x290], 0x10
mov dword [ebp - 0x2b8], 0
mov word [ebp - 0x2c8], ax
je 0x1002ce4d
push 8
push eax
push 0x10131008
lea ecx, [ebp - 0x40]
call fcn.10007090
cmp eax, 0xffffffff
je 0x1002ce4d
push str.LocalState
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.10007490
mov ebx, eax
add esp, 0xc
cmp edi, ebx
je 0x1002ce33
cmp dword [edi + 0x14], 8
jb 0x1002ce18
push dword [edi]
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.10001be0
cmp dword [ebp - 0x2cc], 8
jb 0x1002ce47
push dword [ebp - 0x2e0]
call esi
add esp, 4
mov ebx, dword [ebp - 0x294]
cmp dword [ebp - 0x2c], 8
jb 0x1002ce5b
push dword [ebp - 0x40]
call esi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x1002ce70
push dword [ebp - 0x28]
call esi
add esp, 4
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002cce0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
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.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x1002f9f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011d0a9
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push esi
mov eax, dword [0x10165034]
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 0x10131d4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x1016b108]
mov esi, eax
test cl, 1
jne 0x1002fab0
or ecx, 1
mov dword [0x1016b108], ecx
push 0x48
push 0
push 0x1016b0c0
mov dword [esp + 0x2a4], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1016b0c0
call fcn.100dd160
push 0x101248c0
call fcn.101177fb
add esp, 4
mov dword [esp + 0x298], 0xffffffff
mov ecx, 0x1016b0c0
call fcn.100ddd30
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.100cd7c0
add esp, 8
push 0x15
push str.Uninstall.exe__force
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], 1
call fcn.10002d80
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call sub.MSVCR120.dll_memset
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x38]
cmovae ecx, dword [esp + 0x28]
add eax, eax
push eax
push ecx
lea eax, [esp + 0x90]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0x18
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 0x1002fb57
xor bl, bl
jmp 0x1002fb6b
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 0x1002fb7f
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.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x10033300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d683
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push eax
push str.SYSTEMCurrentControlSet_serviceseventlog
lea eax, [ebp - 0x834]
push 0x1013380c
push eax
call fcn.1004df00
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ecx
cmovae eax, dword [ebp - 0x834]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x838], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100333c6
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegOpenKeyEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x28
push 0x1013389c
push 0x101338d4
call fcn.1010d8f0
add esp, 0x1c
xor bl, bl
jmp 0x100334a2
xor eax, eax
xor bl, bl
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x81c], 0x800
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x818], 1
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.EventMessageFile
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10033472
cmp word [ebp - 0x814], ax
jne 0x10033444
xor ecx, ecx
lea eax, [ebp - 0x814]
push ecx
push eax
mov ecx, esi
call fcn.10002100
mov bl, 1
jmp 0x10033496
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033450
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002100
mov bl, 1
jmp 0x10033496
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegQueryValueEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x37
push 0x10133958
push str.CEventProviderManager::QueryEventMessageFile
call fcn.1010d8f0
add esp, 0x1c
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x820], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100334bc
push dword [ebp - 0x834]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x820], 7
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x824], 0
mov word [ebp - 0x834], ax
jb 0x100334e7
push dword [ebp + 0xc]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0x1c