joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100313a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0xa
call fcn.10131c6d
mov esi, eax
mov dword [ebp - 4], 0
mov eax, 0x90909090
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov word [esi + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x60b36a
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1003140f
movq xmm0, qword [esi]
mov ecx, 0x60b36a
movq qword [ecx], xmm0
mov ax, word [esi + 8]
mov word [ecx + 8], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10031415
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10031340
push 0x60b36a
push 0xe9
call fcn.100d5c50
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x576ddb
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], 0xfffee7e0
mov dword [ebp - 4], 0
call esi
test eax, eax
je 0x10031499
mov eax, dword [ebp - 0x10]
mov ecx, 0x576ddb
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1003149f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 4]
mov byte [ebp - 0x10], 0xe8
push eax
push 0x40
push 5
push 0x5883f4
mov dword [ebp - 0xf], 0xfffdd1c7
mov dword [ebp - 4], 0
call esi
test eax, eax
je 0x100314eb
mov eax, dword [ebp - 0x10]
mov ecx, 0x5883f4
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x100314f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032b40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], 0
lea edi, [edx - 0xf]
push 1
mov esi, ecx
movd xmm1, edi
push 1
sub esp, 0x20
mov ebx, 0x637c60
cvtdq2ps xmm1, xmm1
lea eax, [esi - 8]
mov dword [esp + 0x1c], 0x3e2bedf6
mov dword [esp + 0x18], 0x3f400000
mov dword [esp + 0x14], 0
movd xmm0, eax
mov dword [esp + 0x10], 0
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42ac0000
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0xf069
call ebx
add esp, 0x30
add esi, 0x42
cmp dword [0x102c32a0], 0
mov eax, 0x790b10
push 0xb
push 0xb
push edi
push esi
jne 0x10032cc9
call eax
add esp, 0x10
test al, al
je 0x10032c95
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10032c95
cmp byte [0x8793386], 0
je 0x10032c95
mov eax, 0x83c080
call eax
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3f19999a
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
mov ecx, dword [0x102c32a4]
add ecx, 0xc8
cmp eax, ecx
jb 0x10032def
mov dword [0x102c32a0], 1
call esi
pop edi
pop esi
mov dword [0x102c32a4], eax
pop ebx
ret
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3ef74bc6
jmp 0x10032dbc
call eax
add esp, 0x10
test al, al
je 0x10032d8d
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10032d8d
cmp byte [0x8793386], 0
je 0x10032d8d
mov eax, 0x83c080
call eax
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3e041892
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
mov ecx, dword [0x102c32a4]
add ecx, 0xc8
cmp eax, ecx
jb 0x10032def
mov dword [0x102c32a0], 0
call esi
pop edi
pop esi
mov dword [0x102c32a4], eax
pop ebx
ret
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3c54fdf3
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
add esp, 0x30
pop edi
pop esi
pop ebx
ret
Function at 0x1003dd20
Capabilities:
Connect socket
Create thread
Resolve dns
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1014d4ec], 0xffffffff
push esi
mov esi, dword [ebp + 8]
je 0x1003de28
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x1003dd87
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1003dd87
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [0x1014d4ec]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1003ddab
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1003ddc4
push 0x23
push dword [0x1014d4f0]
push dword [0x1014d4ec]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1003de3b
mov eax, dword [0x1015151c]
test eax, eax
je 0x1003ddec
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1015151c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1015151c], 0
mov eax, dword [0x1014d4ec]
cmp eax, 0xffffffff
je 0x1003de07
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x1014d4ec], 0xffffffff
mov eax, dword [0x1014d4f0]
test eax, eax
je 0x1003de21
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x1014d4f0], 0
mov byte [0x10151520], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret 8
push 0x2000
push 0
push 0x1014d4f4
call sub.VCRUNTIME140.dll_memset
push 0x2000
push 0
push 0x1014f4f8
mov dword [0x1014f4f4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [0x101514f8], 0
push 0
push 0
push 0x1014d4e8
push 0x1003e2d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [0x1015151c], eax
xor ecx, ebp
mov byte [0x10151520], 1
mov al, 1
pop esi
call fcn.10131804
mov esp, ebp
pop ebp
ret 8

Function at 0x1003deb0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003dedc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x4034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4034], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1003def2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003df07
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov byte [esi + 0x4038], 0
pop esi
ret
Function at 0x1003df10
Capabilities:
Receive data
Receive data on socket
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov eax, 0x2000
mov edx, dword [esi + 0x200c]
sub eax, edx
push eax
lea eax, [esi + 0xc]
add eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x1003dfb0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1003e069
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003df75
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x4034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4034], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1003df8b
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003e0c6
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
pop edi
mov dword [esi + 8], ebx
xor al, al
mov byte [esi + 0x4038], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add ecx, dword [esi + 0x200c]
mov dword [esi + 0x200c], ecx
cmp ecx, 4
jl 0x1003e069
lea eax, [ebx + esi]
mov al, byte [eax + 0xc]
cmp al, 0xc1
jne 0x1003dfd8
movzx edi, byte [ebx + esi + 0xd]
mov dl, al
jmp 0x1003dff1
cmp al, 0xc2
jne 0x1003e072
movzx edi, byte [ebx + esi + 0xd]
mov dl, al
movzx eax, byte [ebx + esi + 0xe]
shl edi, 8
or edi, eax
lea eax, [edi - 4]
cmp eax, 0x1ffc
ja 0x1003e072
cmp edi, ecx
ja 0x1003e043
cmp dl, 0xc1
jne 0x1003e00a
mov al, byte [ebx + esi + 0xf]
jmp 0x1003e00e
mov al, byte [ebx + esi + 0x10]
mov byte [ebp - 4], al
lea eax, [esi + 0xc]
add eax, ebx
push edi
push eax
push dword [ebp - 4]
mov eax, dword [esi + 0x4014]
call eax
mov ecx, dword [esi + 0x200c]
add esp, 0xc
sub ecx, edi
add ebx, edi
mov dword [esi + 0x200c], ecx
test ecx, ecx
jg 0x1003dfc5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jle 0x1003e069
test ecx, ecx
je 0x1003e069
mov eax, 0x2000
sub eax, ebx
cmp ecx, eax
jg 0x1003e069
push ecx
lea eax, [esi + 0xc]
add eax, ebx
push eax
lea eax, [esi + 0xc]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003e09b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x4034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4034], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1003e0b1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003e0c6
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x4038], 0
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003e0e0
Capabilities:
Send data
Send data on socket
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.10133200
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x10151504
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x1014d4ec]
cmp edi, 0xffffffff
je 0x1003e2ab
cmp byte [0x10151520], 0
je 0x1003e2ab
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2004]
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x101514f8]
add esp, 0xc
test ecx, ecx
jle 0x1003e193
lea eax, [ecx + esi]
cmp eax, 0x2000
jle 0x1003e189
mov eax, dword [0x1015151c]
test eax, eax
je 0x1003e17a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1015151c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [0x1014d4ec]
mov dword [0x1015151c], 0
cmp edi, 0xffffffff
je 0x1003e26a
push edi
jmp 0x1003e25a
push esi
lea eax, [ebp - 0x2004]
push eax
jmp 0x1003e1f2
xor ebx, ebx
test esi, esi
jle 0x1003e207
nop dword [eax]
push 0
lea eax, [ebp - 0x2004]
add eax, ebx
push esi
push eax
push edi
mov dword [ebp - 0x2008], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1003e1ce
sub esi, eax
add ebx, eax
test esi, esi
jle 0x1003e207
mov edi, dword [0x1014d4ec]
jmp 0x1003e1a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1003e227
mov ecx, dword [0x101514f8]
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003e227
push esi
push dword [ebp - 0x2008]
lea eax, [ecx + 0x1014f4f8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [0x101514f8], esi
push 0x10151504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x1015151c]
test eax, eax
je 0x1003e24f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1015151c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1015151c], 0
mov eax, dword [0x1014d4ec]
cmp eax, 0xffffffff
je 0x1003e26a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x1014d4ec], 0xffffffff
mov eax, dword [0x1014d4f0]
test eax, eax
je 0x1003e284
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x1014d4f0], 0
push 0x10151504
mov byte [0x10151520], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret 8
push 0x10151504
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.10131804
mov esp, ebp
pop ebp
ret 8
Function at 0x10045d60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0xe609e8], 4
jne 0x10045f99
movd xmm1, dword [0x102cc378]
movss xmm0, dword [0x10194c80]
mov ecx, dword [0x102cc380]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10045df6
comiss xmm1, dword [0x10194c88]
ja 0x10045df6
movss xmm0, dword [0x10194c84]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x10045df6
comiss xmm2, dword [0x10194c8c]
ja 0x10045df6
cmp dword [ebp + 8], 0x201
jne 0x10045dd2
mov byte [0x10194c94], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10194c90]
mov byte [0x10194c94], 0
cmp eax, 0x1f4
jb 0x10045f99
call esi
mov dword [0x10194c90], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10194cc0]
comiss xmm0, xmm1
ja 0x10045e62
comiss xmm1, dword [0x10194cc8]
ja 0x10045e62
movss xmm0, dword [0x10194cc4]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x10045e62
comiss xmm2, dword [0x10194ccc]
ja 0x10045e62
cmp dword [ebp + 8], 0x201
jne 0x10045e3e
mov byte [0x10194cd4], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10194cd0]
mov byte [0x10194cd4], 0
cmp eax, 0x1f4
jb 0x10045f99
call esi
mov dword [0x10194cd0], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10194d00]
comiss xmm0, xmm1
ja 0x10045ece
comiss xmm1, dword [0x10194d08]
ja 0x10045ece
movss xmm0, dword [0x10194d04]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x10045ece
comiss xmm2, dword [0x10194d0c]
ja 0x10045ece
cmp dword [ebp + 8], 0x201
jne 0x10045eaa
mov byte [0x10194d14], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10194d10]
mov byte [0x10194d14], 0
cmp eax, 0x1f4
jb 0x10045f99
call esi
mov dword [0x10194d10], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10194d40]
comiss xmm0, xmm1
ja 0x10045f36
comiss xmm1, dword [0x10194d48]
ja 0x10045f36
movss xmm0, dword [0x10194d44]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x10045f36
comiss xmm2, dword [0x10194d4c]
ja 0x10045f36
cmp dword [ebp + 8], 0x201
jne 0x10045f16
mov byte [0x10194d54], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10194d50]
mov byte [0x10194d54], 0
cmp eax, 0x1f4
jb 0x10045f99
call esi
mov dword [0x10194d50], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10194d80]
comiss xmm0, xmm1
ja 0x10045f99
comiss xmm1, dword [0x10194d88]
ja 0x10045f99
movss xmm0, dword [0x10194d84]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10045f99
comiss xmm1, dword [0x10194d8c]
ja 0x10045f99
cmp dword [ebp + 8], 0x201
jne 0x10045f7e
mov byte [0x10194d94], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10194d90]
mov byte [0x10194d94], 0
cmp eax, 0x1f4
jb 0x10045f99
call esi
mov dword [0x10194d90], eax
pop esi
pop ebp
ret 4
Function at 0x10046a80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10194410]
cmp eax, 0x5dc
jb 0x10046b1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x10194415], 1
mov dword [0x10194410], eax
jne 0x10046aba
mov byte [0x10194415], 0
mov esp, ebp
pop ebp
ret
mov eax, 0x10304bd4
nop
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x10304d24
jl 0x10046ac0
mov edx, 4
mov dword [0x10304494], 0
lea ecx, [ebp - 4]
mov dword [0x1030448c], 0
mov dword [ebp - 4], 0xe8f304c1
call fcn.100d0350
cmp dword [0x10186334], 2
jne 0x10046b0e
mov eax, dword [0x10527e90]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x10194415], 1
mov dword [0x10186040], 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10194410]
cmp eax, 0x5dc
jb 0x1004895d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x10194415], 1
mov dword [0x10194410], eax
jne 0x100488ec
mov byte [0x10194415], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x10304d30
call fcn.10048260
mov edx, 4
mov dword [0x10304d38], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xe7f304c1
call fcn.100d0350
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
lea ecx, [ebp - 8]
mov dword [0x10304d30], 0
mov byte [ebp - 4], 0
call fcn.100d0350
cmp dword [0x10186334], 2
jne 0x1004894c
mov eax, dword [0x10527e9c]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x10194415], 1
mov dword [0x10186040], 3
mov esp, ebp
pop ebp
ret
Function at 0x10064230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.._Settings.ini
push 0x64
push 0x102c93c8
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10064470
push 0x4060d0
push 0xe8
call fcn.100d5c50
push fcn.100643f0
push 0x4d2882
push 0xe8
call fcn.100d5c50
push 0x10064470
push 0x4d28eb
push 0xe8
call fcn.100d5c50
push 0x10064470
push 0x4d2957
push 0xe8
call fcn.100d5c50
push fcn.100643f0
push 0x4d29c1
push 0xe8
call fcn.100d5c50
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0x3c
push eax
push 0x40
push 1
push 0x4060d5
call esi
lea eax, [ebp - 4]
mov byte [0x4060d5], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4060d5
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d2887
call esi
lea eax, [ebp - 4]
mov byte [0x4d2887], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d2887
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 4]
mov byte [0x4d28f0], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d295c
call esi
lea eax, [ebp - 4]
mov byte [0x4d295c], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d295c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4d29c6
call esi
lea eax, [ebp - 4]
mov byte [0x4d29c6], 0x90
push eax
push dword [ebp - 4]
push 1
push 0x4d29c6
call esi
cmp dword [0x10528044], 1
pop esi
push 0x102c93c8
push 0
push dword [0x10528050]
push 0
push 0
jne 0x100643a0
push 1
jmp 0x100643a2
push 0
push dword [0x10528054]
push dword [0x1052804c]
push dword [0x10528040]
push 0x2bc
push 0
push 0
push dword [0x10528048]
push dword [0x1052803c]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x10527f40
mov dword [0x10528030], eax
call fcn.100643f0
mov dword [0x10528034], eax
mov esp, ebp
pop ebp
ret
Function at 0x100669d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov word [ebp - 4], 0xcffc
not eax
mov byte [ebp - 2], 0xab
mov dword [ebp - 0xc], eax
mov eax, 1
sub eax, ecx
mov dword [ebp - 8], 2
push ebx
mov dword [ebp - 0x10], eax
mov ebx, 0xfffffffe
mov eax, 2
push esi
sub eax, ecx
lea esi, [ecx + 2]
push edi
mov dword [ebp - 0x14], eax
sub ebx, ecx
nop
lea edi, [ebx + esi]
mov eax, 0xaaaaaaab
mul edi
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 4]
xor byte [esi - 2], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx + esi]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 3]
mov ecx, edi
xor byte [esi - 1], al
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
add dword [ebp - 8], 5
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 2]
xor byte [esi], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + esi]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 1]
xor byte [esi + 1], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + esi]
mul ecx
lea esi, [esi + 5]
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
movzx eax, byte [ebp + edi]
xor byte [esi - 3], al
lea eax, [ebx + esi]
cmp eax, 0x6e
jl 0x10066a10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006c4f0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1006c55c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret