joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dfe20
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10167368]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x100dff5e
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100dff54
cmp dword [ebp - 0x20], 0x10
jb 0x100dff38
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100dff38
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100dff38
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100dfec8
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x101fab5c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100dfec6
jmp 0x100dff54
jmp 0x100dff18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100dff18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101fab5c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100dff02
jmp 0x100dff54
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100dfe62
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e1968
mov esp, ebp
pop ebp
ret
Function at 0x100e0090
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100dfe20
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100e012d
mov dword [ebp - 4], 0
jmp 0x100e00d9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100e012d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e012b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100e0460
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e00d0
mov esp, ebp
pop ebp
ret

Function at 0x100e05e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100e0654
mov dword [ebp - 4], 0
jmp 0x100e0600
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100e0640
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e063e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e05f7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101fab5c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x100e0760
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1026e49c]
mov dword [ebp - 4], eax
jmp 0x100e0778
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100e078e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100e078c
mov eax, dword [ebp - 4]
jmp 0x100e0809
jmp 0x100e0770
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100e0806
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100e07c8
mov edx, dword [ebp - 4]
mov eax, dword [0x1026e49c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1026e49c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100e0d10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100e0d59
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100e0d59
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100e0d59
xor eax, eax
jmp 0x100e0d9a
mov dword [ebp - 4], 1
jmp 0x100e0d6b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100e0d95
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100e0d93
xor eax, eax
jmp 0x100e0d9a
jmp 0x100e0d62
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100e8240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100e8265
push dword [edi + 0x74]
call eax
add esp, 4
push ebx
push esi
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100e82cb
nop
mov ebx, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x100e82c4
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x100e8297
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x100e8286
jmp 0x100e82c4
test edx, edx
jne 0x100e82a0
mov dword [ebx + 0x54], ecx
jmp 0x100e82a3
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100e82b0
push esi
call eax
add esp, 4
push esi
call fcn.100e87c0
mov eax, dword [esp + 0x20]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [edi + 0x54]
test esi, esi
jne 0x100e8270
lea eax, [edi + 0x6c]
test eax, eax
je 0x100e834e
test ebp, ebp
je 0x100e834e
mov ebx, dword [eax]
test ebx, ebx
je 0x100e8341
nop dword [eax]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100e82f7
push esi
call eax
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100e830b
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100e831c
push eax
mov eax, dword [ebp + 8]
push ebp
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [ebp + 8]
push esi
push ebp
call eax
mov eax, dword [ebp + 8]
push ebx
push ebp
call eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100e82e0
lea eax, [edi + 0x6c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x58], 0
test eax, eax
je 0x100e8362
push edi
call eax
add esp, 4
push ebp
push edi
call fcn.100e81c0
mov eax, dword [esp + 0x18]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100e837d
push edi
call eax
add esp, 4
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x100e83af
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x100e839b
push esi
call eax
add esp, 4
test dword [esp + 0x20], 0x400
jne 0x100e83af
mov eax, dword [ebx + 8]
push esi
push ebx
call eax
add esp, 8
mov eax, dword [edi + 0x80]
mov dword [edi + 0x68], 0
pop esi
pop ebx
test eax, eax
je 0x100e83d6
push eax
mov eax, dword [ebp + 8]
push ebp
call eax
add esp, 8
mov dword [edi + 0x80], 0
mov eax, dword [ebp + 8]
push edi
push ebp
call eax
add esp, 8
pop edi
pop ebp
pop ecx
ret
Function at 0x1012ed60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
xorps xmm0, xmm0
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [ebp + 0x318]
movups xmmword [ebx], xmm0
push esi
movq qword [ebx + 0x10], xmm0
movzx ecx, word [ebp + 0x98]
mov eax, dword [ebp + 0x9c]
shl ecx, 4
add ecx, eax
push edi
cmp eax, ecx
jae 0x1012ef4d
cmp dword [eax], 0x42444620
jne 0x1012eda5
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x1012edb9
add eax, 0x10
cmp eax, ecx
jb 0x1012ed96
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x14
ret
push dword [eax + 8]
mov edi, dword [esp + 0x30]
push edi
call fcn.100e7610
add esp, 8
test eax, eax
jne 0x1012ef4d
cmp esi, 8
jb 0x1012ef4d
push ebx
push esi
push edi
call fcn.100e6d20
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1012ef4d
mov eax, dword [ebx]
lea ecx, [eax + esi]
mov dword [ebp + 0x31c], ecx
mov ecx, eax
movzx edi, byte [ecx + 2]
movzx eax, byte [ecx + 3]
movzx edx, byte [ecx + 5]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 4]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 7]
movzx ecx, byte [ecx + 1]
shl edx, 8
or edx, eax
mov eax, dword [ebx]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
cmp ecx, 1
jne 0x1012ef35
cmp edx, 8
jb 0x1012ef35
lea eax, [edx - 8]
shr eax, 2
cmp eax, edi
jb 0x1012ef35
lea eax, [edx + 1]
cmp eax, esi
ja 0x1012ef35
mov eax, dword [ebx]
sub esi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [ebp + 0x328], edi
mov dword [ebp + 0x324], esi
lea ecx, [eax + edx]
mov dword [ebp + 0x320], ecx
lea edx, [eax + 8]
lea eax, [edx + edi*4]
mov dword [esp + 0x10], eax
cmp edi, 2
jb 0x1012eef1
lea esi, [edi - 2]
xor ebx, ebx
shr esi, 1
inc esi
xor ebp, ebp
movzx ecx, byte [edx + 2]
sub edi, 2
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ecx + ecx*4]
movzx ecx, byte [edx + 6]
lea ebx, [ebx + eax*2]
shl ecx, 8
movzx eax, byte [edx + 7]
add edx, 8
or ecx, eax
lea eax, [ecx + ecx*4]
lea ebp, [ebp + eax*2]
sub esi, 1
jne 0x1012eea5
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov esi, dword [ebp + 0x320]
lea ebx, [ebp + 0x318]
jmp 0x1012eef3
mov esi, ecx
test edi, edi
je 0x1012ef10
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
lea eax, [ecx + ecx*4]
lea edx, [edx + eax*2]
jmp 0x1012ef14
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
add eax, edx
cmp eax, esi
ja 0x1012ef35
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov byte [ebp + 0x32c], 1
pop ebp
pop ebx
add esp, 0x14
ret
push ebx
push dword [esp + 0x30]
call fcn.100e75d0
xorps xmm0, xmm0
add esp, 8
movups xmmword [ebx], xmm0
movq qword [ebx + 0x10], xmm0
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10270aa6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
ret
jne 0x1027349d
mov eax, dword [edx + 0x78]
cmp edx, ebp
mov dword [ebp - 4], eax
jmp 0x1025bf60
mov edx, dword [edi + 0x3c]
cmp ax, 0x65f0
add edx, edi
clc
test cx, sp
cmp dword [edx], 0x4550
jmp 0x1014fa20
lea edx, [edx + edi]
mov dword [ebp + 8], 0
mov dword [ebp - 0xc], edx
test ebx, ebx
jl 0x1026adb1
jmp 0x1016e2d6
je 0x1026adb1
mov edx, dword [eax + edi + 0x20]
jmp 0x1027445b
or esi, 0xffffffff
stc
mov dword [ebp - 0x10], edx
cmc
mov dword [ebp - 8], esi
test ebx, ecx
cmp ecx, 0xffff
jmp 0x101613aa
ja 0x1025ef33
sub ecx, dword [eax + edi + 0x10]
test ebx, edi
cmp ecx, dword [eax + edi + 0x14]
jmp 0x1025f2d1
mov esp, ebp
not bp
pop ebp
jmp 0x10146a51
test ecx, ecx
jmp 0x10273489
je 0x1027349d
mov edx, dword [edx + 0x7c]
push ebx
push esi
jmp 0x101612ae
mov esp, ebp
jmp 0x10276a9b
mov ecx, dword [ecx + edi]
test si, 0x17fc
stc
test ecx, ecx
jne 0x1027214f
pop esi
shl bl, cl
add bl, 0x31
pop ebx
adc edi, 0x6d6a75ef
ror edi, 0x43
xor eax, eax
movsx edi, bx
pop edi
jmp 0x1025b1cc
test eax, eax
jmp 0x1016ef52
mov ebx, dword [eax + edi + 0x18]
test di, 0x83d
cmc
test ebx, ebx
jmp 0x1015790f
jae 0x10171c87
mov edx, dword [eax + edi + 0x1c]
cmp eax, edx
stc
cmc
lea ecx, [edx + ecx*4]
jmp 0x1025bbb7
push ebp
sbb bp, si
shr bp, 0x3b
bsf bp, bp
mov ebp, esp
test sp, sp
sub esp, 0x114
test al, 0xe9
cmc
push edi
mov edi, dword [ebp + 8]
cmc
test edi, edi
je 0x1027349d
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jmp 0x1016d526
je 0x1027349d
mov eax, 0x5a4d
cmp word [edi], ax
je 0x10155519
xor eax, eax
pop edi
jmp 0x10164b94
dec ebx
jmp 0x10155842
pop ebp
ret
Function at 0x401d21
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x401d5b
push 6
call fcn.0047e075
add esp, 4
jmp 0x401d60
mov esp, ebp
pop ebp
ret 4

Function at 0x4039cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x4c2f89]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x403a1a
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403a31
mov eax, 0x4bbbde
jmp 0x403b2f
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x4c2f89]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x403a59
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403a70
mov eax, 0x4bbbde
jmp 0x403b2f
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x403a92
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403aa9
mov eax, 0x4bbbde
jmp 0x403b2f
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0047eae0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403adc
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403af3
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x403b10
push 6
call fcn.0047e075
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403b2a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047e069
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403b2f
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403b40
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40dc7b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40dca8
push 6
call fcn.0047e075
add esp, 4
jmp 0x40dcad
mov esp, ebp
pop ebp
ret 4

Function at 0x40fe5f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0047eb20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40fea4
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40fecf
push 6
call fcn.0047e075
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x40feeb
push eax
mov ebx, eax
call fcn.00401a27
inc eax
push eax
call fcn.0047e069
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40fef0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ff01
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x411170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x50
call fcn.0047e069
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x14
rep stosd dword es:[edi], eax
push 0x4bbbb7
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.0040198a
add esp, 8
cmp eax, 0
jne 0x411246
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4bbcd2
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4111e4
mov eax, 0x4bbbb7
push eax
push 4
mov ebx, 0x14c
call fcn.00482310
add esp, 0x34
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x411214
mov eax, 0x4bbbb7
push eax
push 2
mov ebx, 0x134
call fcn.00480d10
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x411240
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x411295
push 6
call fcn.0047e075
add esp, 4
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x4112aa
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4244b9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4244f4
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00481a60
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424557
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0047eb60
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42457b
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00481a60
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4245de
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0047eb60
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x424602
push 6
call fcn.0047e075
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.00481a60
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424665
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0047eb60
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x42466d
mov esp, ebp
pop ebp
ret

Function at 0x4370c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0047eb20
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x437106
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x437134
push 6
call fcn.0047e075
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x437150
push eax
mov ebx, eax
call fcn.00401a27
inc eax
push eax
call fcn.0047e069
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x437155
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x437166
push ebx
call fcn.0047e06f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4