joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdce1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00dce140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00dce140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00dce140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00dce140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xdcebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xdcec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xde087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xdcec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xdcec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x556077d
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x2c710aa0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3e7c5510
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x2d8094b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5b9e60
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov al, byte [0x7d104a]
mov cl, byte [0x7d104d]
mov edx, dword [0x7d1030]
and cl, al
mov eax, dword [0x7d1034]
mov byte [0x7d104d], cl
mov ecx, eax
push esi
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x7d1043]
mov dword [0x7d1030], edx
mov edx, dword [0x7d1038]
push edi
or edx, 7
imul edx, ecx
and eax, edx
mov dword [0x7d1034], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test esi, esi
je 0x5b9ee6
mov eax, dword [0x7d4adc]
push 0x7d47f8
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x5f8d94
Capabilities:
Encode data using xor

Disassembly:
imul esi, esp, 0x868ff84
pop eax
sbb ecx, dword [ebx]
daa
stosb byte es:[edi], al
sbb dword [edx - 0x76a658bb], 0x6b
test al, 0xc4
mov esp, 0xac61653f
push cs
adc eax, 0x6c3cf111
das
add esi, ecx
out 0x68, eax
add ch, 0x9f
sub eax, 0xdd3ebb2b
outsd dx, dword [esi]
bound ebx, qword [ebx + 0x4d]
cmp eax, 0xcc482b48
sbb ah, bl
call 0xc9260f1
movsb byte es:[edi], byte [esi]
push es
sub dword [ebx], ebx
mov ah, 0xb6
mov ecx, 0xabda7b0d
nop
sub byte [esi + esi*8 + 0x5e66f6af], bh
and eax, 0x403a18bb
sbb eax, 0x75dd60bd
fnsave dword [ebp + 0x67]
inc esp
fnsave dword [ebp + 0x67]
inc esp
xor al, 0x6f
push edx
mov al, byte [0x387a553e]
loopne 0x5f8d3b
sbb byte [eax + edx*8], bh
pop esp
mov al, byte [0xfb2aa371]
dec ebp
aas
insb byte es:[edi], dx
in eax, dx
mov ds, word [eax]
fisubr word [ecx + 0x755331bb]
popfd
pop ebp
add dword [ebx], eax
wait
xchg ecx, eax
or ebp, dword [esi]
xlatb
mov bl, 0xc
xchg edi, eax
push cs
sbb dl, 0x8d
xor eax, 0x7eb66dd8
mov ecx, 0xce12cbd5
sbb eax, 0xe8a09b56
clc
movsd dword es:[edi], dword [esi]
inc esi
invalid

Function at 0x643644
Capabilities:
Encode data using xor

Disassembly:
and dword [eax + 0x53], edx
sbb dh, byte [edx + ebx*2 + 0x3a204d2e]
wait
les ecx, [bx - 0x639e]
les ecx, [ecx + 0x5c11b330]
cmp byte [edx], bh
adc al, 0x36
xchg esi, eax
in al, dx
mov al, al
sti
cwde
loope 0x64364f
mov cl, 0x6d
xor esi, 0xffffffd7
and eax, 0x1edcdbed
sub dl, dl
pop edi
cmp dword [ebp + 0x784ab11a], eax
and al, 0x65
sbb al, 0x9c
aam 0xdd
fild word [edx + 4]
cld
retf 0xc4ef
Function at 0x7c7edd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d13c8
cmp edx, dword [eax]
je 0x7c7eff
add eax, 8
inc ecx
cmp eax, 0x7d1458
jl 0x7c7ef0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d13c8]
jne 0x7c802d
mov eax, dword [0xbd0d24]
cmp eax, 1
je 0x7c8007
test eax, eax
jne 0x7c7f30
cmp dword [0x7d12f4], 1
je 0x7c8007
cmp edx, 0xfc
je 0x7c802d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7f67
lea eax, [ebp - 0x1a4]
push 0x7cda58
push eax
call fcn.007c88c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8d50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7faa
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8d50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cda54
push edi
call fcn.007cac20
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cda38
push eax
call fcn.007c88c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c88d0
lea eax, [ebp - 0xa0]
push 0x7cda34
push eax
call fcn.007c88d0
push dword [esi + 0x7d13cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c88d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cda0c
push eax
call fcn.007cab94
add esp, 0x2c
pop edi
jmp 0x7c802d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d13cc]
push 0
push eax
push dword [esi]
call fcn.007c8d50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x408699
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ad3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f00
mov byte [ebp - 4], 2
push str.SELECT__FROM_MATERIELCLASS_WHERE_NAME
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x4a7b3c
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
push 0x17
push 0
push 0x4a7b40
lea ecx, [ebp - 0x1c]
call fcn.00404fa0
push 1
mov ecx, 0x4abae4
call fcn.00404ef0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405970
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405240
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405930
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405b10
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404cd0
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x408820
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404cd0
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x408852
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404d10
jmp 0x4088c7
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a5f3
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b0e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x2712
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.00434200
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push str.Mozilla_5.0__iPhone__CPU_iPhone_OS_14_0_1_like_Mac_OS_X__AppleWebKit_605.1.15__KHTML__like_Gecko__Mobile_15E148_MicroMessenger_8.0.27_0x18001b34__NetType_4G_Language_zh_CN
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x2722
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.00434200
add esp, 0xc
push 5
push 0x44
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.00434200
add esp, 0xc
push 1
push 0x34
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.00434200
add esp, 0xc
push 1
push 0x63
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.00434200
add esp, 0xc
push 0
push 0x2f
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.00434200
add esp, 0xc
push 0x40a7fc
push 0x4e2b
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.00434200
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
push 0x2711
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.00434200
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.00434200
add esp, 0xc
push 0
push 0x51
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.00434200
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40a828
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f3fb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48baf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f00
mov byte [ebp - 4], 2
push str.SELECT__FROM_MATERIEL_WHERE_NAME
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x4a848c
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
push 0x17
push 0
push 0x4a8490
lea ecx, [ebp - 0x1c]
call fcn.00404fa0
push 1
mov ecx, 0x4abae4
call fcn.00404ef0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405970
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405240
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405930
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405b10
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404cd0
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x40f582
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404cd0
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x40f5b4
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f70
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404d10
jmp 0x40f629
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fc00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bc02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x138], 0x128
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40fcb2
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea edx, [ebp - 0x114]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40fc9e
mov dword [ebp - 0x13c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x13c]
jmp 0x40fcd2
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40fc5f
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40fce1
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bc16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x1e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea edx, [ebp - 0x30]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x40fd4e
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x34]
jmp 0x40fd68
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41022c
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push str.api_log.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x410250
push str.dir_watch.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x410261
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x4102ca
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 4], esp
lea eax, [ebp - 8]
push eax
push str.sniff_hit.exe
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 0x14], eax
call fcn.0040fc00
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
je 0x4102b7
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp - 0x10]
push edx
push str.sysAnalyzer.exe
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 0x1c], eax
call fcn.0040fc00
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x4102c8
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x4102ca
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4102ce
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push str.pstorec.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4102f4
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x41036e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 4], esp
lea eax, [ebp - 8]
push eax
push str.C:_analysis
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 0x14], eax
call fcn.0040fdb8
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x410330
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x41036e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp - 0x10]
push edx
push str.C:_analysisSandboxStarter.exe
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 0x1c], eax
call fcn.0040feea
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x41036c
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x41036e
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x410372
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x410395
mov dword [0x4abb1c], 1
mov eax, 1
jmp 0x410397
xor eax, eax
pop ebp
ret