joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006cfd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1014600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d18f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x105499b8], eax
nop dword [eax]
test esi, esi
je 0x1006d03b
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006d04c
lea eax, [ebp - 0x38]
push 0x10139ee0
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105499b8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105499bc]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call edi
test eax, eax
jne 0x1006d13b
cmp dword [ebp - 0x3c], 1
jb 0x1006d13b
test esi, esi
je 0x1006d0a7
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006d0b8
lea eax, [ebp - 0x38]
push 0x10139ee4
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x105499b8]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x105499c7]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
call edi
test eax, eax
jne 0x1006d10d
cmp dword [ebp - 0x3c], 1
jb 0x1006d10d
mov eax, dword [0x105499b8]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x105499d4], esi
inc dword [0x105499b8]
jmp 0x1006d167
mov eax, dword [0x105499b8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105499c7], xmm0
mov word [ecx*4 + 0x105499cf], 0
mov byte [ecx*4 + 0x105499d1], 0
jmp 0x1006d167
mov eax, dword [0x105499b8]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x105499bc], xmm0
mov word [ecx*4 + 0x105499c4], 0
mov byte [ecx*4 + 0x105499c6], 0
inc esi
cmp esi, 5
jl 0x1006d020
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x10549970
push 0
push 0
push str.SavePass
push dword [ebp - 0x40]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x10549970], 1
pop esi
call fcn.100ddef3
mov esp, ebp
pop ebp
ret
Function at 0x10072a10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10191cac]
add eax, 0xffffffff
mov dword [0x10191cac], eax
jns 0x10072b59
push ebx
push esi
mov esi, 0x101912ec
push edi
mov edi, 0x101912e4
cmp eax, 0xffffffff
jge 0x10072a61
mov eax, 0x1105
mov ecx, 0x101912e8
mov dword [0x101912e4], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x10072a50
mov eax, dword [0x101912e4]
mov ebx, 0xe3
mov edx, dword [0x101912e8]
mov dword [0x10191cac], 0x26f
mov dword [0x10191ca8], 0x101912e8
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebx, 1
jne 0x10072a85
mov ebx, 0x101912e4
mov dword [ebp - 4], 0x18c
mov ecx, edx
lea ebx, [ebx + 4]
xor ecx, eax
lea edi, [edi + 4]
and ecx, 0x7ffffffe
lea esi, [esi + 4]
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx - 4]
sub dword [ebp - 4], 1
mov dword [edi - 4], ecx
mov edx, dword [esi - 4]
jne 0x10072ac8
mov edx, dword [0x101912e4]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
mov eax, edx
shr eax, 0x12
pop esi
xor eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10191ca8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x10191ca8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x10078320
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movd xmm1, dword [0x102ca398]
push esi
mov esi, dword [ebp + 0xc]
shl esi, 6
cvtdq2ps xmm1, xmm1
push edi
mov edi, ecx
movss xmm0, dword [esi + 0x10191d58]
comiss xmm0, xmm1
ja 0x100783a9
comiss xmm1, dword [esi + 0x10191d60]
ja 0x100783a9
movd xmm1, dword [0x102ca3a0]
movss xmm0, dword [esi + 0x10191d5c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100783a9
comiss xmm1, dword [esi + 0x10191d64]
ja 0x100783a9
cmp byte [ebp + 0x10], 1
jne 0x1007837f
cmp byte [esi + edi + 0xbe], 0
je 0x100783a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + edi + 0xb8]
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x100783b1
cmp byte [esi + edi + 0xbc], 0
jne 0x100783a9
mov byte [esi + edi + 0xbc], 1
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
cmp ecx, 0x202
jne 0x100783a9
cmp eax, 0x1f4
jb 0x100783a9
mov byte [esi + edi + 0xbc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + edi + 0xb8], eax
mov al, 1
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1008eb60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10136507
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1008eb97
test cl, cl
je 0x1008eb93
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1008eb97
add eax, 2
add edx, 2
test cl, cl
jne 0x1008eb77
xor eax, eax
jmp 0x1008eb9c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008ebd1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1008ebd1
push dword [esi + 4]
call fcn.100de56b
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 0x1008ebe5
push 0x10c
push esi
call fcn.100ddf04
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1008ebf0
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 0x1008ed86
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 0x1008ec3d
push eax
call fcn.100de56b
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100de562
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x1008ed7f
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 0x1008ed7f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x1008ed86
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10136f48]
jne 0x1008ed86
mov eax, dword [edx + 4]
cmp eax, dword [0x10136f4c]
jne 0x1008ed86
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1008ecfd
mov ecx, 0x101f4819
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008ecb8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101f4819]
and eax, 0xf
movzx eax, byte [eax + 0x10137000]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10137000]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x1008ecb0
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 0x1008ed86
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 0x1008ed75
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 0x1009a7f0
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 0x100a3970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014600c]
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 0x100a39b7
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ddef3
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 0x100a3ac4
cmp dword [ebp - 0x1e], 0x36
jne 0x100a3ac4
cmp byte [ebp + 0x10], 0
mov eax, 0x101a9ac4
push esi
push 0
mov esi, 0x101a9af4
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [0x101a9b24]
xor eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [0x101a9b28]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x101a9b2c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [0x101a9b30]
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 [0x101a9b24]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x101a9b28]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [0x101a9b2c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [0x101a9b30]
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 [0x101a9b24]
xor eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [0x101a9b28]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [0x101a9b2c]
xor eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [0x101a9b30]
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.100ddef3
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.100ddef3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a40f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1014600c]
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 0x100a4127
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000c7d0
lea eax, [ebp - 0x20]
mov ecx, 0x101aa35c
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1009def0
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x100a4182
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4178
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4178
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ddf04
add esp, 8
mov esi, dword [ebp - 0x24]
cmp esi, dword [0x101aa35c]
je 0x100a42ca
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x34], eax
jle 0x100a42ca
movss xmm2, dword [0x1013cc60]
lea ecx, [esi + 0x38]
movsd xmm3, qword [0x1013c910]
lea ebx, [eax + 0x50]
mov dword [ebp - 0x24], ecx
cmp eax, 9
jle 0x100a41d6
movss xmm0, dword [ebp - 0x28]
add eax, 0xfffffff7
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
subss xmm0, xmm1
jmp 0x100a41e6
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 [0x1013c6b0]
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 [0x1013c688]
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 [0x1013cc60]
add ecx, 8
mov ebx, 0x50
movsd xmm3, qword [0x1013c910]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [esi + 0x34]
jl 0x100a41b8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ddef3
mov esp, ebp
pop ebp
ret 4
Function at 0x100a8fd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x1054a100]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a90bc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100a90bc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x101aa3fc]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a90bc
cmp dword [0x1018b6a0], 1
je 0x100a90bc
cmp word [edi], 0
jl 0x100a90bc
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.100ca020
call esi
mov dword [0x101aa3fc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b5c90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10136507
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b5cc7
test cl, cl
je 0x100b5cc3
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b5cc7
add eax, 2
add edx, 2
test cl, cl
jne 0x100b5ca7
xor eax, eax
jmp 0x100b5ccc
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b5d07
cmp dword [esi + 8], 0
je 0x100b5d07
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100b5d07
push dword [esi + 4]
call fcn.100de56b
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 0x100b5d1b
push 0x10c
push esi
call fcn.100ddf04
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b5d30
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 0x100b5ec6
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 0x100b5d7d
push eax
call fcn.100de56b
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100de562
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x100b5ebf
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 0x100b5ebf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100b5ec6
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10137018]
jne 0x100b5ec6
mov eax, dword [edx + 4]
cmp eax, dword [0x1013701c]
jne 0x100b5ec6
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100b5e3d
mov ecx, 0x101f4819
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b5df8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101f4819]
and eax, 0xf
movzx eax, byte [eax + 0x10137020]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10137020]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100b5df0
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 0x100b5ec6
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 0x100b5eb5
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 0x100b78d0
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 0x100b78e9
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100b78f5
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100b7901
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100b790d
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 [0x101ab8ac], 0x10
mov ecx, 0x101ab898
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x101ab898]
mov eax, 0x2bc
cmp dword [0x101ab88c], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ab894]
cmove edx, eax
mov eax, dword [0x101ab890]
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, 0x101ab8bc
cmp dword [0x101ab8d0], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101ab8bc]
cmp dword [0x101ab8b0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ab8b8]
cmove edx, eax
mov eax, dword [0x101ab8b4]
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, 0x101ab8e0
cmp dword [0x101ab8f4], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101ab8e0]
cmp dword [0x101ab8d4], 1
push ecx
cmove edx, eax
mov eax, dword [0x101ab8d8]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x101ab8dc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x101ab904
cmp dword [0x101ab918], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x101ab904]
cmp dword [0x101ab8f8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ab900]
cmove ebx, eax
mov eax, dword [0x101ab8fc]
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 0x100b9c30
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 0x100b9d6f
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, edx
cmp dword [0x879340c], eax
jg 0x100b9d6f
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b9d6f
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b9d6f
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 0x100b9cff
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x100b9d05
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 0x100b9ddc
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