joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100202b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.10020220
mov dword [ebp - 4], eax
push str..pipePeerServerIpc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
call fcn.10020220
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 4]
call eax
push 0x101b23f4
push 0
push 0
push 0x10020610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101b23f8], eax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x10020370
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x10167b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10020390
mov al, 1
jmp 0x100203b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100203ab
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x100203b7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10020510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101ac034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10020310
movzx eax, al
test eax, eax
je 0x100205a9
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x10167b68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edx, [ebp - 0x34]
push edx
call fcn.100203c0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.10001f00
push eax
push str.Create_RtcLs_Process_Success_Time:_s
push 1
push 0x53
push 0x10167b9c
push 0x10167bd0
call fcn.10145f00
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001f50
jmp 0x100205f8
lea ecx, [ebp - 0x4c]
push ecx
call fcn.100203c0
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
call fcn.10001f00
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.10145f00
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10001f50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10024130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x1002416b
lea eax, [ebp - 8]
push eax
push 0
call fcn.10023cc0
push eax
push 0x10023dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 8], 1
jne 0x1002418c
lea ecx, [ebp - 8]
push ecx
push 0
call fcn.10023cc0
push eax
push 0x10023e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 8], 2
jne 0x1002419a
mov ecx, dword [ebp - 0xc]
call fcn.10023db0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4

Function at 0x100244f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153f36
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x814], 0x400
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x858], esp
push 0x10167fbc
call fcn.10003d50
mov dword [ebp - 0x84c], eax
lea ecx, [ebp - 0x82c]
push ecx
call fcn.100fd100
add esp, 0x1c
mov dword [ebp - 0x850], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x848], esp
lea edx, [ebp - 0x82c]
push edx
call fcn.10004030
mov dword [ebp - 0x854], eax
call fcn.100fd4a0
add esp, 0x18
push str.debuglog.log
lea eax, [ebp - 0x844]
push eax
call fcn.1007cf90
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x82c]
call fcn.10002bf0
push eax
lea ecx, [ebp - 0x844]
call fcn.10002bf0
push eax
call fcn.10145940
add esp, 8
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
push eax
lea ecx, [ebp - 0x810]
push ecx
push str.________username:_s_isAdmin_:_d____________
push 1
push 0x12
push str..._srcMoniterHelperdllmain.cpp
push str.InitLog4cpp
call fcn.10146290
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.10003e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x10024c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10024710
mov dword [ebp - 0xc], eax
cmp dword [0x101ac070], 0
jne 0x10024c98
mov eax, 1
jmp 0x10024d13
call fcn.100252d0
mov ecx, eax
call fcn.100253a0
movzx eax, al
test eax, eax
jne 0x10024cb2
mov eax, 2
jmp 0x10024d13
mov dword [0x101ac070], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [0x101b2410], edx
mov eax, dword [ecx + 0x3c]
mov dword [0x101b2414], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, 0x101b2bbc
call fcn.1000d7b0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [0x101b2408], eax
mov byte [0x101b2401], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x10024840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret

Function at 0x100264a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x10027200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], eax
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x10027390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x70], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x10032a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.100329a0
movzx eax, al
test eax, eax
je 0x10032abc
mov al, 1
jmp 0x10032bfc
mov byte [ebp - 9], 0
push str._record_AutoCameraRecord_start
push 1
push 0x22
push 0x1016894c
push 0x1016898c
call fcn.10145f00
add esp, 0x14
call fcn.100252d0
mov ecx, eax
call fcn.100253a0
movzx ecx, al
test ecx, ecx
jne 0x10032b0e
push 0x101689b8
push 3
push 0x2e
push str..._srcMoniterHelperEventExecuteHandleAutoCameraRecord.cpp
push str.CHandleAutoCameraRecordEvent::HandleData
call fcn.10145f00
add esp, 0x14
jmp 0x10032bf9
push 3
call fcn.100017e0
mov ecx, eax
call fcn.100fb100
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x10032b4b
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.10001f20
movzx eax, al
test eax, eax
jne 0x10032b4b
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.10001f20
movzx ecx, al
test ecx, ecx
je 0x10032b8f
push 3
push 0
call fcn.100017e0
mov ecx, eax
call fcn.100fb140
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1004e620
movzx edx, al
test edx, edx
jne 0x10032b8f
push 0x1016260a
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.1000ad50
push 0x1016260b
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.1000ad50
jmp 0x10032bf9
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1004f1e0
movzx eax, al
test eax, eax
je 0x10032bed
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0xb0]
test edx, edx
jne 0x10032bed
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100329c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xac], eax
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0x10]
add eax, 0xac
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov byte [ebp - 9], 1
xor ecx, ecx
jne 0x10032adb
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x10032cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.100329a0
movzx eax, al
test eax, eax
je 0x10032cfc
mov al, 1
jmp 0x10032e27
mov byte [ebp - 9], 0
push str._record_AutoMicroPhoneRecord_start
push 1
push 0x26
push 0x10168b10
push 0x10168b54
call fcn.10145f00
add esp, 0x14
call fcn.100252d0
mov ecx, eax
call fcn.100253a0
movzx ecx, al
test ecx, ecx
jne 0x10032d4e
push 0x10168afc
push 3
push 0x2d
push str..._srcMoniterHelperEventExecuteHandleAutoMicroPhoneRecord.cpp
push str.CHandleAutoMicroPhoneRecordEvent::HandleData
call fcn.10145f00
add esp, 0x14
jmp 0x10032e24
push 2
call fcn.100017e0
mov ecx, eax
call fcn.100fb100
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x10032d8b
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.10001f20
movzx eax, al
test eax, eax
jne 0x10032d8b
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.10001f20
movzx ecx, al
test ecx, ecx
je 0x10032dcf
push 2
push 0
call fcn.100017e0
mov ecx, eax
call fcn.100fb140
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1004e620
movzx edx, al
test edx, edx
jne 0x10032dcf
push 0x1016262e
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.1000ad50
push 0x1016262f
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.1000ad50
jmp 0x10032e24
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1004f1e0
movzx eax, al
test eax, eax
je 0x10032e18
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0xb0]
test edx, edx
jne 0x10032e18
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10032c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xac], eax
mov byte [ebp - 9], 1
xor eax, eax
jne 0x10032d1b
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret

Function at 0x10032ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
push str._record_Start_ScreenRecord
push 1
push 0x41
push 0x10168eb0
push str.CHandleAutoScreenRecordEvent::StartScreenRecord
call fcn.10145f00
add esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x10033070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xac], eax
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0xc]
add eax, 0xac
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x100473b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101568a6
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0x1016ca44
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x2ac], eax
lea edx, [ebp - 0x290]
push edx
mov ecx, dword [ebp - 0x2ac]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x2c4]
call fcn.10003e00
cmp dword [ebp - 0x294], 0xffffffff
jne 0x10047452
push str.list_directory_FindFirstFile_error
push 1
push 0x34
push str..._srcMoniterHelperEventExecuteHandleLogEvent.cpp
push str.CHandleLogEvent::list_directory
call fcn.10145f00
add esp, 0x14
jmp 0x100475cd
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003d50
mov dword [ebp - 4], 0
push 0x1016cac8
lea ecx, [ebp - 0x28]
push ecx
call fcn.1001bb90
add esp, 8
movzx edx, al
test edx, edx
jne 0x10047498
push 0x1016cacc
lea eax, [ebp - 0x28]
push eax
call fcn.1001bb90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100474ac
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
jmp 0x100475a4
push 0x1016cad4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2f4]
push eax
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10047cc0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
call fcn.10003e00
mov edx, dword [ebp - 0x290]
and edx, 0x10
je 0x10047520
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.100473b0
jmp 0x10047589
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.10002000
add eax, 1
push eax
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x40]
call fcn.10018a50
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10002bf0
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.10002bf0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1012ca70
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
lea edx, [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10047452
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 8
Function at 0x10048cc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1016cffc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x290]
push edx
mov ecx, dword [ebp - 0x298]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x2bc]
call fcn.10003e00
cmp dword [ebp - 0x294], 0xffffffff
jne 0x10048d41
jmp 0x10048e7e
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003d50
mov dword [ebp - 4], 0
push 0x1016cea4
lea ecx, [ebp - 0x28]
push ecx
call fcn.1004a600
add esp, 8
movzx edx, al
test edx, edx
je 0x10048e46
push 0x1016d004
lea eax, [ebp - 0x28]
push eax
call fcn.1004a600
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10048e46
push 0x1016d00c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10047cc0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ec]
call fcn.10003e00
mov edx, dword [ebp - 0x290]
and edx, 0x10
je 0x10048e3a
push 0
push 0x1016d010
lea ecx, [ebp - 0x40]
call fcn.1000ae10
cmp eax, 0xffffffff
je 0x10048e3a
push str.LocalState
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10003480
lea ecx, [ebp - 0x2d4]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10048d41
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x1004bad0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x274], 0
push 0x40
push 0
lea eax, [ebp - 0x270]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x274], 0x44
mov dword [ebp - 0x284], 0
xor ecx, ecx
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x278], ecx
push 0x1016dcd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x28c], eax
call fcn.100017e0
mov ecx, eax
call fcn.100fa610
mov edx, dword [ebp - 0x28c]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.100fcf20
add esp, 8
mov dword [ebp - 4], 0
push str.Uninstall.exe__force
lea ecx, [ebp - 0x230]
call fcn.1000c1f0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.10002000
shl eax, 1
push eax
lea ecx, [ebp - 0x230]
call fcn.10002bf0
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x284]
push ecx
lea edx, [ebp - 0x274]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1004bc29
mov byte [ebp - 0x285], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
mov al, byte [ebp - 0x285]
jmp 0x1004bc62
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x286], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
mov al, byte [ebp - 0x286]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x10050500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157533
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002bf0
push eax
push str.SYSTEMCurrentControlSet_serviceseventlog
push 0x1016f85c
lea eax, [ebp - 0x830]
push eax
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x834], 0
lea ecx, [ebp - 0x834]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x830]
call fcn.10002bf0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x83c], eax
cmp dword [ebp - 0x83c], 0
je 0x100505f5
mov edx, dword [ebp - 0x83c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegOpenKeyEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x28
push 0x1016f8ec
push 0x1016f924
call fcn.10145f00
add esp, 0x1c
mov byte [ebp - 0x837], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003e00
mov al, byte [ebp - 0x837]
jmp 0x100506e5
mov byte [ebp - 0x835], 0
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x814], 0x800
mov dword [ebp - 0x818], 1
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
push ecx
push 0
push str.EventMessageFile
mov edx, dword [ebp - 0x834]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x840], eax
cmp dword [ebp - 0x840], 0
jne 0x1005067f
lea eax, [ebp - 0x810]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.10007da0
mov byte [ebp - 0x835], 1
jmp 0x100506a8
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegQueryValueEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x37
push 0x1016f9a8
push str.CEventProviderManager::QueryEventMessageFile
call fcn.10145f00
add esp, 0x1c
mov edx, dword [ebp - 0x834]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x835]
mov byte [ebp - 0x836], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003e00
mov al, byte [ebp - 0x836]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10051e90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov byte [0x101b2402], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10051ec0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x10051ed8
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x18], 0x101b2bec
push 4
lea ecx, [ebp - 8]
call fcn.10001860
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10012ba0
push 4
lea ecx, [ebp - 0xc]
call fcn.10001860
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.100054d0
jmp 0x10051f15
lea ecx, [ebp - 8]
call fcn.10012e40
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
call fcn.10004d70
movzx eax, al
test eax, eax
je 0x10051f60
lea ecx, [ebp - 8]
call fcn.10013260
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10051f57
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10018510
mov dword [ebp - 0x24], eax
jmp 0x10051f5e
mov dword [ebp - 0x24], 0
jmp 0x10051f0d
mov ecx, 0x101b2bec
call fcn.10054110
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret

Function at 0x10051fa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov byte [0x101b2402], 0
push 0x101b2428
push 0
push 0
push 0x100523e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x101b241c
push 0
push 0
push 0x10053db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ebp
ret
Function at 0x10057ce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10057d02
xor al, al
jmp 0x10057d12
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x10057d10
mov al, 1
jmp 0x10057d12
xor al, al
mov esp, ebp
pop ebp
ret