joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aa6cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10035f10
mov eax, dword [0x100dfa44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1008eb9b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100aa70d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100aa869
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100a9210
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100e7e68]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1008beea
mov ecx, dword [esi*4 + 0x100e7e68]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100aa862
cmp eax, dword [ecx + edi + 0x24]
jne 0x100aa862
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100aa862
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008beea
add esp, 0x14
test edx, edx
jl 0x100aa862
jg 0x100aa7d8
test eax, eax
jb 0x100aa862
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100aa862
jl 0x100aa7f2
cmp dword [ebp - 0x1008], eax
ja 0x100aa862
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100aa810
test ebx, ebx
je 0x100aa849
cmp ecx, edi
jae 0x100aa849
mov al, byte [ecx]
cmp al, 0xd
jne 0x100aa82a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100aa836
cmp byte [ecx + 1], 0xa
jne 0x100aa836
inc ecx
jmp 0x100aa836
movzx eax, al
movsx eax, byte [eax + 0x100e0418]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100aa810
cmp edx, ebx
jne 0x100aa810
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100aa867
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10035ef0
leave
ret
Function at 0x456f57
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[di], dx
jmp 0x456fa1
push esp
lcall 0x6320, 0xd685ca04
mov byte [0xf0c996de], al
das
movsd dword es:[edi], dword [esi]
fldenv [esi - 0xac82eb4]
dec esp
sal dword [edi], 1
cmc
mov bh, 0xd0
and dl, al
mov ebx, 0x18a49a32
xor byte [ebx + 0x4182ca48], bh
loopne 0x456fb3
inc eax
into
xchg byte [ecx - 0x6e1d133], al
mov ch, 0x8d
xchg esp, eax
dec esp
invalid

Function at 0x471ad1
Capabilities:
Check for vm using instruction vpcext

Disassembly:
stosb byte es:[edi], al
mov ebx, 0x94055ad2
neg byte [ebp + 4]
imul dword [ecx - 0x131b91e]
sub byte [eax], ch
xchg esp, eax
daa
xchg byte [ecx], dh
mov esi, 0xaa06e428
sub ah, ah
push es
stosb byte es:[edi], al
xchg esp, edi
sub eax, 0x4f362640
inc eax
push ebp
shl dword [ebx - 0x2a], cl
xor esp, dword [ecx + 0x1e]
add al, cl
arpl bx, cx
xor ch, byte [ecx + edi*2 + 0x36]
jnp 0x471b44
imul edi, dword [edi], 0xee40d64f
add eax, 0x1e0ba984
invalid
test eax, 0x3f0f1e0b
cld
dec eax
scasb al, byte es:[edi]
mov ah, 0xcf
test byte [ebx], bh
test eax, 0x6de02008
mov ah, 0xb8
dec edi
adc bl, byte [ebx]
out dx, al
sbb ebp, esi
dec ecx
fsub qword [edx]
mov ah, 0xe1
xchg ecx, eax
add al, 0xae
dec ebp
lodsb al, byte [esi]
xchg edi, eax
rep stosd dword es:[edi], eax
add dh, byte [edx - 0x1c]
invalid
jno 0x471ae8
push esi
dec esp
jb 0x471b0d
inc esi
jecxz 0x471b68
fcmovu st(0), st(0)
ret 0xba81
hlt
rcl dword [ebx - 0x4b], 0x93
or esp, esp
mov eax, dword [ebx + 0x431f9726]
pop ecx
cmp ah, byte [edx + 0xb]
mov esp, 0xf2c37c2c
salc
std
and dword [ecx], ecx
jecxz 0x471b22
jo 0x471b65
outsb dx, byte [esi]
cmp dl, bl
cdq
and al, 0x40
test al, 0x49
mov bl, bh
push edx
mov edx, 0x67c2cf29
fucomi st(2)
and edx, dword [eax + 0x48]
pop esi
inc ebx
std
add dl, cl
insb byte es:[edi], dx
rcr dword [0xa2e4c923], cl
sub byte [edx], ah
cmp esi, dword es:[eax + 0x18]
mov edi, 0xc4458412
aam 0xe2
mul esi
add byte [eax], 0xb6
scasb al, byte es:[edi]
inc edi
invalid
Function at 0x47f228
Capabilities:
Encode data using xor

Disassembly:
mov gs, esi
push ecx
or eax, 0x6eb1ce99
dec edi
popal
push esi
stosb byte es:[edi], al
inc edx
dec ebp
outsb dx, byte [esi]
mov byte [ecx + 0x54683dcf], 0x72
cmp eax, 0x7e48f07b
dec edx
xor al, ch
push ecx
push edi
xor cl, byte [esi + 0x31]
and esi, dword [ecx + 0x44]
xchg ebp, eax
mov bh, 0x3e
mov al, byte [0x6960424f]
add edi, dword [ebp - 0x32]
jge 0x47f1f8
jge 0x47f1f8
test eax, 0x48617853
aaa
push edx
pushfd
xor eax, dword [edx]
push ss
cmp dword [edi - 0x161aa2d], 0xffffffd7
xchg dh, bl
mov dh, byte ss:[esi + 0x70]
loop 0x47f273
scasd eax, dword es:[edi]
int 0x6f
jae 0x47f29f
adc esi, dword [esi - 0x54]
jmp 0x47f28d
shr byte [ebx + 0x2b437edb], cl
invalid
inc ebx
sub ecx, dword [esi + 0x1e77d2bb]
mov bl, 0xde
outsd dx, dword [esi]
sar byte [ebx - 0x74fc792e], cl
and al, 0x76
adc cl, byte [ebx + 0x7310fe18]
xlatb
xor edx, dword [edi]
jbe 0x47f298
mov ebx, dword [eax]
invalid
pop ss
popal
adc eax, 0x7e749e88
stosd dword es:[edi], eax
fadd qword [ecx + 0x12]
ja 0x47f26f
push edi
rcr dword [ebp + 0x1737b62e], cl
aaa
pop ss
jb 0x47f2a1
cld
or dh, byte [edx - 0x49]
mov ah, 0xf3
dec esi
rcr dword fs:[edi], cl
shl ebx, cl
sbb al, 0x98
mov edi, 0x60c2dfba
sub al, 0x4c
jp 0x47f284
jbe 0x47f317
cli
fist word [edi]
dec esi
int 0x7a
sbb edx, ebp
xchg ebx, eax
mov bl, 0xce
pop edi
fnstenv [edi - 0x12fa9412]
fsubr st(2)
pop edi
cmpsd dword [esi], dword es:[edi]
pop ebp
mov edx, 0xbbca6142
dec edi
invalid
adc byte [edx], dl
sahf
jnp 0x47f388
sbb al, 0xbc
mov eax, dword [0xb236b3f9]
cmp bl, dl
push esp
ficom word [edi]
wait
sub byte [eax], bl
adc al, 0xea
sahf
jmp 0x47f33b
xor byte [edx - 0x10c68c27], bl
sbb bl, byte [ebx + 0x3b]
cmpsd dword [esi], dword es:[edi]
adc edi, ebx
add dword [ebp - 0x28ee4474], esi
lds ebp, [edx + 0x6b43ef32]
xor dword [edi], edx

Function at 0x496108
Capabilities:
Encode data using xor

Disassembly:
fimul word [edx + 0x6a]
fist word [eax - 0x69c8c569]
imul ebx, dword [0xaa9ced8], 0xffffff83
sbb ecx, edi
fdivr qword [ecx - 0x6ceccbb]
push edx
sbb eax, 0xbb443db6
movsd dword es:[edi], dword [esi]
xchg edx, eax
and esi, dword [esp + ecx*4]
mov bh, 0xf2
out dx, eax
xor dword [edi], eax
push es
invalid
Function at 0x4014b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
jne 0x4015f8
mov dword [ebp - 8], esp
push 0x443247
push dword [ebp + 8]
call dword [0x446f0a]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4014f1
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401547
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401525
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401547
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Image
push dword [ebp + 8]
call dword [0x446f0a]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40156e
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40159d
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40159d
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Stream
push dword [ebp + 8]
call dword [0x446f0a]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4015c4
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4015f3
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4015f3
push 6
call fcn.0043a201
add esp, 4
jmp 0x4016bf
cmp dword [ebp + 0xc], 0x201
jne 0x4016bf
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x446f0e]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401630
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push str.CometHitMove
push dword [ebp + 8]
call dword [0x446f0a]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40165a
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4016b7
mov dword [ebp - 8], esp
call dword [0x446f12]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401686
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], esp
push 0
push 2
push 0xa1
push dword [ebp + 8]
call dword [0x446f16]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4016b7
push 6
call fcn.0043a201
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x4016ef
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x446f0e]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4016ea
push 6
call fcn.0043a201
add esp, 4
jmp 0x4016ef
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40189b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x446dee], 0x4d29ac2
push 0
mov ebx, 0x108
call fcn.0043bdb0
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4018e9
mov eax, 0x44327a
push eax
push 2
mov ebx, 0x138
call fcn.0043be50
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40190f
push ebx
call fcn.0043a1fb
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401922
mov eax, 0x44327a
push eax
push 1
mov ebx, 0x154
call fcn.0043bec0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401948
push ebx
call fcn.0043a1fb
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.004017fe
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401976
push ebx
call fcn.0043a1fb
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x401a75
push VariantClear
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.0043bf40
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4019cd
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4019e0
push ebx
call fcn.0043a1fb
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401a1c
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x443289
test eax, eax
je 0x401a33
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401a53
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401a75
push 6
call fcn.0043a201
add esp, 4
call fcn.00401a88
mov eax, 0
jmp 0x401a84
mov esp, ebp
pop ebp
ret
Function at 0x4025bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0043c280
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402601
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40262c
push 6
call fcn.0043a201
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x402648
push eax
mov ebx, eax
call fcn.004022d1
inc eax
push eax
call fcn.0043a1f5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40264d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40265e
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x403b25
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0043c280
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403b6a
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x403b98
push 6
call fcn.0043a201
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x403bb4
push eax
mov ebx, eax
call fcn.004022d1
inc eax
push eax
call fcn.0043a1f5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403bb9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403bca
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40a9fb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40aa3e
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40aa68
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40aa9c
push 6
call fcn.0043a201
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x40aaa4
mov esp, ebp
pop ebp
ret 4

Function at 0x40aaaa
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x40aac5
call fcn.0040ab35
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40aaf1
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40ab1b
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x40ab2f
mov esp, ebp
pop ebp
ret 8

Function at 0x40bd93
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x40bdb2
mov dword [ebp + 0x14], 0
jmp 0x40bdcf
cmp dword [ebp + 0x14], 2
jne 0x40bdc8
mov dword [ebp + 0x14], 7
jmp 0x40bdcf
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x44327a
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40be0a
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x40be26
mov eax, 0
jmp 0x40be30
mov eax, 1
jmp 0x40be30
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40d227
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0043c280
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d26c
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40d297
push 6
call fcn.0043a201
add esp, 4
push 0x4432f5
push dword [ebp - 4]
mov ecx, 2
call fcn.0040233c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40d2b7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d2c8
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x423b75
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x423bb0
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0043f230
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x423c13
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0043bd90
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x423c37
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0043f230
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x423c9a
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0043bd90
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x423cbe
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0043f230
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x423d21
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0043bd90
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x423d29
mov esp, ebp
pop ebp
ret
Function at 0x428016
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x42805c
push 6
call fcn.0043a201
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x443552]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401363
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0043c280
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4280af
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4280e8
push 6
call fcn.0043a201
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x428104
push eax
mov ebx, eax
call fcn.004022d1
inc eax
push eax
call fcn.0043a1f5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x428109
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42811a
push ebx
call fcn.0043a1fb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x43c2c0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43c329
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0043bb80
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x43df60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0043ff00
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x43e0b0
test ecx, ecx
je 0x43e0b0
inc ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43dfd9
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43e09d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x43e061
cmp eax, 0xea
jne 0x43e089
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x43e02c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x43e06f
cmp eax, 2
jne 0x43e089
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.0043f600
add esp, 8
mov dword [esp + 0x10], eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x43e0de
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x43e0ea
mov edx, dword [esp + 0x40]
test edx, edx
je 0x43e0ea
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.0043f600
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret