joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029b00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004baa7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x100534f0
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [ebx + edx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.10006bc0
lea esi, [ebx + 0x10]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.10006470
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10029b97
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.10007a70
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [ebx + edx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.100061a0
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x1006145c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10029c30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ba57
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x100549f0
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.10006bc0
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.10006470
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10029cc3
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.10007a70
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.100061a0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x1006145c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ca50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004d300
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x14], vtable.SysService.0
mov dword [esp + 0x38], 0
mov eax, dword [0x10061c90]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x10]
mov eax, 0x1005fbb4
call fcn.10032780
mov esi, dword [eax]
cmp dword [esi + 0xc], 8
mov ebx, 1
je 0x1002cb0c
mov dword [esp + 0x10], vtable.AdInfoService.0
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.10009d10
test al, al
jne 0x1002caf9
cmp dword [esi + 0x160], 0
ja 0x1002caf9
cmp dword [esi + 0x10], 6
je 0x1002cb01
mov ecx, dword [esi + 0x54]
sub ecx, dword [esi + 0x50]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x1002cb01
add dword [0x100a1db0], ebx
jmp 0x1002cb07
add dword [0x100a1dac], ebx
mov byte [esp + 0x38], 0
mov edx, dword [0x100a1db0]
cmp edx, dword [0x100a1dcc]
jl 0x1002cb20
push ebx
call fcn.1002cc00
mov eax, dword [0x100a1dac]
cmp eax, dword [0x100a1dc8]
jl 0x1002cb34
push 0
call fcn.1002cc00
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x1e]
movzx eax, word [esp + 0x1a]
movzx ecx, word [esp + 0x18]
push edx
call fcn.1002ff60
movzx ecx, word [esp + 0x20]
lea eax, [eax + eax*2 - 0x6fb8a4]
lea eax, [ecx + eax*8]
mov edx, eax
shl edx, 4
sub edx, eax
movzx eax, word [esp + 0x22]
add dword [esi + 0x18], ebx
lea eax, [eax + edx*4]
movzx edx, word [esp + 0x24]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
movzx ecx, word [esp + 0x26]
imul eax, eax, 0x3e8
add eax, ecx
push 0x100a2010
mov dword [esi + 0x44], eax
call fcn.10003a10
mov edx, dword [0x10061c90]
mov dword [0x100a1db4], edx
mov eax, dword [esi + 0x44]
add dword [0x100a1da8], ebx
mov esi, 0x10061c20
mov dword [0x100a1da4], eax
call fcn.1001ed60
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.10024f50
mov eax, 9
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x1002fbc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1002fbe8
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100028f0
push 0x44
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10037db0
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0xc], 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x74], 0x44
jae 0x1002fc2c
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1002fc77
cmp byte [ebp + 8], al
jne 0x1002fc77
cmp dword [ebp - 0xc], 0x10
jb 0x1002fc64
mov eax, dword [ebp - 0x20]
push eax
call fcn.10032d10
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0xc], 0x10
mov esi, dword [ebp - 0x30]
jb 0x1002fc8c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10032d10
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
Function at 0x10031e80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esp, [esp]
push 0
push str.djbv
call esi
push 0
push 0
push 0
push 0
push 0
push str.dfgd0
call edi
push 0
push 0
push 0
push 0
push str.sdfe
call ebx
call fcn.10031ef0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push 0x4e20
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10031ea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10032570
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.10037db0
push 0x24
lea ecx, [ebp - 0x404]
push 0x100535c8
push ecx
call fcn.10037ec0
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x100325c4
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [ebp + eax - 0x404]
sub cl, al
xor cl, byte [edx + 0x10053650]
inc eax
mov byte [ebp + eax - 0x405], cl
cmp eax, 0x24
jl 0x100325b5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push 0
push 1
call ebx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push edx
call edi
lea eax, [ebp - 0x404]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10032687
mov ecx, dword [esi + 0xc]
push 0x1388
push ecx
call edi
test eax, eax
je 0x10032691
push 0
push 1
call ebx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esi + 0x18]
push 0x64
push edx
call edi
lea eax, [ebp - 0x404]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [esi + 0x14], eax
test eax, eax
je 0x10032633
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x100326b0
Capabilities:
Delete directory
Query or enumerate registry value
Read file via mapping
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
push esi
nop
push 0
push 0
push 0
push 0
push str.sdfe
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push str.shjt
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
push 0
push 0
push str.pigf
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ebx, ebx
test eax, eax
jle 0x1003274f
mov dword [ebp - 4], ebx
add esi, dword [ebp - 4]
cmp dword [esi + 0x14], 0x10
jb 0x10032721
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10032772
mov esi, dword [edi]
mov ecx, dword [edi + 4]
add dword [ebp - 4], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jl 0x10032716
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 1
jl 0x100326c0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10033f77
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100603b8], 0
push esi
push edi
jne 0x10033eed
call fcn.10033e59
test eax, eax
je 0x10033f32
mov eax, dword [0x100603b8]
cmp eax, 1
jne 0x10033f0e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10033f32
jmp 0x10033f74
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10033f74
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10033f36
xor eax, eax
jmp 0x10033f74
mov eax, dword [esi]
push dword [0x100603b8]
call edi
mov edi, eax
test edi, edi
je 0x10033f58
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10033f74
lea edi, [esi + 0xff0]
push esi
push dword [0x100603b8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10033f5e
mov eax, esi
pop edi
pop esi
ret
jmp 0x10033ed9

Function at 0x10034caa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005d500]
jne 0x10034cb4
repz ret
jmp fcn.1003a905
Function at 0x10036dec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10036e13
call fcn.1003a797
mov dword [eax], esi
call fcn.1003a784
push 0x16
pop esi
mov dword [eax], esi
call fcn.1003afbc
mov eax, esi
jmp 0x10036e68
test dword [ebp + 0xc], 0xfffffff9
jne 0x10036df9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10036e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1003a7aa
pop ecx
call fcn.1003a784
mov eax, dword [eax]
jmp 0x10036e68
test al, 0x10
jne 0x10036e66
test al, 1
je 0x10036e66
test byte [ebp + 0xc], 2
je 0x10036e66
call fcn.1003a797
mov dword [eax], 5
call fcn.1003a784
mov dword [eax], 0xd
jmp 0x10036e37
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100471de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10040e98
and dword [ebp - 0x14], 0
cmp dword [0x10061378], 0
mov dword [ebp - 0x18], eax
jne 0x10047291
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10047339
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10047339
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10061378], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1006137c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10061380], eax
call edi
push eax
call esi
mov dword [0x10061388], eax
test eax, eax
je 0x10047291
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10061384], eax
mov eax, dword [0x10061384]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100472ea
cmp dword [0x10061388], ecx
je 0x100472ea
push eax
call esi
push dword [0x10061388]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100472ea
test ebx, ebx
je 0x100472ea
call edi
test eax, eax
je 0x100472e1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100472e1
test byte [ebp - 8], 1
jne 0x100472ea
or dword [ebp + 0x10], 0x200000
jmp 0x1004731d
mov eax, dword [0x1006137c]
cmp eax, dword [ebp - 0x18]
je 0x1004731d
push eax
call esi
test eax, eax
je 0x1004731d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004731d
mov eax, dword [0x10061380]
cmp eax, dword [ebp - 0x18]
je 0x1004731d
push eax
call esi
test eax, eax
je 0x1004731d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10061378]
call esi
test eax, eax
je 0x10047339
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1004733b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034caa
leave
ret
Function at 0x40161e
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 8], 2
push ebx
push esi
mov esi, dword [sym.imp.MSVCR120.dll_strcat_s]
mov ebx, 0x80
push edi
mov byte [0x4071c8], 0
mov edi, 0x4071c8
je 0x40164d
push str.Ctrl
push ebx
push edi
call esi
add esp, 0xc
test byte [ebp + 8], 8
je 0x40165f
push str.Win
push ebx
push edi
call esi
add esp, 0xc
test byte [ebp + 8], 1
je 0x401671
push str.Alt
push ebx
push edi
call esi
add esp, 0xc
push edi
call sub.MSVCR120.dll_strlen
pop ecx
push 2
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and al, 0x7f
mov byte [esi + 0x4071c8], al
inc esi
cmp esi, ebx
jae 0x4016a0
mov eax, edi
mov byte [esi + 0x4071c8], 0
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00403964
int3

Function at 0x4016eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x407060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401761
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00403a52
mov esp, ebp
pop ebp
ret

Function at 0x401773
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x407060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 5
push eax
push eax
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40185d
push esi
lea eax, [ebp - 0x20c]
mov esi, 0x80000000
push eax
push str..htm
push esi
call fcn.004016eb
add esp, 0xc
test eax, eax
jne 0x40185c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push str._shellopencommand
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
push eax
push esi
call fcn.004016eb
add esp, 0xc
test eax, eax
jne 0x40185b
lea eax, [ebp - 0x20c]
push str.__1_
push eax
call dword [sym.imp.MSVCR120.dll_strstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40183d
lea eax, [ebp - 0x20c]
push 0x4056a0
push eax
call dword [sym.imp.MSVCR120.dll_strstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40183d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x20d]
jmp 0x401840
mov byte [esi], 0
push 0x4056a4
push esi
call ebx
push edi
push esi
call ebx
push 5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00403a52
mov esp, ebp
pop ebp
ret
Function at 0x4025b4
Capabilities:
Log keystrokes via application hook

Disassembly:
call fcn.0040266f
push 0
push dword [0x40717c]
push 0x4018eb
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x407180], eax
ret
Function at 0x402ee5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x407060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x94
lea eax, [ebp - 0x98]
push esi
xor ebx, ebx
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x402f41
cmp dword [ebp - 0x94], 5
ja 0x402f35
inc ebx
jmp 0x402f41
cmp dword [ebp - 0x90], ebx
setne bl
add ebx, 2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a52
mov esp, ebp
pop ebp
ret
Function at 0x10001d41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
call fcn.1001e73a
mov esi, eax
test esi, esi
je 0x10001d9f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x13], 0x74707972
push eax
push esi
mov dword [ebp - 0xf], 0x74736544
mov byte [ebp - 0x14], 0x43
mov word [ebp - 0xb], 0x6f72
mov word [ebp - 8], 0x6148
mov word [ebp - 5], 0x68
mov byte [ebp - 6], 0x73
mov byte [ebp - 9], 0x79
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001d98
push dword [ebp + 8]
call eax
mov ebx, eax
push esi
call fcn.1001ea1e
pop ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001da7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
call fcn.1001e73a
mov esi, eax
test esi, esi
je 0x10001e0a
lea eax, [ebp - 0x10]
mov word [ebp - 0xf], 0x7972
push eax
push esi
mov dword [ebp - 7], 0x61746144
mov word [ebp - 0xc], 0x4874
mov byte [ebp - 0x10], 0x43
mov word [ebp - 9], 0x6873
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 3], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001e03
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
push esi
call fcn.1001ea1e
pop ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001e12
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
call fcn.1001e76c
mov esi, eax
test esi, esi
je 0x10001e8d
lea eax, [ebp - 0x1c]
mov word [ebp - 0x16], 0x6f64
push eax
push esi
mov word [ebp - 8], 0x7373
mov dword [ebp - 0x13], 0x65726854
mov dword [ebp - 0xd], 0x636f7250
mov word [ebp - 0x1c], 0x6547
mov word [ebp - 0x19], 0x6957
mov byte [ebp - 9], 0x65
mov byte [ebp - 0x17], 0x6e
mov word [ebp - 0xf], 0x6461
mov word [ebp - 5], 0x64
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 6], 0x49
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001e86
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
push esi
call fcn.1001ea1e
pop ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001e95
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x6c416c61
xor ebx, ebx
mov word [ebp - 3], 0x636f
push eax
mov word [ebp - 0xb], 0x6f6c
mov byte [ebp - 4], 0x6c
mov byte [ebp - 0xc], 0x47
mov byte [ebp - 1], bl
mov byte [ebp - 9], 0x62
call fcn.10020af2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001ede
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret