joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4845d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0048aa50
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4846c9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004846e0
test eax, eax
jne 0x4846c9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004846e0
test eax, eax
jne 0x4846c9
lea edx, [esp + 0x10]
push 0x5ba340
push edx
call fcn.00497a20
mov esi, eax
add esp, 8
test esi, esi
jne 0x48469a
lea eax, [esp + 0x10]
push 0x5ba33c
push eax
call fcn.00497a20
mov esi, eax
add esp, 8
test esi, esi
jne 0x48469a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x48469d
mov byte [esi], 0
push 0x5b9b04
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4846e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x484742
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x48a990
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b82f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x48aa40
mov eax, dword [0x5bad5c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004a7f9d
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004a7fec
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004a7f49
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x48aa27
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x48aa27
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a7bb9
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48db40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b8780
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48dce7
mov ecx, dword [0x5bad5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x48dc3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0048c860
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004a7ca6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004a7bb9
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5b9b04
call fcn.004a7c27
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0048cc20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004a7ca6
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004a7bb9
lea ecx, [esp + 0xc]
call fcn.004a8081
mov ecx, dword [esp + 0xc]
push 0x5ba544
push ecx
call fcn.004969e4
add esp, 8
test eax, eax
je 0x48dc64
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x48db9d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004a7bb9
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a7bb9
jmp 0x48dceb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0048d8e0
test eax, eax
push 0
je 0x48dccf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0048bf80
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x48dcb5
cmp eax, 0x64
jg 0x48dca3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x48dc40
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x48dc40
cmp eax, 0x64
jge 0x48dc3c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x48dc40
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0048bf80
mov esi, eax
jmp 0x48dc40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x48dcf5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4a9f9a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a9fd2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a8014
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a7fec
jmp 0x4a9fde
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ab68f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ab6d1
call fcn.004b1657
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ab6d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ab6c8
xor eax, eax
jmp 0x4ab6d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ab6df
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b1b87
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b1bb5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1bd3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b1aed
jmp 0x4b1bd3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b1bd3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b1aed
test edi, edi
mov eax, edi
jne 0x4b1bbd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10004700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10030d22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], sym.InputIndexFile.dll_const_processor_plugin::vftable
call dword [0x100350a4]
xor ebx, ebx
lea eax, [esi + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], 8
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.1000b020
lea ecx, [esi + 0x6c]
mov byte [esp + 0x14], 2
call dword [0x100350a4]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10004a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10030d7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], sym.InputIndexFile.dll_const_extractor_plugin::vftable
call dword [0x100350a4]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call dword [0x100350a4]
lea eax, [esi + 0x58]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov eax, 8
mov dword [esi + 0x68], eax
lea ecx, [esi + 0x7c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x90], ebx
mov byte [esi + 0x94], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10005200
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10030ca9
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push esi
mov dword [esp + 0x10], 0
call dword [0x10035098]
sub esp, 0x1c
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [0x1003509c]
mov ecx, dword [esp + 0x34]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push 0
push esi
call fcn.10005030
add esp, 0x28
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0xffffffff
call dword [0x100350a0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x10007aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10030f79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], sym.InputIndexFile.dll_const_input_plugin::vftable
lea ecx, [esi + 0x90]
mov dword [esp + 0x18], 5
call dword [0x100350a0]
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 4
call fcn.1000b030
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x100350a0]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x100350a0]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x100350a0]
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x18], bl
je 0x10007b3f
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.100061d0
mov eax, dword [edi + 4]
push eax
call fcn.1002d84c
add esp, 0x14
lea ecx, [esi + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x18], 0xffffffff
call dword [0x100350a0]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10007cb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10030f79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0xc], esi
mov dword [esi], sym.InputIndexFile.dll_const_input_plugin::vftable
call dword [0x1003509c]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], 0
call fcn.100073c0
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x1003509c]
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x1003509c]
lea ecx, [edi + 0x68]
push ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x1003509c]
mov dl, byte [edi + 0x84]
mov byte [esi + 0x84], dl
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
add edi, 0x90
push edi
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 5
call dword [0x1003509c]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x100098c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10031131
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, dword [esp + 0x40]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
mov dword [esp + 8], 1
call dword [0x100350a4]
mov byte [esp + 0x2c], 1
push str.index::none
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 1
call dword [0x100350a8]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], 1
call fcn.10009750
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call dword [0x100350a0]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x10017060
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
push esi
mov esi, edx
lea eax, [ecx + 0x58]
mov ecx, edx
and esi, 3
shr edx, 2
je 0x100170a6
push ebx
push edi
jmp 0x10017080
movzx edi, word [eax]
add ecx, edi
movzx edi, word [eax + 2]
mov ebx, ecx
shl ebx, 5
xor edi, ebx
shl edi, 0xb
xor ecx, edi
mov edi, ecx
shr edi, 0xb
add eax, 4
add ecx, edi
sub edx, 1
jne 0x10017080
pop edi
pop ebx
sub esi, 1
je 0x100170e5
sub esi, 1
je 0x100170d0
sub esi, 1
jne 0x100170f7
movzx edx, word [eax]
movsx eax, byte [eax + 2]
add eax, eax
add ecx, edx
add eax, eax
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov edx, ecx
shr edx, 0xb
jmp 0x100170f5
movzx eax, word [eax]
add ecx, eax
mov edx, ecx
shl edx, 0xb
xor ecx, edx
mov eax, ecx
shr eax, 0x11
add ecx, eax
jmp 0x100170f7
movsx edx, byte [eax]
add ecx, edx
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov edx, ecx
shr edx, 1
add ecx, edx
lea eax, [ecx*8]
xor ecx, eax
mov edx, ecx
shr edx, 5
add ecx, edx
mov eax, ecx
shl eax, 4
xor ecx, eax
mov edx, ecx
shr edx, 0x11
add ecx, edx
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
pop esi
ret 4
Function at 0x1002fcd0
Capabilities:
Authenticate hmac
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x1005c830]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
push ebx
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
push 0x40
mov edi, edx
lea edx, [esp + 0xcc]
push 0x36
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.1002e116
push 0x40
lea eax, [esp + 0x98]
push 0x5c
push eax
call fcn.1002e116
add esp, 0x18
xor edx, edx
test ebp, ebp
jbe 0x1002fd57
lea esi, [esp + 0xc8]
lea ebx, [esp + 0x88]
sub esi, edi
mov eax, edi
sub ebx, edi
nop
cmp edx, 0x40
jae 0x1002fd57
mov cl, byte [eax]
xor byte [esi + eax], cl
xor byte [ebx + eax], cl
add edx, 1
add eax, 1
cmp edx, ebp
jb 0x1002fd40
lea ecx, [esp + 0x18]
mov ebp, 0x98badcfe
mov ebx, 0x10325476
mov edi, 0xc3d2e1f0
push ecx
lea eax, [esp + 0xcc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], 0x40
call fcn.1002e560
mov eax, dword [esp + 0x11c]
add esp, 4
test eax, eax
je 0x1002fdc2
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
call fcn.1002fa60
add esp, 4
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.1002faf0
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x90]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], 0x40
call fcn.1002e560
mov eax, dword [esp + 0x20]
mov esi, eax
mov ebx, 0x14
and esi, 0x3f
mov edi, 0x40
add eax, ebx
add esp, 8
sub edi, esi
cmp eax, ebx
lea ebp, [esp + 0x74]
mov dword [esp + 0x18], eax
jae 0x1002fe38
add dword [esp + 0x1c], 1
test esi, esi
je 0x1002fe91
cmp edi, ebx
ja 0x1002fe91
push edi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + esi + 0x3c]
push eax
call fcn.1002d92c
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x44]
call fcn.1002e560
sub ebx, edi
add esp, 0x10
xor esi, esi
cmp ebx, 0x40
lea ebp, [esp + edi + 0x74]
jb 0x1002fe8d
mov edi, ebx
shr edi, 6
lea edx, [esp + 0x18]
push edx
mov eax, ebp
call fcn.1002e560
add esp, 4
sub ebx, 0x40
add ebp, 0x40
sub edi, 1
jne 0x1002fe73
test ebx, ebx
je 0x1002fea0
push ebx
lea eax, [esp + esi + 0x38]
push ebp
push eax
call fcn.1002d92c
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1002faf0
mov ecx, dword [esp + 0x10c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002de3b
add esp, 0xfc
ret
Function at 0x100302b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1005c830]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push edi
mov edi, edx
push edi
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, ecx
mov dword [esp + 0x24], ebp
call fcn.1002d92c
mov ecx, ebx
sar ecx, 0x18
mov edx, ebx
sar edx, 0x10
mov eax, ebx
mov byte [esp + edi + 0x3c], cl
mov byte [esp + edi + 0x3d], dl
mov edx, dword [esp + 0x6c]
sar eax, 8
mov byte [esp + edi + 0x3e], al
mov byte [esp + edi + 0x3f], bl
add edi, 4
push edi
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x34]
mov edx, ebp
call fcn.1002fcd0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x4b]
sub eax, esi
mov dword [esp + 0x28], eax
lea edi, [esp + 0x48]
lea ebx, [esp + 0x49]
lea ebp, [esp + 0x4a]
lea eax, [esp + 0x4c]
add esp, 0x18
sub edi, esi
sub ebx, esi
sub ebp, esi
sub eax, esi
mov dword [esi + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xfff
jmp 0x10030370
mov eax, dword [esp + 0x60]
push 0x14
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002fcd0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0xc
mov dword [esp + 0x2c], edx
mov eax, esi
mov ecx, 4
jmp 0x100303c0
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ebx + eax]
xor byte [eax + 1], dl
movzx edx, byte [eax + ebp]
xor byte [eax + 2], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + eax]
xor byte [eax + 3], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + eax]
xor byte [eax + 4], dl
add eax, 5
sub ecx, 1
jne 0x100303c0
sub dword [esp + 0xc], 1
jne 0x10030370
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1002de3b
add esp, 0x4c
ret
Function at 0x415730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48966b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047bb5e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4157b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004794da
mov eax, dword [eax]
push 0x599230
push eax
call fcn.0046aea4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047bde9
test bl, bl
je 0x4157b2
push 0x599230
lea ecx, [esp + 0xc]
call fcn.0047c1c5
push 0x59cdc0
lea ecx, [esp + 0xc]
call fcn.0047c1c5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4157ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047bde9
jmp 0x4158b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x415872
lea edx, [esp + 0x7c]
push 0x59cdbc
push edx
call fcn.0046aea4
add esp, 8
test eax, eax
je 0x415872
lea eax, [esp + 0x7c]
push 0x59cdb8
push eax
call fcn.0046aea4
add esp, 8
test eax, eax
je 0x415872
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415802
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047bde9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x416b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416b92
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x416ba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4897cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a44d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x416cd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x416c06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047bde9
xor eax, eax
jmp 0x416d4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047bf72
push esi
lea ecx, [esp + 0xc]
call fcn.0047c201
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x416d2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00416b30
test eax, eax
jne 0x416d2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.00416b30
test eax, eax
jne 0x416d2d
lea eax, [esp + 0x14]
push 0x59cdd4
push eax
call fcn.0046c0e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x416d0c
lea ecx, [esp + 0x14]
push 0x59cdd0
push ecx
call fcn.0046c060
mov esi, eax
add esp, 8
test esi, esi
jne 0x416d0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x416d0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047bf22
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x416c1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047bde9
xor eax, eax
jmp 0x416d4f
mov byte [esi], 0
push 0x59cdcc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047bde9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4