joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4040b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4130f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404137
push ebx
push esi
push 0xff
lea eax, [ebp - 0x103]
push 0
xor bl, bl
push eax
mov byte [ebp - 0x104], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x40411d
test byte [ebp - 0xf2], 0x80
jne 0x40411d
push 0
push 0
push 0xb8
push 0x12
call esi
mov bl, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test bl, bl
je 0x404135
push 0
push 2
push 0xb8
push 0x12
call esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f020
mov esp, ebp
pop ebp
ret

Function at 0x404e10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4130f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCR100.dll_memset
lea eax, [esi + 0xdd8]
add esp, 0xc
cmp byte [eax], 0
je 0x404e5c
lea edx, [ebp - 0x104]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404e50
jmp 0x404e75
mov edx, dword [0x413970]
push 0xff
lea ecx, [ebp - 0x104]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
lea edi, [ebp - 0x104]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404e80
mov eax, dword [0x410b90]
mov dword [edi], eax
lea eax, [esi + 0x514]
lea edx, [ebp - 0x204]
sub edx, eax
pop edi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404ea0
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404eb3
sub eax, edx
mov ecx, 0xff
sub ecx, eax
push ecx
lea eax, [ebp - 0x204]
call fcn.004021e0
push eax
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR100.dll_strncat]
mov ecx, dword [esi + 0xdd4]
lea eax, [ebp - 0x104]
push eax
push ecx
call fcn.0040ed50
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x14
call fcn.0040f020
mov esp, ebp
pop ebp
ret
Function at 0x408ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp byte [edi + 0x401], 1
jne 0x40907e
push ebx
push esi
call fcn.004052b0
push 0x413148
call fcn.0040ee10
mov eax, dword [edi + 0xdbc]
push eax
call fcn.004024f0
mov ecx, dword [0x413970]
mov edx, dword [edi + 0xdc0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push ecx
push 0
push 0x8fbf
push edx
mov dword [ebp - 4], eax
call esi
mov eax, dword [edi + 0xdbc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ecx, dword [edi + 0xdc4]
push 0
push ecx
call ebx
mov edx, dword [0x413974]
mov eax, dword [edi + 0xdbc]
mov ebx, dword [sym.imp.USER32.dll_SetParent]
push edx
push eax
call ebx
mov ecx, dword [0x413970]
mov edx, dword [edi + 0xdc4]
push ecx
push edx
call ebx
mov eax, dword [0x413970]
mov ecx, dword [edi + 0xdc0]
push eax
push 0xffffffffffffffff
push 0x8fc0
push ecx
call esi
mov edx, dword [edi + 0xdd4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0xdc0]
push 0
push 0
push 0x8fba
push eax
mov byte [edi + 0x401], 0
mov byte [edi + 0x511], 0
call esi
mov ecx, dword [edi + 0xdd4]
mov edx, dword [edi + 0xdc0]
push ecx
push 0
push 0x8fbc
push edx
call esi
push 0
mov ebx, edi
call fcn.00404ae0
add esp, 4
call fcn.00403590
mov ecx, edi
call fcn.004045c0
mov eax, dword [edi + 0xdc0]
push 0
push 0
push 0x8052
push eax
call esi
push 0
call fcn.00408230
add esp, 4
push 0
push 0
mov ecx, dword [0x413974]
push 0x130b
push ecx
call esi
mov ebx, dword [ebp - 4]
cmp eax, ebx
je 0x40904a
mov ecx, eax
call fcn.004024a0
call fcn.004053d0
mov edx, dword [0x413974]
push 0
push ebx
push 0x130c
push edx
call esi
push 0
push 0
push 1
mov ecx, edi
call fcn.00407c00
mov esi, edi
call fcn.00403dc0
call fcn.00403e40
mov eax, dword [edi + 0xdc0]
push eax
call fcn.0040ece0
push 0x413148
call fcn.0040ee20
add esp, 0x14
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40ef60
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xa
push eax
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x40eff8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40efe5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
push 0
push 0x100
push 2
push 0
push 0
push 0x40000000
push ecx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40efe5
mov eax, dword [ebp + 0xc]
push 0
lea edx, [ebp + 0xc]
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40f020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4130f0]
jne 0x40f02a
repz ret
jmp fcn.0040f458

Function at 0x401450
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40900c
push 0x80000002
call dword [0x436e0c]
test eax, eax
jne 0x40147c
mov eax, 0xd903
jmp 0x401526
mov dword [0x436e04], 0x24e1
mov ecx, dword [0x436e04]
sub ecx, 0x24e1
mov dword [0x436e04], ecx
mov edx, 1
test edx, edx
je 0x401526
mov eax, dword [0x436e04]
cmp eax, dword [ebp + 0xc]
jb 0x4014b1
jmp 0x401526
cmp dword [0x436e04], 0
jne 0x4014cf
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4014cf
xor eax, eax
jmp 0x401526
mov ecx, dword [ebp + 8]
add ecx, dword [0x436e04]
mov edx, dword [ecx]
add edx, dword [0x436e04]
mov eax, dword [ebp + 8]
add eax, dword [0x436e04]
mov dword [eax], edx
mov dword [ebp - 8], 0x3c615bf
mov ecx, dword [0x436e04]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [0x436e04]
push ecx
call fcn.00401200
add esp, 8
mov edx, dword [0x436e04]
add edx, 4
mov dword [0x436e04], edx
jmp 0x401498
mov esp, ebp
pop ebp
ret

Function at 0x401a70
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x436df0]
push dword [0x436df0]
push 0x401a8b
jmp fcn.004015c0
Function at 0x1000235c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102f0f60]
jne 0x10002366
repz ret
jmp fcn.1000260d

Function at 0x100039e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [fcn.100039e0]
mov dword [ebp - 8], eax
mov dword [0x102f0f34], 0x1189
jmp 0x10003a38
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov al, 1
test al, 1
jne 0x10003a38
jmp 0x10003a58
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
sete dl
mov byte [ebp - 0xd], dl
mov al, byte [ebp - 0xd]
test al, 1
jne 0x10003a4e
jmp 0x10003a56
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10003a19
jmp 0x100039fb
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10003a61
jmp 0x100039fb
mov dword [ebp - 4], 0
jmp 0x10003a61
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x18
pop ebp
ret
Function at 0x10003d30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov eax, 4
mov dword [ebp - 0x10], eax
call fcn.10001ef0
mov eax, esp
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, ecx
call fcn.10001ef0
mov eax, esp
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, ecx
call fcn.10001ef0
mov eax, esp
mov dword [0x102f0f34], 0x2433
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov dword [0x102f0f38], 0xb4
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x30]
mov dword [ecx], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10003e4a
mov eax, dword [0x102f0f34]
sub eax, 0x2d4
mov dword [0x102f0f38], eax
jmp 0x10003e78
mov dword [0x102f0f38], 0x1819
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x16]
cmp ecx, 0x61
je 0x10003eae
jmp 0x10003f1b
mov dword [0x102f0f34], 0x46e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0xe]
cmp ecx, 0x6c
jne 0x10003f12
mov eax, dword [0x102f0f38]
sub eax, 0x20b3
mov dword [0x102f0f34], eax
mov dword [ebp - 0xc], 1
jmp 0x10003f35
jmp 0x10003f1b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x1a]
cmp ecx, 0x6c
je 0x10003e87
jmp 0x10003f1f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, 0x104
jge 0x10003e2e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2]
cmp ecx, 0
jne 0x10003dab
jmp 0x10003e2e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x10003e4a
mov dword [0x102f0f34], 0x1dcf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [esi + ecx*2 - 0x18]
cmp ecx, 0x6f
je 0x10003dbf
jmp 0x10003f1d
mov eax, dword [0x102f0f34]
add eax, 0x11ea
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [0x102f0f34], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi]
movzx edx, word [edx + edi*2 - 0x14]
cmp edx, 0x64
jne 0x10003e29
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x12]
cmp ecx, 0x64
jne 0x10003f16
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [esi + ecx*2 - 0x10]
cmp ecx, 0x6c
je 0x10003de9
jmp 0x10003f14
jmp 0x10003f14
jmp 0x10003f16
jmp 0x10003e29
jmp 0x10003f1d
jmp 0x10003f1f
mov eax, dword [0x102f0f34]
add eax, 0x1a27
mov dword [0x102f0f34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10001020
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x10096818]
push ebx
push esi
xor esi, esi
test eax, eax
push edi
jne 0x1000105d
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x10001053
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x100816e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10096814], eax
mov dword [0x10096818], 1
mov eax, dword [0x10096814]
test eax, eax
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x1000107a
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x100010b5
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
test eax, eax
jne 0x100010aa
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
mov eax, dword [esp + 0x14]
jns 0x1000109c
mov ecx, dword [eax + 8]
push ecx
call dword [eax]
jmp 0x100010a3
mov edx, dword [eax + 0xc]
push edx
call dword [eax + 4]
test eax, eax
je 0x100010bd
mov dword [ebp], eax
push edi
push eax
call ebx
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc

Function at 0x100013f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001409
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1000141d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1000143e
cmp esi, eax
jae 0x10001417
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001430
cmp esi, eax
jae 0x10001417
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x100015d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100015f0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x10001620
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10001632
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10002270
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x100967f8]
push edi
xor edi, edi
test eax, eax
je 0x10002287
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x10096800]
test eax, eax
je 0x10002299
mov eax, 1
pop edi
ret 4
mov eax, dword [0x100967f8]
test eax, eax
push esi
jne 0x100022ac
call fcn.10002080
test eax, eax
je 0x100022ee
mov eax, dword [0x10096848]
test eax, eax
mov esi, dword [0x10094104]
jne 0x100022d8
push str.ActivateActCtx
push 0x1009681c
push 0x1008172c
call fcn.10001020
test eax, eax
mov dword [0x10096848], eax
je 0x100022ee
mov ecx, dword [esp + 0xc]
push ecx
push esi
call eax
test eax, eax
je 0x100022ee
pop esi
mov eax, 1
pop edi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x100022fe
cmp eax, 0x78
jne 0x1000230d
mov eax, 1
pop esi
mov dword [0x10096800], eax
pop edi
ret 4
pop esi
mov eax, edi
pop edi
ret 4

Function at 0x10002450
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov edx, dword [esp + 0x11c]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 8]
mov esi, eax
test esi, esi
jne 0x100024ae
test ecx, ecx
je 0x100024a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 8], ecx
je 0x100024ca
test ecx, ecx
je 0x1000256d
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0x118
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x10002534
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.10002450
mov edi, eax
test edi, edi
jne 0x1000257a
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x100024f6
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x1000254b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x124]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x1000256d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x10002589
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x118
ret 4
Function at 0x10006f70
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x560
push ebx
push ebp
push esi
push edi
push str.RSS_FIND_WINDOW_MUTEX
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x10007117
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10006fbc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.RSS_Feed
call ebp
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x10007104
mov eax, dword [str.RUNDLL32]
mov ecx, dword [0x10081c94]
mov dx, word [0x10081c98]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
xor eax, eax
mov word [esp + 0x178], dx
mov ecx, 0xfd
lea edi, [esp + 0x17a]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10098990]
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Feed.dll
lea ecx, [esp + 0x6c]
push ecx
call edi
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10007117
push 0x104
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0x174]
push ecx
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push str._EntryPoint
lea eax, [esp + 0x174]
push eax
call edi
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], edx
mov ecx, 0xf
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x24]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
lea eax, [esp + 0x190]
push eax
push edx
mov dword [esp + 0x38], edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x10]
push 0x1388
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
push 0
push str.RSS_Feed
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007a4f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
mov ebx, ecx
mov dword [ebx], eax
mov eax, dword [ebp + 4]
push esi
sub eax, 0x10
push edi
push eax
mov dword [esp + 0x14], ebx
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x24], 0
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 1
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 2
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 3
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 4
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 5
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x3c], 6
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x20], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebx + 0x24], ecx
lea esi, [ebp + 0x28]
lea edi, [ebx + 0x28]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x4c]
mov byte [esp + 0x3c], 7
sub eax, 0x10
push eax
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x50]
sub eax, 0x10
push eax
mov byte [esp + 0x44], 8
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x50], eax
mov edx, dword [ebp + 0x54]
mov dword [ebx + 0x54], edx
mov eax, dword [ebp + 0x58]
mov dword [ebx + 0x58], eax
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + 0x5c], ecx
mov edx, dword [ebp + 0x60]
mov dword [ebx + 0x60], edx
mov eax, dword [ebp + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x68]
sub eax, 0x10
push eax
mov byte [esp + 0x48], 9
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x6c]
sub eax, 0x10
push eax
mov byte [esp + 0x4c], 0xa
call fcn.10002a40
add eax, 0x10
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 0x70]
sub eax, 0x10
push eax
mov byte [esp + 0x50], 0xb
call fcn.10002a40
add esp, 0x34
add eax, 0x10
mov dword [ebx + 0x70], eax
lea ecx, [ebp + 0x74]
mov eax, dword [ecx]
lea edx, [ebx + 0x74]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0x80]
mov dword [ebx + 0x80], edx
mov eax, dword [ebp + 0x84]
mov dword [ebx + 0x84], eax
mov ecx, dword [ebp + 0x88]
pop edi
mov dword [ebx + 0x88], ecx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4