joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002dae0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x1002dc99
movss xmm0, dword [ebx + 0x5c]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x60]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x10]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x64]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x14]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [ebx + 0x68]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x18]
push eax
push 0x40
push 8
push esi
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x70]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x1c]
push eax
push 0x40
push 8
push esi
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 4]
movsd qword [esi], xmm0
push eax
push dword [ebp - 4]
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x78]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x20]
push eax
push 0x40
push 8
push esi
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [ebx + 0x80]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x24]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x84]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x28]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x88]
lea eax, [ebp - 4]
mov esi, dword [ebx + 0x2c]
push eax
push 0x40
push 4
push esi
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002f1e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x57655b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x57655b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x57655b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x1002f220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov byte [ebp - 0x10], 0xe8
push eax
push 0x40
push 5
push 0x57655b
mov dword [ebp - 0xf], 0x93250
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1002f27a
mov eax, dword [ebp - 0x10]
mov ecx, 0x57655b
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 dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002f280
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret

Function at 0x1002f290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x5de2b2
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1002f2da
lea eax, [ebp - 8]
mov byte [0x5de2b2], 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x5de2b2
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002f2e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret

Function at 0x1002f2f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x5de2b2
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1002f33a
lea eax, [ebp - 8]
mov byte [0x5de2b2], 0
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x5de2b2
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002f340
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x576ddb
call esi
mov eax, 0x576ddb
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x576ddb
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5883f4
call esi
mov eax, 0x5883f4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x5883f4
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002f5c0
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 0x1002f619
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 0x1002f61f
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 0x1002f66b
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 0x1002f671
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002f680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x588661
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x588661
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x588661
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x1002f6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov byte [ebp - 0x10], 0xe8
push eax
push 0x40
push 5
push 0x588661
mov dword [ebp - 0xf], 0xfffdcf5a
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1002f71a
mov eax, dword [ebp - 0x10]
mov ecx, 0x588661
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 dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002f720
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret

Function at 0x1002f790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x54a270
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov byte [0x54a270], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x54a270
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x1002f7d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x54a270
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov byte [0x54a270], 0x55
push eax
push dword [ebp - 4]
push 1
push 0x54a270
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x1002f810
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x59af55
call esi
lea eax, [ebp - 4]
mov byte [0x59af55], 0
push eax
push dword [ebp - 4]
push 1
push 0x59af55
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x59b24a
call esi
lea eax, [ebp - 4]
mov byte [0x59b24a], 0
push eax
push dword [ebp - 4]
push 1
push 0x59b24a
call esi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x59af55
call esi
lea eax, [ebp - 4]
mov byte [0x59af55], 1
push eax
push dword [ebp - 4]
push 1
push 0x59af55
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x59b24a
call esi
lea eax, [ebp - 4]
mov byte [0x59b24a], 1
push eax
push dword [ebp - 4]
push 1
push 0x59b24a
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100310e0
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 [0x102bc1c8], 0
mov eax, 0x790b10
push 0xb
push 0xb
push edi
push esi
jne 0x10031269
call eax
add esp, 0x10
test al, al
je 0x10031235
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10031235
cmp byte [0x8793386], 0
je 0x10031235
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 [0x102bc1cc]
add ecx, 0xc8
cmp eax, ecx
jb 0x1003138f
mov dword [0x102bc1c8], 1
call esi
pop edi
pop esi
mov dword [0x102bc1cc], 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 0x1003135c
call eax
add esp, 0x10
test al, al
je 0x1003132d
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1003132d
cmp byte [0x8793386], 0
je 0x1003132d
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 [0x102bc1cc]
add ecx, 0xc8
cmp eax, ecx
jb 0x1003138f
mov dword [0x102bc1c8], 0
call esi
pop edi
pop esi
mov dword [0x102bc1cc], 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 0x1003b960
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003b98c
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 0x1003b9a2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003b9b7
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 0x1003b9c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.10125e80
mov eax, dword [0x10141040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x10146b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10142b84], 0xffffffff
je 0x1003baee
cmp byte [0x10146bb8], 0
je 0x1003baee
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2004]
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x10146b90]
add esp, 0xc
test ecx, ecx
jle 0x1003ba37
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003bac5
push esi
lea eax, [ebp - 0x2004]
push eax
jmp 0x1003ba91
xor edi, edi
test esi, esi
jle 0x1003baa6
nop dword [eax]
push 0
lea eax, [ebp - 0x2004]
add eax, edi
push esi
push eax
push dword [0x10142b84]
mov dword [ebp - 0x2008], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1003ba6d
sub esi, eax
add edi, eax
test esi, esi
jg 0x1003ba40
jmp 0x1003baa6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1003bac5
mov ecx, dword [0x10146b90]
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003bac5
push esi
push dword [ebp - 0x2008]
lea eax, [ecx + 0x10144b90]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [0x10146b90], esi
push 0x10146b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x10142b80
call fcn.1003b960
push 0x10146b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret 8
push 0x10146b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.100d84a2
mov esp, ebp
pop ebp
ret 8
Function at 0x100422e0
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 [0x1018d428]
cmp eax, 0x5dc
jb 0x1004237f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1018d42d], 1
mov dword [0x1018d428], eax
jne 0x1004231a
mov byte [0x1018d42d], 0
mov esp, ebp
pop ebp
ret
mov eax, 0x102fdc14
nop
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x102fdd64
jl 0x10042320
mov edx, 4
mov dword [0x102fd4d4], 0
lea ecx, [ebp - 4]
mov dword [0x102fd4cc], 0
mov dword [ebp - 4], 0xe8f304c1
call fcn.100c4b40
cmp dword [0x1017c464], 2
jne 0x1004236e
mov eax, dword [0x10520ed0]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x1018d42d], 1
mov dword [0x1017c170], 1
mov esp, ebp
pop ebp
ret

Function at 0x10044030
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 [0x1018d428]
cmp eax, 0x5dc
jb 0x100440dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1018d42d], 1
mov dword [0x1018d428], eax
jne 0x1004406c
mov byte [0x1018d42d], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x102fdd70
call fcn.100439a0
mov edx, 4
mov dword [0x102fdd78], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xe7f304c1
call fcn.100c4b40
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
lea ecx, [ebp - 8]
mov dword [0x102fdd70], 0
mov byte [ebp - 4], 0
call fcn.100c4b40
cmp dword [0x1017c464], 2
jne 0x100440cc
mov eax, dword [0x10520edc]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x1018d42d], 1
mov dword [0x1017c170], 3
mov esp, ebp
pop ebp
ret
Function at 0x1005e640
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 0x10133b24
push 0x64
push 0x102c2300
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1005e880
push 0x4060d0
push 0xe8
call fcn.100c9bf0
push fcn.1005e800
push 0x4d2882
push 0xe8
call fcn.100c9bf0
push 0x1005e880
push 0x4d28eb
push 0xe8
call fcn.100c9bf0
push 0x1005e880
push 0x4d2957
push 0xe8
call fcn.100c9bf0
push fcn.1005e800
push 0x4d29c1
push 0xe8
call fcn.100c9bf0
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 [0x10521084], 1
pop esi
push 0x102c2300
push 0
push dword [0x10521090]
push 0
push 0
jne 0x1005e7b0
push 1
jmp 0x1005e7b2
push 0
push dword [0x10521094]
push dword [0x1052108c]
push dword [0x10521080]
push 0x2bc
push 0
push 0
push dword [0x10521088]
push dword [0x1052107c]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x10520f80
mov dword [0x10521070], eax
call fcn.1005e800
mov dword [0x10521074], eax
mov esp, ebp
pop ebp
ret
Function at 0x10060c50
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 0x10060c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10066180
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10141040]
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 0x100661ec
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret
Function at 0x10068fc0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102bc21c], 0
movaps xmm4, xmm3
movss xmm7, dword [ebp + 0xc]
movaps xmm5, xmm2
movss xmm2, dword [0xe7c3d4]
movaps xmm6, xmm1
movss xmm3, dword [ebp + 8]
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0x14], xmm6
jne 0x10069028
movd xmm0, dword [0xe61e5c]
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x10137830]
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
jmp 0x1006902f
movaps xmm1, xmm3
divss xmm1, xmm2
mov edx, dword [0x879340c]
cvttss2si eax, xmm6
movsx ecx, ax
cmp edx, ecx
jl 0x10069161
movaps xmm0, xmm4
divss xmm0, xmm2
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x10069161
mov edx, dword [0x8793410]
cvttss2si eax, xmm5
movsx ecx, ax
cmp edx, ecx
jl 0x10069161
cvttss2si eax, xmm1
cwde
add eax, ecx
cmp edx, eax
jg 0x10069161
movaps xmm0, xmm3
divss xmm0, dword [ebp + 0x10]
push 1
movss dword [ebp - 4], xmm0
movaps xmm0, xmm4
divss xmm0, xmm7
movss dword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp - 4]
movss xmm0, dword [ebp - 8]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
jns 0x100690e1
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x100690e7
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 8]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push 0x799c
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1006915b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10544914]
add ecx, 0x96
cmp ecx, eax
ja 0x1006915b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10544914], eax
mov al, 2
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
movaps xmm1, xmm3
movaps xmm2, xmm4
divss xmm1, dword [ebp + 0x10]
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 0
sub esp, 0x20
divss xmm2, xmm7
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm5
movss dword [esp], xmm6
push 0x799c
call eax
add esp, 0x30
xor al, al
mov esp, ebp
pop ebp
ret