joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403244
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x417008], 0x8088405
inc edx
mov dword [ebx + 0x417008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x421888
Capabilities:
Get number of processors

Disassembly:
mov byte [esp + 4], 0x44
mov byte [esp + 4], al
mov dword fs:[eax], edx
mov word [esp], 0x4bf2
lea esp, [esp + 0x30]
jmp 0x43b92e
pushal
pushfd
mov dword [esp + 0x30], 0x43d0cc
mov word [esp + 4], 0x58c8
push dword fs:[eax]
pop dword [esp + 0x2c]
mov byte [esp + 4], dh
call fcn.004215dc
mov word [esp], 0x6a15
pushal
lea esp, [esp + 0x24]
jne 0x42f93a
movzx ax, dl
movzx eax, al
not ah
mov eax, 0x418884
jmp 0x442348
push ebp
lea esp, [esp + 4]
call fcn.004043cc
neg ecx
and dl, 0x42
pushal
mov byte [ebp - 1], 0
btr ecx, ebp
sar ch, 1
lea edx, [esi + 0x20776eb9]
neg dl
sub eax, eax
lea ecx, [ebp*4 + 0x578aa4a0]
not ch
movzx dx, dl
push edi
mov edx, dword [esp + 0x24]
pushfd
movsx ecx, bl
not cl
mov ecx, dword [esp + 0x2c]
bswap cx
pop ecx
mov ecx, dword [esp + 0x2c]
jmp 0x41dfb7

Function at 0x421927
Capabilities:
Get number of processors

Disassembly:
xchg dword [esp + 0x10], eax
movsx ax, bl
mov eax, dword [ebp + 8]
pushal
pushfd
mov eax, dword [eax + 8]
jmp 0x44111c
bt di, sp
mov edi, eax
bt sp, bp
cmp dh, ch
mov eax, dword [ebp + 8]
bt sp, bx
mov dword [eax + 8], edi
jmp 0x4443a5
mov dword [esp + 0x30], eax
lea esp, [esp + 0x30]
ja 0x4420db
push 0xd0c509a0
push ecx
mov byte [esp + 4], 0x99
lea esp, [esp + 8]
call fcn.00405da8
or edi, edx
btc di, dx
neg di
add esp, 8
rcr di, cl
jmp 0x42c9b5
push esi
push eax
pushal
lea esp, [esp + 0x28]
call fcn.00405da8
sbb edi, ebx
bts di, si
btr di, 2
bsf di, bp
add esp, 8
btr edi, ebx
movzx edi, cl
push esi
mov edi, eax
bswap ax
ror al, 4
bts ax, 9
rol ax, 0xb
mov eax, dword [ebp + 8]
pushfd
test ecx, ebp
call fcn.00429bd5
clc
cmp ch, 0x22
test dl, ah
test edi, edi
push edi
jmp 0x4218a9

Function at 0x427fa4
Capabilities:
Get number of processors

Disassembly:
push esi
lea esp, [esp + 0x2c]
jne 0x42f93a
lahf
movzx ax, cl
mov eax, 0x418884
jmp 0x429b3a
pushal
lea esp, [esp + 0x20]
call fcn.004043cc
pushfd
btr dx, sp
mov byte [ebp - 1], 0
bt esi, 0x1a
xor eax, eax
lea ecx, [ebx*4 - 0x273fc7e3]
push edx
mov edx, dword [esp + 8]
pushal
mov ecx, dword [esp + 0x2c]
mov cx, 0x9f49
lea ecx, [edx + 0x619d7f81]
mov ecx, dword [esp + 0x30]
call fcn.0042dd11
Function at 0x428573
Capabilities:
Packed with generic packer

Disassembly:
pushfd
call fcn.00441375
push dword [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 0x38], edx
movsx edx, al
mov edx, 0x401a45
lea esp, [esp + 0x38]
jns 0x429824
pushfd
mov dword [esp], 0x1e6d85db
pushfd
mov edx, dword [edx + 0x44f0e]
pushfd
call fcn.004357c7
or al, 0x93
cmc
in al, 0x5e
jo 0x42860d
sti
repne scasb al, byte es:[edi]
push ss
retf 0x6ef2
idiv byte [edi]
loop 0x428599
imul esp, esi, 0xe92897b4
sal byte [ebx + 0x3b], cl
rol byte [edi], cl
div dl
or eax, 0x81b05d9d
mov byte [0x6165a19e], al
fdivr qword [eax]
inc edi
aaa
xor ebp, edx
frstor dword [ebx]
scasb al, byte es:[edi]
mov al, byte [eax - 0x616cdd97]
test dword [edi - 0x48b7ae51], esi
push eax
dec esp
mov bl, 0x37
jbe 0x42866c
popal
fdiv st(2), st(0)
int1
or al, 9
hlt
out dx, eax
ja 0x4286d5
sbb dword [edi + 0x1c41ea93], eax
xlatb
mov byte [ecx - 0x628ad8a4], 0xc3
das
dec ebp
or eax, 0x8d15c7b3
mov bl, 0x10
aas
inc eax
out 0x73, eax
wait
inc ecx
push 0x61
invalid
mov ebx, 0xfd335621
int1
sub byte [eax], bh
hlt
pop ebx
push ecx
jb 0x4286c5
inc esp
and ebx, edi
mov dl, 0xbe
int 0xc3
outsd dx, dword [esi]
stosd dword es:[edi], eax
cmpsd dword [esi], dword es:[edi]
push ss
inc ecx
mov esp, 0xd265dade
dec ebp
ror dword [ebx + edi*2 - 0x1e], 1
outsb dx, byte [esi]
inc dword [edi]
add edi, ecx
invalid
pushal
pushfd
call fcn.0043c96f
jge 0x435451
push 0x382de5f0
jge 0x4282ce
pushal
mov word [esp + 8], sp
pushal
mov dword [esp + 0x3c], 0x3e12ca84
push 0xaa8f1a60
pushfd
lea esp, [esp + 0x44]
jmp fcn.00415bbe

Function at 0x42e440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esi, [edx - 0x302c2df4]
inc ebx
rcr di, cl
mov eax, dword [ebp - 0x14]
shrd esi, edi, cl
jmp 0x432fda
lea esp, [esp + 0x14]
jb 0x4221fd
lahf
bswap ax
bswap eax
jb 0x443d5c
inc ebx
not eax
movzx si, al
pushal
neg di
mov eax, dword [ebp - 0x14]
inc esi
neg si
bswap di
mov di, word [eax]
pushal
aaa
adc esi, 0x214e003
bswap esi
movzx esi, di
bsr ax, ax
sal al, cl
btc ax, 2
shr esi, 0xc
aam 0x1b
sub al, ch
bswap ax
btc ax, bx
and di, 0xfff
add al, 0xa0
sar al, cl
clc
not ah
movzx eax, di
test ebx, 0x97c5f532
mov byte [esp + 4], dh
clc
cmc
mov dword [ebp - 0x18], eax
cmp bh, dh
test sp, si
clc
bt edx, 0x11
cmp esi, 3
pushfd
push edx
lea esp, [esp + 0x48]
jne 0x44115c
movzx eax, al
mov eax, dword [ebp + 0xc]
pushfd
sub edx, edx
jmp 0x435a94
mov di, word [eax]
pushfd
pop esi
stc
setae ah
movzx esi, di
lahf
rol ah, cl
and ax, di
shr esi, 0xc
sar ah, 1
bsr ax, bp
and di, 0xfff
xor ah, 0x52
rcl ah, cl
sar al, 3
movzx eax, di
test si, di
push 0xcc9b2fb2
push esi
mov dword [ebp - 0x18], eax
mov dword [esp], 0xc00578fe
cmp esi, 3
pushal
push eax
lea esp, [esp + 0x2c]
jne 0x44115c
and ax, 0xe472
cmp di, 0x258a
sar ah, 4
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004391dd
mov byte [esp], ah
pushfd
mov dword [esp + 4], edx
pushal
lea edx, [edi + 0x52bee489]
mov dword [esp + 0x20], eax
cdq
cdq
mov eax, dword [ebp - 0x18]
pop edx
cdq
pushfd
mov dword [esp], 0x9808488
pushal
push dword [esp + 4]
mov dword [esp + 0x40], edx
push edx
xchg dword [esp + 0x40], eax
pop eax
bswap eax
call fcn.00423dc3
inc ax
cwde
jmp 0x422706
Function at 0x4300b0
Capabilities:
Get number of processors

Disassembly:
cmp esi, ecx
bt si, dx
bt bx, sp
add esp, 0x2c
pushal
mov al, byte [eax]
cmc
pushfd
stc
stc
xor byte [ebp + ecx - 0x14], al
pushfd
inc ecx
clc
pushfd
test ch, 0xd0
test ch, 0x28
cmp ecx, 0x13
pushfd
mov byte [esp + 4], 0xca
push eax
lea esp, [esp + 0x34]
jle 0x435965
call fcn.0043bf5a

Function at 0x4300eb
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x418884
push 0xd322633a
lea esp, [esp + 4]
call fcn.004043cc
not dl
mov byte [ebp - 1], 0
bsr ecx, ecx
stc
bts dx, sp
xor eax, eax
pushfd
jmp 0x446b22
lea esp, [esp + 0x34]
jne 0x42f93a
jmp 0x434462
not al
setle ah
jmp 0x429a80
pop edx
movsx dx, dl
pop edx
push 0x20b7bc6f
mov ecx, dword [esp + 4]
pushfd
lea ecx, [ebx - 0x3a7e5fd]
jmp 0x424205

Function at 0x43564f
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x48]
jle 0x42c243
call fcn.00430e38
adc dl, 0x9b
bsf dx, ax
mov dword [ebp - 0x10], eax
das
not cl
rcr cl, cl
mov ecx, dword [ebp - 0x18]
push 0x41646821
rcr dx, cl
add ecx, dword [ebp - 0xf8]
lea eax, [eax + 0x719d71da]
jmp 0x42a4aa
mov byte [esp], dh
jmp 0x43207d
jmp 0x43a6cb
mov edx, edi
pushfd
not al
mov eax, dword [ebp - 0x10]
pushfd
mov byte [esp + 8], 0x6a
lea esp, [esp + 0xc]
call fcn.0040676c
cmp si, 0xafd0
bt bx, bx
daa
shl eax, cl
mov eax, dword [ebp - 0x10]
and cl, ch
shld cx, dx, cl
rcl cl, 1
sbb ch, dh
xor edx, edx
sar cx, cl
push edx
neg dx
shr dx, cl
jmp 0x437f21
jmp 0x42244d
push 0x989f0a0f
lea esp, [esp + 4]
call fcn.00430e38
xchg cx, dx
mov dword [ebp - 0x10], eax
not edx
cmp ah, ch
mov cl, dh
mov ecx, dword [ebp - 0x18]
stc
btc ax, 5
lahf
add ecx, dword [ebp - 0xf8]
pushal
movsx dx, dl
rdtsc
mov edx, edi
pushal
mov eax, dword [ebp - 0x10]
jmp 0x4419af

Function at 0x44467b
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov byte [esp + 4], dl
lea esp, [esp + 0x14]
call fcn.00405da8
neg di
add esp, 8
bsr di, di
xor di, 0xe333
bts di, cx
shr edi, 1
mov edi, eax
bsf ax, bx
aam 0x76
shld ax, si, cl
mov eax, dword [ebp + 8]
stc
test bh, ah
pushal
cmp cx, 0xfdd5
mov dword [eax + 8], edi
pushal
bt bx, bx
test edi, edi
jmp 0x4481c5
Function at 0x40734a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4703f5
call fcn.0046ffb4
sub esp, 0x60
push ebx
push esi
xor esi, esi
cmp byte [0x565b6c], 0
push edi
jne 0x407468
push 0x2220
call dword [sym.imp.SDL2.dll_SDL_Init]
pop ecx
test eax, eax
je 0x4073da
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00412be6
push ecx
push 0x1a
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.004123c9
mov edx, esi
mov cl, byte [edi + edx + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x1a
jb 0x40739c
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.004504e4
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00412370
jmp 0x407468
push esi
call dword [sym.imp.SDL2.dll_SDL_GameControllerOpen]
mov dword [0x565708], eax
pop ecx
test eax, eax
jne 0x407449
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x69]
call fcn.00412c92
push ecx
push 0x33
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.004123c9
mov cl, byte [edi + esi + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + esi], cl
inc esi
cmp esi, 0x33
jb 0x40740c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.004504e4
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00412370
lea ecx, [ebp - 0x1c]
call fcn.00401dfc
mov byte [0x565b6c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x5656a0], ecx
mov dword [0x5656a4], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x407c0b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x5659ac]
sub esp, 0x10
push esi
push edi
mov edi, ecx
test al, al
jne 0x407c3b
mov eax, dword [edi]
push ecx
mov ecx, dword [eax*4 + 0x475ea0]
call fcn.00450bac
pop ecx
test al, al
je 0x407c90
mov byte [0x5659ac], 1
jmp 0x407c90
cmp al, 1
jne 0x407c90
push ecx
mov ecx, 0x4747d0
call fcn.00450bac
and dword [ebp - 4], 0
lea edx, [ebp - 8]
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0x46
call fcn.00412e3b
mov ecx, eax
call fcn.004167bd
mov esi, 0x475bc8
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x407c85
mov eax, dword [esi]
mov dword [edi], eax
mov byte [0x5659ac], 0
add esi, 4
cmp esi, 0x475ea0
jne 0x407c6d
pop edi
pop esi
leave
ret
Function at 0x416e04
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x416e17
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x416e5e
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], ebp
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x418615
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x565b85], 0
push esi
jne 0x418655
cmp dword [0x5648cc], 0xffffffff
jne 0x418635
mov ecx, str.Set_HotKey
jmp 0x418641
mov eax, dword [0x5644a8]
mov ecx, dword [eax*4 + 0x476458]
push ecx
call fcn.00450bac
pop ecx
test al, al
je 0x4186b5
mov byte [0x565b85], 1
jmp 0x4186b5
push ecx
mov ecx, 0x4747d0
call fcn.00450bac
and dword [ebp - 4], 0
lea edx, [ebp - 8]
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 1
call fcn.00412e3b
mov ecx, eax
call fcn.004167bd
xor esi, esi
push dword [esi*4 + 0x476180]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x41869d
inc esi
cmp esi, 0xb6
jb 0x418680
jmp 0x4186b5
mov eax, dword [esi*4 + 0x476180]
mov dword [0x5644a8], eax
mov dword [0x5648cc], eax
mov byte [0x565b85], 0
pop esi
leave
ret

Function at 0x4186b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041a425
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x568648], cl
inc edx
cmp edx, 0x16
jb 0x4186cc
mov ecx, 0x568648
mov byte [0x56865e], 0
call fcn.0045295c
call fcn.00407828
lea edx, [ebp - 8]
mov dword [ebp - 8], 0x42be0000
mov dword [ebp - 4], 0x41e00000
call fcn.00418615
call fcn.00436be1
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041a4bb
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x568620], cl
inc edx
cmp edx, 0x12
jb 0x41871d
push 0x5659dd
push 0x568620
mov byte [0x568632], 0
call fcn.0046094a
call fcn.00436c35
mov ecx, 0x473d7e
call fcn.0045295c
xorps xmm0, xmm0
call fcn.00439398
leave
ret
Function at 0x41bc63
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
inc eax
xor ecx, ecx
push ebx
push esi
cpuid
lea esi, [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
push edi
mov dword [esi + 0xc], edx
rdtsc
push 0x64
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
sub eax, esi
sbb edx, edi
jne 0x41bca2
cmp eax, 0x989680
jae 0x41bca2
mov al, 1
jmp 0x41bce8
mov edi, SysReAllocString
lea esi, [ebp - 0x18]
xor ecx, ecx
mov eax, edi
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
lea ecx, [edi + 1]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x18]
cdq
test edx, edx
jne 0x41bcce
cmp eax, ecx
jae 0x41bcce
xor al, al
jmp 0x41bce8
mov eax, ecx
lea esi, [ebp - 0x18]
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test dword [ebp - 0x10], edi
setne al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41bd65
Capabilities:
Check for debugger via api
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x41bcf0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x41be7e
mov ecx, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call fcn.0041bbc9
test al, al
jne 0x41be7e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x41bdc1
cmp dword [ebp - 8], ebx
jne 0x41be7e
push 0x4d7f18
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41bdd7
xor al, al
jmp 0x41be80
push 0x4d7f2c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41be3d
mov ecx, esi
call fcn.0041bbc9
test al, al
jne 0x41be3d
push ebx
push 0x18
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x4735d8]
call esi
test eax, eax
js 0x41be3d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41be3d
push ebx
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41be3d
test byte [ebp - 1], 1
jne 0x41be7e
call fcn.0041bbf5
test al, al
jne 0x41be7e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 4
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
test eax, eax
je 0x41be68
test byte [ebp - 0xc], 0x60
jne 0x41be7e
call fcn.0041bc63
test al, al
jne 0x41be7e
call fcn.0041bd19
test al, al
je 0x41bdd0
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x42806d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x428203
mov edx, 0x10000000
cmp eax, 0x7c
je 0x428203
cmp eax, 0x29
jne 0x4280d9
cmp dword [esi + 0x10], 0
jne 0x428203
test dword [esi + 0x50], edx
je 0x428209
cmp eax, 0x5d
jne 0x4280b4
test dword [esi + 0x50], edx
je 0x428199
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00428cf7
mov bl, 1
mov ecx, esi
call fcn.00428045
test bl, bl
je 0x4280d5
mov ecx, esi
call fcn.00428c12
mov cl, 1
jmp 0x428074
cmp eax, 0x2e
jne 0x4280f1
push 5
lea ecx, [esi + 0x24]
call fcn.004282d0
mov ecx, esi
call fcn.00428045
jmp 0x4280ce
cmp eax, 0x5c
jne 0x42813d
mov ecx, esi
call fcn.00428045
test byte [esi + 0x50], 0x80
je 0x428134
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x42811d
push 4
lea ecx, [esi + 0x24]
call fcn.004282d0
mov ecx, esi
call fcn.00428045
jmp 0x4280d5
cmp al, 0x42
jne 0x428134
push 4
lea ecx, [esi + 0x24]
call fcn.004282d0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x428114
mov ecx, esi
call fcn.00428aab
jmp 0x4280ce
cmp eax, 0x5b
jne 0x42819d
mov ecx, esi
call fcn.00428045
lea ecx, [esi + 0x24]
call fcn.00429cda
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x42816a
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00428045
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x428188
cmp eax, 0x5d
jne 0x428188
push eax
lea ecx, [esi + 0x24]
call fcn.00429d22
mov ecx, esi
call fcn.00428045
mov ecx, esi
call fcn.004299a1
cmp dword [esi + 0x4c], 0x5d
je 0x4280e8
push 4
jmp 0x42820b
cmp eax, 0x28
jne 0x4281bd
mov ecx, esi
call fcn.00428045
mov ecx, esi
call fcn.00428b83
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x428209
jmp 0x4280c3
cmp eax, 0x5e
jne 0x4281c9
push 2
jmp 0x42810c
cmp eax, 0x24
jne 0x4281d5
push 3
jmp 0x42810c
cmp eax, 0x2a
je 0x4281ff
cmp eax, 0x2b
je 0x4281ff
cmp eax, 0x3f
je 0x4281ff
cmp eax, 0x7b
je 0x4281ff
cmp eax, 0x7d
jne 0x4280a6
test dword [esi + 0x50], edx
jne 0x4280b4
push 6
jmp 0x42820b
push 0xa
jmp 0x42820b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0042747a
int3

Function at 0x42b261
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471b82
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x42b292
mov ecx, edi
call fcn.0042afaf
mov ecx, edi
call fcn.0043048f
mov edi, dword [esi + 0x34]
test edi, edi
je 0x42b2a7
mov ecx, edi
call fcn.0042afaf
mov ecx, edi
call fcn.0043048f
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x43f440
push 2
push 0xc
push eax
call fcn.0046ef98
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42cde0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
mov edx, dword [esp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d3378]
inc edi
sub esi, 1
jne 0x42cdec
pop edi
not edx
pop esi
mov eax, edx
ret
Function at 0x42ce0b
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x42ce6d
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x42ce35
cmp edi, 2
jb 0x42ce35
cmp byte [esi], al
jne 0x42ce35
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d3378]
test edi, edi
jne 0x42ce1e
jmp 0x42ce74
cmp al, 0x23
jne 0x42ce5b
cmp byte [esi], al
jne 0x42ce5b
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d3378]
mov al, byte [esi]
inc esi
test al, al
jne 0x42ce4d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x42cf57
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x42cf66
and dword [ebx], 0
mov edx, 0x4d9b0c
call fcn.0042ce7c
mov esi, eax
test esi, esi
je 0x42d000
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x42cff9
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42cff9
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x42cff9
push 0
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42cff9
mov ecx, edi
call fcn.00430477
mov ebp, eax
test ebp, ebp
je 0x42cff9
push esi
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x42cfea
call fcn.0042cf48
mov ecx, ebp
call fcn.0043048f
jmp 0x42d000
call fcn.0042cf48
test ebx, ebx
je 0x42cff5
mov dword [ebx], edi
mov eax, ebp
jmp 0x42d002
mov ecx, esi
call fcn.0042cf48
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43e151
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5aac], 0
lea edi, [esi + 0x5ab0]
mov ecx, edi
je 0x43e1ac
push 0
call fcn.0043fdd1
push dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.0042d6e5
mov edx, dword [edi]
mov ecx, 0x565592
push dword [esi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x43e1b6
push dword [esp + 0x10]
push ebx
call fcn.0042d6e5
pop edi
pop esi
pop ebx
ret

Function at 0x43e79e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5657a8]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5a44], 0
test esi, esi
je 0x43e7ed
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0043e7f1
mov edx, 0x4d9b10
mov ecx, esi
mov edi, eax
call fcn.0042ce7c
mov esi, eax
test esi, esi
je 0x43e7ed
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.0042cf48
pop edi
pop esi
leave
ret
Function at 0x44daf1
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x5657a8]
push esi
push 0x11
lea esi, [eax + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.0042c83f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.0042c83f
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.0042c83f
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.0042c83f
pop esi
ret