joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008cad0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008cc66
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1008cb1d
push eax
call fcn.100da476
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100da46d
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x1008cc5f
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008cc5f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1008cc66
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10132f28]
jne 0x1008cc66
mov eax, dword [edx + 4]
cmp eax, dword [0x10132f2c]
jne 0x1008cc66
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1008cbdd
mov ecx, 0x101ef109
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008cb98
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101ef109]
and eax, 0xf
movzx eax, byte [eax + 0x10132fe0]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10132fe0]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x1008cb90
lea esi, [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x1008cc66
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x1008cc55
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
pop ebp
ret 4
Function at 0x10098660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100a2160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100a21a7
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x100a22b4
cmp dword [ebp - 0x1e], 0x36
jne 0x100a22b4
cmp byte [ebp + 0x10], 0
mov eax, 0x101a4374
push esi
push 0
mov esi, 0x101a43a4
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101a43d4]
xor eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [0x101a43d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x101a43dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [0x101a43e0]
xor eax, dword [ebp - 8]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101a43d4]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x101a43d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x101a43dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [0x101a43e0]
xor eax, dword [ebp - 8]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101a43d4]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [0x101a43d8]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [0x101a43dc]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [0x101a43e0]
xor eax, dword [ebp - 8]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a28e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1014200c]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
push esi
push edi
movss dword [ebp - 0x30], xmm2
lea esi, [ecx + 1]
movss dword [ebp - 0x28], xmm1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a2917
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000b550
lea eax, [ebp - 0x20]
mov ecx, 0x101a4c0c
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1009ca60
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x100a2972
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a2968
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a2968
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d9e0f
add esp, 8
mov esi, dword [ebp - 0x24]
cmp esi, dword [0x101a4c0c]
je 0x100a2aba
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x34], eax
jle 0x100a2aba
movss xmm2, dword [0x10138ce8]
lea ecx, [esi + 0x38]
movsd xmm3, qword [0x10138978]
lea ebx, [eax + 0x50]
mov dword [ebp - 0x24], ecx
cmp eax, 9
jle 0x100a29c6
movss xmm0, dword [ebp - 0x28]
add eax, 0xfffffff7
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
subss xmm0, xmm1
jmp 0x100a29d6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, dword [ebp - 0x28]
movzx eax, byte [ecx]
dec eax
cdq
idiv ebx
cvtps2pd xmm1, xmm0
mov ebx, eax
mov edi, edx
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov dword [esp], 0
push 1
movd xmm0, ecx
lea eax, [ecx + ecx*4]
cvtdq2pd xmm0, xmm0
push 1
sub esp, 0x20
add eax, eax
sub edi, eax
lea eax, [ebx + 0x7bed]
mov dword [esp + 0x1c], 0x3de00000
mulsd xmm0, qword [0x10138720]
mov dword [esp + 0x18], 0x3da00000
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x101386f8]
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x30]
mov dword [esp + 0xc], 0x41280000
mov dword [esp + 8], 0x40f00000
movss dword [esp + 4], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push eax
mov eax, 0x637c60
call eax
mov eax, dword [ebp - 0x2c]
add esp, 0x30
mov ecx, dword [ebp - 0x24]
inc eax
movss xmm2, dword [0x10138ce8]
add ecx, 8
mov ebx, 0x50
movsd xmm3, qword [0x10138978]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [esi + 0x34]
jl 0x100a29a8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret 4
Function at 0x100a77d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x10545c50]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a78bc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100a78bc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x101a4cac]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a78bc
cmp dword [0x101876c0], 1
je 0x100a78bc
cmp word [edi], 0
jl 0x100a78bc
xor eax, eax
mov byte [ebp - 1], 0
mov dword [ebp - 7], eax
lea ecx, [ebp - 8]
mov word [ebp - 3], ax
mov edx, 8
mov word [ebp - 4], ax
mov al, byte [edi + 0x43]
mov dword [ebp - 8], 0x17908c1
mov byte [ebp - 2], al
call fcn.100c5f00
call esi
mov dword [0x101a4cac], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b0080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101ef0a8], 2
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
jne 0x100b00a1
movss xmm0, dword [0x10138d64]
jmp 0x100b00a9
movss xmm0, dword [0x10138cfc]
mov edi, 0x861110
movss dword [ebp - 4], xmm0
call edi
mov edx, 0x861260
mov ecx, eax
call edx
mov eax, dword [eax + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10139790]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 4]
cvttss2si esi, xmm0
call edi
mov ecx, eax
mov eax, 0x861260
call eax
push 0x12
push 0x12
push esi
mov eax, dword [eax + 0x24]
add eax, 0x23
push eax
mov eax, 0x790b10
call eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x10
mov esi, 0x83c080
mov ecx, 0x791070
test al, al
je 0x100b0154
push 1
call ecx
add esp, 4
test eax, eax
je 0x100b0154
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x83703d
call edi
lea eax, [ebp - 8]
mov byte [0x83703d], 0xc
push eax
push dword [ebp - 8]
push 1
push 0x83703d
call edi
mov dword [0x105457b0], 0
call esi
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861260
call eax
mov eax, dword [eax + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10139790]
mov eax, 0x861110
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 4]
cvttss2si esi, xmm0
call eax
mov ecx, eax
mov eax, 0x861260
call eax
push 0x12
push 0x12
push esi
mov eax, dword [eax + 0x24]
add eax, 0x87
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x100b01fb
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x100b01fb
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x83703d
call edi
lea eax, [ebp - 8]
mov byte [0x83703d], 9
push eax
push dword [ebp - 8]
push 1
push 0x83703d
call edi
mov eax, 0x83c080
mov dword [0x105457b0], 1
call eax
cmp dword [0x105457b0], 0
je 0x100b02d6
mov dword [ebx + 0x11c], 0xffffffff
mov ecx, 0x405230
xor ebx, ebx
mov dword [ebp - 4], ebx
nop dword [eax]
cmp ebx, 5
jne 0x100b0238
mov eax, dword [0x7bc4f04]
movzx eax, byte [eax + 0x13]
push eax
call ecx
add esp, 4
cmp al, 6
je 0x100b02a1
lea esi, [ebx*8]
mov eax, 0x861110
sub esi, ebx
shl esi, 2
mov dword [ebp - 8], esi
mov edi, dword [esi + 0x105457c8]
mov ebx, dword [esi + 0x105457c4]
call eax
mov ecx, eax
mov eax, 0x861260
call eax
mov esi, dword [esi + 0x105457c0]
mov eax, dword [eax + 0x28]
add esi, eax
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861260
call eax
mov ecx, dword [ebp - 8]
push edi
push ebx
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x105457bc]
add ecx, eax
mov eax, 0x790b10
push esi
push ecx
call eax
add esp, 0x10
test al, al
jne 0x100b02bc
mov ebx, dword [ebp - 4]
inc ebx
mov ecx, 0x405230
mov dword [ebp - 4], ebx
cmp ebx, 9
jl 0x100b0220
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
pop edi
add eax, 0xf0
pop esi
mov dword [ecx + 0x11c], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b3620
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x101324e7
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b3657
test cl, cl
je 0x100b3653
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b3657
add eax, 2
add edx, 2
test cl, cl
jne 0x100b3637
xor eax, eax
jmp 0x100b365c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b3697
cmp dword [esi + 8], 0
je 0x100b3697
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100b3697
push dword [esi + 4]
call fcn.100da476
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test byte [ebp + 8], 1
je 0x100b36ab
push 0x10c
push esi
call fcn.100d9e0f
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b36c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100b3856
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100b370d
push eax
call fcn.100da476
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100da46d
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x100b384f
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b384f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100b3856
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10132ff8]
jne 0x100b3856
mov eax, dword [edx + 4]
cmp eax, dword [0x10132ffc]
jne 0x100b3856
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100b37cd
mov ecx, 0x101ef109
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b3788
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101ef109]
and eax, 0xf
movzx eax, byte [eax + 0x10133000]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10133000]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100b3780
lea esi, [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItemTemp_t_d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x100b3856
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x100b3845
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
pop ebp
ret 4
Function at 0x100b38e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x100b38f9
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100b3905
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100b3911
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100b391d
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 4]
push 4
push 0x81c0380
call edi
cmp dword [0x101a619c], 0x10
mov ecx, 0x101a6188
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x101a6188]
mov eax, 0x2bc
cmp dword [0x101a617c], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a6184]
cmove edx, eax
mov eax, dword [0x101a6180]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x101a61ac
cmp dword [0x101a61c0], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101a61ac]
cmp dword [0x101a61a0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a61a8]
cmove edx, eax
mov eax, dword [0x101a61a4]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x101a61d0
cmp dword [0x101a61e4], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101a61d0]
cmp dword [0x101a61c4], 1
push ecx
cmove edx, eax
mov eax, dword [0x101a61c8]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x101a61cc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x101a61f4
cmp dword [0x101a6208], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x101a61f4]
cmp dword [0x101a61e8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a61f0]
cmove ebx, eax
mov eax, dword [0x101a61ec]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
pop edi
pop esi
mov dword [0xe8c594], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b5c40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cvttss2si eax, xmm2
push edi
mov edi, ecx
movaps xmm4, xmm2
movss dword [ebp - 4], xmm3
movsx edx, ax
movss dword [ebp - 8], xmm4
cmp dword [0x879340c], edx
jl 0x100b5d7f
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, edx
cmp dword [0x879340c], eax
jg 0x100b5d7f
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b5d7f
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b5d7f
movss xmm0, dword [ebp + 0x18]
divss xmm0, dword [ebp + 0x20]
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, dword [ebp + 0x1c]
movss dword [ebp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp + 0x18]
mov ecx, 0x8000
movss xmm0, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test cx, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
je 0x100b5d0f
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x100b5d15
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x100b5dec
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
push edi
call dword [ebp + 0x24]
add esp, 0x10
pop edi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
movss xmm2, dword [ebp + 0x14]
divss xmm1, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
divss xmm2, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [ebp + 8]
call eax
add esp, 0x30
pop edi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100c59f0
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1014200c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov dword [esp + 0xc], 0
cmp dword [0x102c4a20], 2
push edi
jne 0x100c5a82
movq xmm0, qword [0x102c4a3c]
lea ecx, [esp + 0x14]
mov ax, word [0x102c4a44]
mov edx, 0xe
mov dword [esp + 0x14], 0x3f30ec1
movq qword [esp + 0x18], xmm0
mov word [esp + 0x20], ax
call fcn.100c5f00
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c4a24], 1
mov dword [0x102c4a20], 3
call esi
mov dword [0x102c4a1c], eax
call esi
mov dword [0x102c4a18], eax
mov dword [0x102c4a14], 0x7530
mov dword [0x102c4a10], 0x7530
mov ecx, 0x101eedc3
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c5a90
sub ecx, edx
je 0x100c5b0a
push ecx
push 0x101eedc3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], al
call fcn.1000b550
mov dword [esp + 0x10], 1
lea esi, [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, 0x10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmovae esi, ecx
test eax, eax
je 0x100c5b12
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c5b12
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c5afc
inc eax
cmp eax, edx
jb 0x100c5af0
jmp 0x100c5b12
sub eax, esi
cmp eax, 0xffffffff
je 0x100c5b12
mov byte [esp + 0xf], 0
jmp 0x100c5b17
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xf], 1
test byte [esp + 0x10], 1
je 0x100c5b50
cmp edi, 0x10
jb 0x100c5b50
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c5b46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c5b46
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d9e0f
add esp, 8
cmp byte [esp + 0xf], 0
je 0x100c5b6a
cmp byte [0x101ef18f], 0
jne 0x100c5b6a
mov ecx, 0x10143808
call fcn.1002cbd0
mov ecx, dword [0x10545700]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100c5bc8
nop word [eax + eax]
mov byte [eax + 0x15], 0xff
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100c5baa
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100c5ba6
cmp eax, dword [ecx + 8]
jne 0x100c5ba6
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100c5b96
mov eax, ecx
jmp 0x100c5bc0
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100c5bc0
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100c5bb4
cmp eax, dword [0x10545700]
jne 0x100c5b80
mov ecx, 0x10545700
call fcn.100ae510
mov ecx, 0x1054590c
call fcn.100ae510
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push 0x83703d
mov dword [0x105457b0], 0
call esi
lea eax, [esp + 0x10]
mov byte [0x83703d], 0xc
push eax
push dword [esp + 0x14]
push 1
push 0x83703d
call esi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret