joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4898ef
Capabilities:
Encode data using xor

Disassembly:
lcall 0x95c0, 0x173ed186
adc byte [edx - 0x30], ah
sar byte [eax - 0xe], 1

Function at 0x521a20
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xd61b680a
xor eax, 0x4a69ea87
mov ebx, 0x1e3aa196
sub al, 0xe6
lcall 0xba32, 0xb0024a6f
add byte [esi - 0x79], dl
mov byte [esi - 0x15], bl
jp 0x521a4a
xchg byte [ebx], cl
cmp eax, ebx
insb byte es:[edi], dx
invalid
xor dword [esi + 0x5a15100b], eax
out dx, al
retf 0x4a7e

Function at 0x5cf359
Capabilities:
Encode data using xor

Disassembly:
int 0x85
adc ch, dh
push ebx
mov ah, byte [eax]
or esp, ebp
mov dword [0x197742c3], eax
lodsb al, byte [esi]
mov dword [ebx + 0x7f010890], edi
sbb cl, byte [ebx + 0x42da7c40]
ret
daa
or dword [eax], eax
mov ah, 0xc2
inc esi
xlatb
movsb byte es:[edi], byte [esi]
xor ecx, ecx
add byte [edx + eax*8 + 0x31a4d746], dh
leave
push ss
mov ecx, 0x343ee3b4
shl byte [edx - 0x35], cl
mov edx, 0x1f2571f
shr dword [edi + esi*8 - 0x28], cl
and dword [edx - 0x4fe42acd], ebx
loope 0x5cf25c
push ebx
or dl, bl
je 0x5cf219
xchg esp, eax
push 0x1b86ddc7
int3
jecxz 0x5cf284
add cl, dl
dec eax
fisubr dword [ecx]
popal
insd dword es:[edi], dx
cdq
pushal
jno 0x5cf25e
inc ebx
sti
mov ch, 0xf7
mov bl, byte [esi - 0x46324268]
hlt
inc ecx
imul ebp, dword [ebx - 0x63f45490], 0x2bc3e2ca
xchg edi, eax
cdq
not byte [edi - 3]
sal dword [edi - 0x13], cl
ja 0x5cf2d4
fnsave dword [esi + 3]
stosb byte es:[edi], al
push edi
jmp 0x5cf2a9
jmp 0x5cf2e5
not ah
ficomp dword [edi - 0xa]
xchg ebp, eax
cmp al, 0x1c
wait
ret
pop edi
not byte [ebp - 0x3c64e3c4]
cmpsb byte [esi], byte es:[edi]
adc esp, esi
sbb eax, dword [edi]
shl dword [ebp + 0x4dfe7a18], cl
adc cl, byte [ebx - 0x3ae44aca]
jecxz 0x5cf2f5
jae 0x5cf315
push ss
stosb byte es:[edi], al
cmp ebp, dword [ecx + 0x74]
push ds
push eax
rcl dword [esi + 0x192a4f9a]
jl 0x5cf344
inc edx
cli
mov edx, ecx
or edi, dword [eax + ebx*8 + 0x19f2bb71]
movsd dword es:[edi], dword [esi]
cmp al, 0x2b
xchg edi, eax
cmp dword [eax + 0x617354fd], eax
push es
fstp xword [ebx - 0x353345f2]
sbb dword [esi], esi
loop 0x5cf318
in eax, dx
push esp
pop edi
jl 0x5cf388
jecxz 0x5cf3cb
fcmovnb st(0), st(5)
inc ebx
lodsd eax, dword [esi]
mov esi, 0x33ad2fd6
leave
in al, 0xc1
lahf
sbb ebp, dword [edi + 0xd67e893]
pop esp
ljmp 0x3121
and dl, dh
sub byte [ecx - 0x6d], cl
sub al, 0xb2
outsb dx, byte [esi]
insd dword es:[edi], dx
retf
fisubr dword [ebx + edi*2 + 8]
mov esp, 0xacf13b04
xor ah, byte [edx + 0xa]
pop edx
wait
or ebp, dword [ebx - 0x43]
out dx, eax
cmp byte [edx - 0x613377b1], ch
fdiv dword [0x763321bb]
mov ah, 0xd8
mov dh, 0xe7
or ebp, dword [0xbfa72527]
popal
rol byte [ebx], 1
insd dword es:[edi], dx
imul edi, dword [ecx - 0x26], 0x809a8edd
inc ecx
or ebp, dword [eax + ebp*4]
mov al, 0xba
lodsd eax, dword [esi]
sub ecx, dword [esi - 0x3f63d956]
jmp 0xe196ed67
test al, 0xb0
mov edx, 0xaa8e2bad
pushfd
shr cl, 0x8d
stc
cmp ecx, esp
cmp byte [edx], ch
cmp al, 0xc3
xchg esi, eax
adc ch, byte [edx + 0x5e]
js 0x5cf395
cld
popal
invalid
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4ae54a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4af8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x4cc54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x4cc54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x4cb378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af8b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401190
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x42e0a0]
test eax, eax
push esi
push edi
je 0x4011eb
mov eax, dword [esp + 0x10]
mov edx, dword [0x42d054]
mov ecx, dword [0x42d058]
lea esi, [edx + eax]
cmp esi, ecx
jl 0x4011b6
sub ecx, edx
mov eax, ecx
test eax, eax
jle 0x40125f
mov esi, dword [0x42d050]
mov edi, dword [esp + 0xc]
add esi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x42d054]
add ecx, eax
pop edi
mov dword [0x42d054], ecx
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push eax
push ecx
push 1
push esi
call fcn.00419a85
mov edi, eax
mov eax, dword [0x42e090]
add esp, 0x10
test eax, eax
je 0x40125d
test edi, edi
jle 0x40125d
mov edx, dword [0x42defc]
mov eax, dword [0x42dee0]
lea ecx, [eax + edx]
mov edx, dword [0x42deec]
mov eax, dword [0x42dee8]
add eax, edx
and ecx, 0xff
and eax, 0xff
test edi, edi
jle 0x40125d
mov dl, byte [0x42def4]
push ebx
push ebp
mov ebp, edi
mov bl, byte [esi]
xor bl, cl
sub bl, al
add dl, bl
mov byte [esi], dl
inc esi
dec ebp
jne 0x401247
pop ebp
mov byte [0x42def4], dl
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x40f6b0
Capabilities:
Create process on windows

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x3c
test cl, 2
mov eax, 0xa
je 0x40f6c6
mov eax, 2
cmp byte [esi], 0
je 0x40f72c
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x42e8e4]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
jne 0x40f78b
push 0x42b360
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0xe
call fcn.00419f40
test cl, 0x10
push eax
je 0x40f749
push 0x426391
push 0x426391
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40f76f
test cl, 0x20
je 0x40f768
push 0x426391
push 0x426391
push edx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40f76f
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jge 0x40f78b
push 0x42b360
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0xe
call fcn.00419f40
add esp, 0x3c
ret
Function at 0x40f790
Capabilities:
Get common file path

Disassembly:
mov edx, dword [0x42e88c]
sub esp, 0x10c
cmp eax, 4
lea ecx, [edx + 0x338]
push esi
mov esi, dword [ecx]
ja case.default.0x40f7ae
jmp dword [eax*4 + 0x40f8b8]
push 0x104
push esi
call fcn.0041b381
add esp, 8
push 0x5c
push esi
call fcn.00419630
add esp, 8
mov eax, esi
pop esi
add esp, 0x10c
ret
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x20
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00419260
add esp, 0xc
push 0x5c
push esi
call fcn.00419630
add esp, 8
mov eax, esi
pop esi
add esp, 0x10c
ret
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x5c
push esi
call fcn.00419630
add esp, 8
mov eax, esi
pop esi
add esp, 0x10c
ret
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5c
push esi
call fcn.00419630
add esp, 8
mov eax, esi
pop esi
add esp, 0x10c
ret
mov edx, dword [edx + 0x368]
push edx
push ecx
call fcn.00409670
mov eax, dword [0x42e88c]
mov eax, dword [eax + 0x338]
add esp, 8
pop esi
add esp, 0x10c
ret
test eax, 0x10000
je 0x40f8a1
push 0
and eax, 0xffff
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5c
push esi
call fcn.00419630
add esp, 8
mov eax, esi
pop esi
add esp, 0x10c
ret
push 0x42b360
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 3
call fcn.00419f40
mov ch, 0xf7
inc eax
add al, bl
test dword [eax], case.0x40f7ae.2
xor al, bh
inc eax
add byte [ecx - 8], dl
inc eax
add ah, cl
int3
Function at 0x40f8d0
Capabilities:
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
sub esp, 0xcc
push ebx
push ebp
mov ebx, eax
test bl, 0x10
mov eax, dword [0x42e88c]
mov ebp, dword [eax + 0x338]
push esi
mov esi, 4
mov dword [esp + 0xc], 0x104
je 0x40f903
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test bl, 0x20
je 0x40f92c
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
and ebx, 0xf
mov eax, dword [esp + ebx*4 + 0x38]
pop esi
mov dword [ebp], eax
pop ebp
mov eax, 4
pop ebx
add esp, 0xcc
ret
cmp ebx, 0x11
ja case.0x40f93c.3
movzx ecx, byte [ebx + 0x40fa8c]
jmp dword [ecx*4 + 0x40fa74]
mov edx, dword [str.Windows]
mov dword [ebp], edx
mov eax, dword [0x426520]
push edi
mov dword [ebp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edi, ebp
dec edi
test eax, eax
js 0x40f980
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40f962
mov cx, word [0x426518]
mov word [edi], cx
mov dl, byte [0x42651a]
jmp 0x40f998
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40f980
mov cx, word [0x426514]
mov word [edi], cx
mov dl, byte [0x426516]
movzx ecx, ah
push ecx
and eax, 0xff
push eax
mov byte [edi + 2], dl
lea edx, [esp + 0x64]
push str._ver_d._d
push edx
call fcn.00419c44
lea eax, [esp + 0x6c]
add esp, 0x10
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f9c0
sub eax, edx
dec ebp
mov edi, ebp
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40f9d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 2
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, 2
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
lea ecx, [esp + 0xc]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, 2
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
mov edx, dword [esp + 0x2c]
mov eax, esi
pop esi
mov dword [ebp], edx
pop ebp
pop ebx
add esp, 0xcc
ret
mov eax, dword [esp + 0x28]
mov dword [ebp], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
push 0x42b360
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 3
call fcn.00419f40
lea ecx, [ecx]
inc ebx
stc
inc eax
add dl, bh
stc
inc eax
add byte [edi], dl
cli
inc eax
add byte [edx + edi*8], dh
inc eax
add byte [edi - 6], al
inc eax
add byte [edx - 6], bl
inc eax
add byte [eax], al
add dword [edx], eax
add eax, 84215045
add eax, 84215045
add eax, 67306757
int3
Function at 0x412ba0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x42e908]
test byte [eax + 0x30c], 2
je 0x412c2c
mov edx, dword [esi + 4]
cmp edx, 0x200
mov edi, dword [0x42e900]
jne 0x412c0d
test edi, edi
movzx eax, word [esi + 0xc]
movzx ecx, word [esi + 0xe]
jne 0x412c02
cmp dword [0x42e8f8], eax
jne 0x412beb
cmp dword [0x42e8fc], ecx
je 0x412c0d
push 0x42b360
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00419f40
mov dword [0x42e8f8], eax
mov dword [0x42e8fc], ecx
cmp edx, 0x100
jne 0x412c2c
test edi, edi
jne 0x412c2c
push 0x42b360
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], edi
call fcn.00419f40
cmp dword [esi + 4], 0x100
jne 0x412c6a
cmp dword [esi + 8], 9
jne 0x412c40
call fcn.004128f0
push 2
call fcn.00403c70
add esp, 4
test eax, eax
je 0x412c6a
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push eax
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 2
call fcn.004049e0
add esp, 0x10
pop edi
pop ecx
ret
Function at 0x412c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
cmp dword [edi + 0xec], 9
je 0x412d96
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x412cc4
cmp dword [esp + 0x20], 0x12
je 0x412da8
lea esi, [esp + 0x1c]
call fcn.00412ba0
jmp 0x412d89
mov eax, dword [edi + 0xec]
dec eax
cmp eax, 7
ja case.0x412cd4.5
jmp dword [eax*4 + 0x412e1c]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call ebx
cmp dword [esp + 0x20], 0x12
je 0x412dbf
lea esi, [esp + 0x1c]
call fcn.00412ba0
cmp dword [edi + 0xec], 3
je case.0x412cd4.3
push 0xff
push 0x3e8
push 0
push 0
push 0
call ebp
jmp 0x412d89
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004039f0
add esp, 4
mov dword [edi + 0xec], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push esi
call fcn.00403a30
add esp, 4
test eax, eax
je 0x412d60
mov edx, dword [edi + 0xf8]
push 0xff
sub edx, esi
push edx
push 0
push 0
push 0
call ebp
jmp 0x412d89
mov eax, dword [0x42e908]
test byte [eax + 0x30c], 2
je 0x412d89
mov eax, dword [0x42e900]
test eax, eax
je 0x412d89
dec eax
mov dword [0x42e900], eax
jmp 0x412d89
mov dword [edi + 0xec], 3
cmp dword [edi + 0xec], 9
jne 0x412c94
mov dword [edi + 0xec], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x42b360
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0
call fcn.00419f40
push 0x42b360
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0
call fcn.00419f40
push 0x42b360
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.00419f40
push 0x42b360
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0xa
call fcn.00419f40
push 0x42b360
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x2a
call fcn.00419f40
nop
push ds
sub eax, 758317121
inc ecx
add al, ah
sub al, 0x41
add dh, dl
sub eax, 0x2da00041
inc ecx
add ch, ch
sub eax, 0x2e040041
inc ecx
add byte [edi + 0x2d], bh
inc ecx
add ah, cl
int3
Function at 0x415180
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov esi, dword [esp + 0x120]
push edi
lea eax, [esp + 0x10]
mov ebx, ecx
mov ecx, dword [esi + 8]
push eax
push ecx
call ebp
mov eax, dword [esi + 0xc]
test eax, eax
mov edi, dword [esp + 0x128]
jl 0x41520d
mov ecx, dword [ebx + 0x130]
push eax
call fcn.00415f50
mov ecx, dword [esp + 0x12c]
dec ecx
je 0x4151df
dec ecx
je 0x4151d5
movsx ecx, word [esi + 0x14]
movsx edx, word [esi + 0x16]
jmp 0x4151e7
movsx ecx, word [esi + 0x18]
movsx edx, word [esi + 0x1a]
jmp 0x4151e7
movsx ecx, word [esi + 0x1c]
movsx edx, word [esi + 0x1e]
push 0xcc0020
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test byte [esi + 3], 2
je 0x415239
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x20]
push edx
push 0xff
push 0xd
push eax
call ebx
mov ecx, dword [esi + 8]
push 0
push 0
push 0x31
push ecx
call ebx
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 1
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
lea edx, [esp + 0x14]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push ebx
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 0xc

Function at 0x4181b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
push ebx
mov edi, ecx
call fcn.00415ea0
mov eax, dword [edi + 0x320]
mov ecx, dword [eax + ebx*4]
xor ebp, ebp
test ecx, ecx
je 0x418201
mov ecx, eax
mov esi, dword [ecx + ebx*4]
test esi, esi
mov ebp, dword [esi + 0x34]
je 0x4181eb
mov ecx, esi
call fcn.00417d90
push esi
call fcn.00419efc
add esp, 4
mov edx, dword [edi + 0x320]
push 0
push ebp
mov dword [edx + ebx*4], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x158
call fcn.00419f01
add esp, 4
test eax, eax
je 0x41821c
mov dword [eax], 0
mov esi, eax
jmp 0x41821e
xor esi, esi
mov eax, dword [edi + 0x320]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
and ecx, 1
push ecx
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x1c]
push edx
push eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x130], edi
mov dword [esi + 0x44], 1
mov ecx, dword [edi + 0x31c]
push ebp
push ecx
mov ecx, esi
call fcn.00417fd0
xor eax, eax
pop edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
pop esi
pop ebp
pop ebx
ret 0x10