joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a18c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c6c
call fcn.004b7400
mov eax, edx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], eax
movzx eax, word [eax]
push edi
mov edi, ecx
cmp eax, 0x41
je 0x4a18f1
cmp eax, 0x61
jne 0x4a1949
mov ecx, dword [esp + 0xc]
cmp word [ecx + 2], 0
jne 0x4a1949
cmp word [ebx], 0
jne 0x4a1949
cmp word [edx], 0
jne 0x4a1949
cmp word [esi], 0
jne 0x4a1949
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4a1930
cmp byte [edi + 0xea], 0
jne 0x4a1930
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
neg eax
sbb eax, eax
and esi, eax
cmp byte [ebp + 0x18], 0
je 0x4a1940
test esi, esi
je 0x4a1940
mov dword [edi + 0xc4], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x4a196b
cmp word [ebx], ax
jne 0x4a196b
cmp word [edx], ax
jne 0x4a196b
cmp word [esi], ax
jne 0x4a196b
mov ecx, edi
call fcn.004a1a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.004497d0
push esi
push edx
push ebx
push dword [esp + 0x18]
push edi
call fcn.004a2570
test eax, eax
je 0x4a1a2a
test byte [esp + 0x10], 2
mov al, byte [ebp + 0x14]
mov byte [esp + 0x183d], al
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x184c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1850], eax
je 0x4a1a33
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x4a1a02
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a1a2a
cmp byte [edi + 0xea], 0
jne 0x4a19fb
push dword [esp + 0x102c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a19fb
push 0xfffffffffffffff0
push dword [esp + 0x1030]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4a1a2a
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1864], eax
je 0x4a1a1b
lea ecx, [esp + 0x10]
mov dword [esp + 0x1864], eax
call fcn.004a2a50
push 0
lea ecx, [esp + 0x14]
call fcn.004a2b30
test eax, eax
jne 0x4a1a43
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push 0x4a1ae0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x18], 0
mov eax, dword [esp + 0x1844]
je 0x4a1a2c
test eax, eax
je 0x4a1a2c
mov dword [edi + 0xc4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2a50
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1854]
test ecx, ecx
je 0x4a2b29
mov eax, dword [esi]
test eax, eax
je 0x4a2b29
push edi
test al, 1
jne 0x4a2a7d
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4a2a97
push 0x7fff
lea edi, [esi + 0x1860]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4a2a97
mov word [edi], ax
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test al, 4
je 0x4a2ab4
lea eax, [esi + 0x185c]
push eax
push dword [esi + 0x1854]
call edi
mov eax, dword [esi]
test al, 0x20
je 0x4a2aef
lea eax, [esp + 8]
push eax
push dword [esi + 0x1854]
call edi
test eax, eax
je 0x4a2aef
movzx eax, byte [esi + 0x182c]
lea edx, [esi + 0x11a60]
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0046e930
add esp, 8
test eax, eax
jne 0x4a2aef
mov word [esi + 0x11a60], ax
mov eax, dword [esi]
pop edi
test al, 8
je 0x4a2b10
push 0x101
lea eax, [esi + 0x1185e]
push eax
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esi]
test eax, 0x100
je 0x4a2b29
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x1858], eax
pop esi
pop ecx

Function at 0x4a3370
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c68
call fcn.004b7400
mov edx, dword [ecx + 8]
test edx, edx
je 0x4a340b
lea ecx, [esp]
call fcn.004497d0
mov al, byte [ebp + 8]
mov byte [esp + 0x1848], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x184c], eax
mov eax, ecx
push eax
push 0x4a3a70
mov dword [esp + 0x184c], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1834], 0
je 0x4a340b
mov eax, dword [0x4e30fc]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4a340b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e7484], eax
jne 0x4a33fd
mov ecx, dword [0x4e30fc]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401a20
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4e30fc]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4a36b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c70
call fcn.004b7400
push ebx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x4a383d
push 0
call fcn.004a3850
test eax, eax
jne 0x4a36e1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push dword [0x4e30fc]
mov ebx, eax
mov ecx, esi
push ebx
call fcn.004a38f0
mov edx, dword [0x4e747c]
xor ecx, ecx
test eax, eax
cmovne edx, ecx
lea ecx, [esp + 0x10]
mov dword [0x4e747c], edx
call fcn.004497d0
cmp byte [ebp + 8], 0
je 0x4a3725
mov byte [esp + 0x183d], 0
test edx, edx
je 0x4a372d
mov byte [esp + 0x183d], 1
mov eax, dword [0x4e7478]
mov dword [esp + 0x184c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x10]
push eax
push 0x4a3980
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1844]
test eax, eax
je 0x4a3810
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x4a2390
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4a37a2
mov ecx, dword [esp + 0x1844]
call fcn.004a2fd0
mov dword [esp + 0x1844], esi
jmp 0x4a37a9
mov esi, dword [esp + 0x1844]
mov ecx, esi
call fcn.004a13e0
mov ecx, dword [esp + 0x1844]
call fcn.004a2fd0
mov eax, dword [0x4e30fc]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4a383d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e7484], eax
jne 0x4a37f5
mov ecx, dword [0x4e30fc]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401a20
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4e30fc]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4e747c]
test eax, eax
je 0x4a383d
cmp eax, 1
mov dword [0x4e747c], 0
setg al
test al, al
je 0x4a383d
mov ecx, ebx
call fcn.004a2fd0
push 0
mov ecx, esi
call fcn.004a36b0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10050258
call fcn.1001e270
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x10001068
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x10001068
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x10001068
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x10001068
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10001071
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.1001e2c0
ret
Function at 0x10001169
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1000118c
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000118f
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100011a2
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100011a9
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x1028d0e0]
mov ecx, dword [0x1028d0dc]
test eax, eax
jne 0x100011c3
test ecx, ecx
je 0x100011d8
mov eax, ecx
mov dword [0x1028d0e0], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100011d8
cmp edx, dword [ebp - 4]
jb 0x100011d8
cmp edx, dword [ebp - 8]
jbe 0x100012a9
mov eax, ecx
test ecx, ecx
jmp 0x100011fc
test eax, eax
je 0x100011f7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100011f7
cmp ecx, dword [ebp - 4]
jb 0x100011f7
cmp ecx, dword [ebp - 8]
jbe 0x100012a9
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1028d0e0], eax
jne 0x100011de
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000133b
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001229
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000133b
cmp dword [ebp - 0x30], ebx
jne 0x10001248
cmp dword [ebp - 0x34], ebx
jae 0x1000125b
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10001217
jmp 0x1000133b
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1028d0e0], eax
test eax, eax
je 0x1000133b
mov ecx, dword [0x1028d0dc]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x1028d0dc], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000129b
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10001340
cmp esi, dword [ebp - 8]
ja 0x10001340
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.100206f0
add esp, 0xc
mov eax, esi
jmp 0x10001342
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100012ea
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001340
cmp dword [ebp - 0x14], ebx
jne 0x10001335
cmp dword [ebp - 0x18], ebx
jb 0x10001335
movzx ecx, si
test ecx, ecx
je 0x10001319
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1028d0e0], eax
test eax, eax
jne 0x10001277
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x100012d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100013cb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x1028d0e8], edi
je 0x100013de
mov eax, 0x10dd
jmp 0x10001439
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1028d0e8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100013d7
push esi
mov esi, dword [0x1028d0dc]
mov dword [0x1028d0e4], edi
mov dword [0x1028d0f8], edi
mov dword [0x1028d0f4], edi
mov dword [0x1028d0ec], edi
mov dword [0x1028d0f0], edi
jmp 0x10001432
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1000141c
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x1000143c
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1028d0e8], eax
je 0x10001452
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x1028d0f8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1000149d
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x1000148e
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1000148e
call fcn.10001347
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.1001e2d4
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001461
mov dword [0x1028d0f8], ebx
call fcn.10001142
mov esi, dword [0x1028d0f4]
cmp esi, ebx
je 0x100014ca
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.1001e2d4
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100014b2
pop edi
pop esi
mov dword [0x1028d0f4], ebx
mov dword [0x1028d0e8], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10001721
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1028d0ec]
test eax, eax
jne 0x10001791
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x1000173d
xor eax, eax
jmp 0x10001790
push esi
push 8
call fcn.1001d3c3
mov esi, eax
pop ecx
test esi, esi
jne 0x10001751
push 8
pop edi
jmp 0x1000176c
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000177d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.1001e2d4
pop ecx
and dword [0x1028d0f0], 0
mov dword [0x1028d0ec], edi
mov eax, edi
jmp 0x1000178f
mov eax, dword [0x1028d0f4]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1028d0f4], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x100019e5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1028d0e8], eax
je 0x10001a01
mov eax, 0x10dd
jmp 0x10001ae4
mov eax, dword [0x1028d0ec]
test eax, eax
jne 0x10001ae4
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10001a1e
push 6
pop eax
jmp 0x10001ae3
cmp dword [edi], 0
jne 0x10001a36
push 6
pop eax
mov dword [0x1028d0ec], eax
mov dword [0x1028d0f0], edi
jmp 0x10001ae3
push ebx
push esi
push 0x18
call fcn.1001d3c3
mov esi, eax
pop ecx
test esi, esi
jne 0x10001a4b
push 8
pop edi
jmp 0x10001ac6
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.1000109f
mov ebx, dword [edi + 0x18]
pop ecx
pop ecx
movzx ecx, byte [edi + 0x17]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10001abb
cmp ecx, 0x17
ja 0x10001abb
cmp dword [edi + 0x1c], eax
jne 0x10001abb
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10001ac6
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x1028d0f8]
mov dword [esi], eax
mov dword [0x1028d0f8], esi
xor eax, eax
jmp 0x10001ae1
push 9
pop edi
cmp dword [0x1028d0e4], edx
jne 0x10001acc
mov dword [0x1028d0ec], edi
test esi, esi
je 0x10001ad7
push esi
call fcn.1001e2d4
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x1028d0f0], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x1000f100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x1000f120
jl 0x1000f117
cmp dword [ebp + 0xc], 0
ja 0x1000f120
xor eax, eax
xor edx, edx
jmp 0x1000f258
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x1000f142
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.1000f260
jmp 0x1000f258
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.1000bc10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x1000f1b2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.100074d0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1000dcf0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.1000d2c0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.1000d9e0
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x1000f249
mov ecx, dword [ebp - 8]
call fcn.1000c800
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x1000f222
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10022f32
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x1000f220
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x1000f258
jmp 0x1000f1ce
cmp dword [ebp - 4], 0
jbe 0x1000f249
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.10022f32
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f6e0
Capabilities:
Allocate or change rwx memory
Create thread
Log keystrokes via application hook
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000f7d6
cmp dword [ebp - 4], 1
je 0x1000f701
jmp 0x1000f843
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x2b3ffe
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 1
jne 0x1000f7d4
mov ecx, 0x100b80c4
call fcn.10014f10
call fcn.10018ce0
push 0
push 0
push 0x10019d40
call fcn.1002bb71
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10004100
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1028caf4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x100196a0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1028caf8], eax
push 0
mov edx, dword [ebp + 8]
push edx
push 0x10019c30
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1028cafc], eax
push 0x1004287c
call fcn.1001a240
add esp, 4
test eax, eax
jle 0x1000f7d4
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1001a3d0
push 0x1028cb18
call fcn.10001af0
push 0x1001a3c0
push 0x1028cb1c
call fcn.10001af0
call fcn.10001ae8
nop
jmp 0x1000f843
mov eax, dword [0x1028caf4]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [0x1028caf8]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov edx, dword [0x1028cafc]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
push str.WindowMode
call fcn.1001a240
add esp, 4
test eax, eax
jle 0x1000f843
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1001a3d0
push 0x1028cb18
call fcn.100019e5
push 0x1001a3c0
push 0x1028cb1c
call fcn.100019e5
call fcn.10001ae8
nop
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011d40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x10011e6d
push 0x28
push 0x6160f3
call fcn.1001a2a0
add esp, 8
push 0x143
push 0x6160f8
call fcn.1001a2a0
add esp, 8
push 0x46
push 0x6160e7
call fcn.1001a2a0
add esp, 8
push 0xea
push 0x6160ec
call fcn.1001a2a0
add esp, 8
push 0x28
push 0x617e18
call fcn.1001a2a0
add esp, 8
push 0x175
push 0x617e1d
call fcn.1001a2a0
add esp, 8
push 0x46
push 0x617e0c
call fcn.1001a2a0
add esp, 8
push 0x14e
push 0x617e11
call fcn.1001a2a0
add esp, 8
push 0x619470
push 0x61ea20
push 0xe8
call fcn.1001a160
add esp, 0xc
push 0x619470
push 0x622bee
push 0xe8
call fcn.1001a160
add esp, 0xc
push 0x619470
push 0x626236
push 0xe8
call fcn.1001a160
add esp, 0xc
push 0x619470
push 0x6280db
push 0xe8
call fcn.1001a160
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100b7e30]
je 0x10011e68
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100b7e30]
cmp eax, 0x1f4
jae 0x10011e68
mov dword [0x7d1aa28], 0
mov dword [0x100b7e30], 0x1f5
jmp 0x10011f36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100b7e30], eax
push 0
push 0x6160f3
call fcn.1001a2a0
add esp, 8
push 0
push 0x6160f8
call fcn.1001a2a0
add esp, 8
push 0
push 0x6160e7
call fcn.1001a2a0
add esp, 8
push 0
push 0x6160ec
call fcn.1001a2a0
add esp, 8
push 0
push 0x617e18
call fcn.1001a2a0
add esp, 8
push 0
push 0x617e1d
call fcn.1001a2a0
add esp, 8
push 0
push 0x617e0c
call fcn.1001a2a0
add esp, 8
push 0
push 0x617e11
call fcn.1001a2a0
add esp, 8
push 5
push 0x61ea20
call fcn.1001a300
add esp, 8
push 5
push 0x622bee
call fcn.1001a300
add esp, 8
push 5
push 0x626236
call fcn.1001a300
add esp, 8
push 5
push 0x6280db
call fcn.1001a300
add esp, 8
mov dword [0x7d1aa28], 0x7d
mov esp, ebp
pop ebp
ret 4

Function at 0x10014fa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x10014f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x10014fd1
xor al, al
jmp 0x10014fe0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100158b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xc1
je 0x100158ee
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0xc3
jne 0x100158f7
mov dword [ebp - 8], 3
jmp 0x1001592b
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xc2
je 0x10015924
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xc4
jne 0x1001592b
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x1001593c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x10015981
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx esi, byte [ecx - 1]
mov edx, dword [ebp - 4]
and edx, 0x8000001f
jns 0x1001595e
dec edx
or edx, 0xffffffe0
inc edx
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x74
call fcn.10015770
xor esi, dword [eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, esi
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx], cl
jmp 0x10015933
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6b7264]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_send]
nop
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x100162e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 1
je 0x10016302
jmp 0x1001635d
mov ecx, dword [ebp - 4]
call fcn.10015790
mov ecx, dword [ebp - 4]
call fcn.100159f0
nop
cmp dword [ebp - 0xc], 0x5dc
jb 0x10016325
cmp dword [0x6c41c0], 5
je 0x10016327
jmp 0x1001635d
mov eax, dword [0x57548f8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001633d
cmp dword [ebp - 8], 1
je 0x10016348
jmp 0x10016351
mov ecx, dword [ebp - 4]
call fcn.10015d10
nop
jmp 0x10016351
mov ecx, dword [ebp - 4]
call fcn.100161f0
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov esp, ebp
pop ebp
ret