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

Disassembly:
sub esp, 0x20
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
js 0x1020f352
lea eax, [ecx + 0x10]
shr eax, 4
mov dword [esp + 0x14], eax
neg eax
mov ebp, edi
shl eax, 4
sub ebp, ebx
add ecx, eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edx
push eax
mov dword [esp + 0x34], ecx
call fcn.1020e8b0
add esp, 0xc
lea ecx, [edi + 2]
mov eax, ebx
mov edx, 4
jmp 0x1020f300
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020f300
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
add esi, 0x10
sub ebp, 0x10
sub dword [esp + 0x14], 1
mov dword [edi + 0xc], edx
mov ebx, eax
jne 0x1020f2c0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020f3d1
xor eax, eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10228b20
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.1020e8b0
mov ebp, edi
add esp, 0x18
lea ecx, [edi + 2]
mov eax, ebx
sub ebp, ebx
mov edx, 4
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020f396
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x20
ret
Function at 0x102127d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x10213cc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc50
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0xc4c], eax
mov eax, dword [esp + 0xc5c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc6c]
push edi
mov edi, dword [esp + 0xc64]
lea ebx, [edi + 0x830]
push ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
call fcn.101ec180
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push 1
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [esp + 0x43c]
push ebx
push ecx
lea ebp, [edi + 0xc48]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x444], eax
call fcn.101ebd30
mov ebx, dword [esp + 0xc88]
add esp, 0x10
mov edi, edi
mov edx, dword [ebp + 0x414]
push 0
push 1
shl edx, 5
push edx
lea eax, [esp + 0x28]
push eax
call fcn.101ef6a0
lea ecx, [esp + 0x2c]
push ebp
push ecx
mov edx, ecx
push edx
call fcn.101f3f50
mov eax, dword [esp + 0x44c]
add esp, 0x1c
test eax, eax
je 0x10213d40
cmp eax, 1
jne 0x10213d80
cmp dword [esp + 0x20], 0
je 0x10213d40
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x830]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [edi + 0x1060]
push eax
push ecx
call fcn.101f0790
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x864]
push ecx
call fcn.101ecb60
mov eax, dword [esp + 0xc84]
mov edx, dword [esp + 0x2c]
add esp, 0x1c
lea ecx, [esp + 0x84c]
push edx
cmp eax, 1
jne 0x10213dda
mov eax, ecx
push eax
push ecx
call fcn.101fc890
jmp 0x10213e1a
cmp eax, 4
jne 0x10213df7
lea eax, [esp + 0x850]
push eax
push pe_nt_image_headers32
push ecx
call fcn.101fb430
add esp, 0x10
jmp 0x10213e1d
cmp eax, 6
lea eax, [esp + 0x850]
push eax
jne 0x10213e14
push 0x200
push ecx
call fcn.101fb430
add esp, 0x10
jmp 0x10213e1d
push ecx
call fcn.102152a0
add esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x850]
push edx
push eax
call fcn.101ebf30
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x10213e65
mov edi, dword [esp + 0xc74]
lea edx, [esp + 0x84c]
sub edi, edx
lea esp, [esp]
lea eax, [esp + ecx + 0x84c]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x10213e50
mov edi, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x850]
push eax
push esi
call fcn.101ebf30
push ebp
push esi
push esi
call fcn.101f3f50
push ebp
push esi
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.101f3fa0
push ebp
push esi
push edi
push esi
call fcn.101f4030
mov eax, dword [esi + 0x414]
add esp, 0x38
test eax, eax
je 0x10213d40
cmp eax, 1
jne 0x10213eb2
cmp dword [esi + 4], 0
je 0x10213d40
mov ecx, dword [esp + 0xc5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1022649a
add esp, 0xc50
ret
Function at 0x102140e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc50
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0xc4c], eax
mov eax, dword [esp + 0xc5c]
push ebx
push ebp
mov ebp, dword [esp + 0xc5c]
push esi
mov esi, dword [esp + 0xc6c]
push edi
lea ebx, [ebp + 0x830]
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
call fcn.101ec180
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push 1
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [esp + 0x43c]
push ebx
push ecx
lea edi, [ebp + 0xc48]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x444], eax
call fcn.101ebd30
mov ebx, dword [esp + 0xc88]
add esp, 0x10
mov edi, edi
mov edx, dword [edi + 0x414]
push 0
push 1
shl edx, 5
push edx
lea eax, [esp + 0x28]
push eax
call fcn.101ef6a0
lea ecx, [esp + 0x2c]
push edi
push ecx
mov edx, ecx
push edx
call fcn.101f3f50
mov eax, dword [esp + 0x44c]
add esp, 0x1c
test eax, eax
je 0x10214160
cmp eax, 1
jne 0x102141a0
cmp dword [esp + 0x20], 0
je 0x10214160
mov ecx, dword [esp + 0x14]
lea eax, [ebp + 0x830]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ebp + 0x1060]
push eax
push ecx
call fcn.101f0790
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x860]
push eax
call fcn.101ecaf0
add esp, 0x18
cmp eax, dword [esp + 0x10]
jne 0x10214160
cmp dword [esp + 0xc68], 1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x84c]
push ecx
mov eax, edx
push edx
push eax
jne 0x102141f9
call fcn.101fc890
jmp 0x102141fe
call fcn.102152a0
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
lea ecx, [esp + 0x850]
push ecx
push edx
call fcn.101ebf30
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x10214245
mov ebp, dword [esp + 0xc74]
lea eax, [esp + 0x84c]
sub ebp, eax
lea ecx, [ecx]
lea eax, [esp + ecx + 0x84c]
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x10214230
mov ebp, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x850]
push eax
push esi
call fcn.101ebf30
push edi
push esi
push esi
call fcn.101f3f50
push edi
push esi
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.101f3fa0
push edi
push esi
push ebp
push esi
call fcn.101f4030
mov eax, dword [esi + 0x414]
add esp, 0x38
test eax, eax
je 0x10214160
cmp eax, 1
jne 0x10214292
cmp dword [esi + 4], 0
je 0x10214160
mov ecx, dword [esp + 0xc5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1022649a
add esp, 0xc50
ret
Function at 0x102150f0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 4], 0
mov dword [eax], 0
ret

Function at 0x102167d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x24], ebp
lea edi, [ebx + 4]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x102168a6
lea edx, [eax + ebp]
cmp edx, 8
jl 0x1021688b
mov esi, dword [esp + 0x20]
mov ecx, 8
sub ecx, eax
push ecx
add eax, edi
push esi
push eax
call fcn.10228b20
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
inc edi
movzx ecx, byte [edi + 1]
shl edx, 8
or eax, edx
inc edi
movzx edx, byte [edi + 1]
inc edi
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [edi + 1]
shl edx, 0x18
or eax, edx
xor dword [esp + 0x1c], eax
inc edi
movzx edx, byte [edi + 1]
inc edi
shl edx, 8
or ecx, edx
movzx edx, byte [edi + 2]
inc edi
movzx edi, byte [edi]
shl edx, 8
or edx, edi
shl edx, 0x10
or ecx, edx
xor dword [esp + 0x20], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.101fd6e0
mov edx, 8
sub edx, dword [ebx]
add esp, 0x14
add esi, edx
mov dword [ebx], 0
jmp 0x102168aa
mov ecx, dword [esp + 0x20]
push ebp
push ecx
add eax, edi
push eax
call fcn.10228b20
add esp, 0xc
pop edi
pop esi
mov dword [ebx], ebp
pop ebp
pop ebx
add esp, 8
ret
mov esi, dword [esp + 0x20]
cmp ebp, 8
jl 0x10216924
mov edi, ebp
shr edi, 3
lea edx, [edi*8]
sub ebp, edx
mov dword [esp + 0x24], ebp
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
inc esi
shl edx, 8
or ecx, edx
movzx edx, byte [esi + 1]
inc esi
shl edx, 0x10
or ecx, edx
movzx edx, byte [esi + 1]
xor dword [esp + 0x10], eax
inc esi
lea eax, [esp + 0x10]
push eax
shl edx, 0x18
lea eax, [ebx + 0x14]
or ecx, edx
xor dword [esp + 0x18], ecx
push eax
inc esi
call fcn.101fd6e0
add esp, 8
sub edi, 1
jne 0x102168c1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1021693a
push eax
lea eax, [ebx + 4]
push esi
push eax
call fcn.10228b20
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
pop ebx
add esp, 8
ret

Function at 0x1022649a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102a8930]
jne 0x102264a4
repz ret
jmp fcn.1022caaf
Function at 0x10237155
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1022e561
and dword [ebp - 4], 0
cmp dword [0x102bd53c], 0
mov ebx, eax
jne 0x10237206
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x102372b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1025a31c
push edi
call esi
test eax, eax
je 0x102372b7
push eax
call fcn.1022e4ef
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102bd53c], eax
call esi
push eax
call fcn.1022e4ef
mov dword [esp], 0x1025a2f8
push edi
mov dword [0x102bd540], eax
call esi
push eax
call fcn.1022e4ef
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102bd544], eax
call esi
push eax
call fcn.1022e4ef
pop ecx
mov dword [0x102bd54c], eax
test eax, eax
je 0x10237206
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1022e4ef
pop ecx
mov dword [0x102bd548], eax
mov eax, dword [0x102bd548]
cmp eax, ebx
je 0x1023725e
cmp dword [0x102bd54c], ebx
je 0x1023725e
push eax
call fcn.1022e56a
push dword [0x102bd54c]
mov esi, eax
call fcn.1022e56a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1023725e
test edi, edi
je 0x1023725e
call esi
test eax, eax
je 0x10237255
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10237255
test byte [ebp - 0xc], 1
jne 0x1023725e
or dword [ebp + 0x10], 0x200000
jmp 0x10237297
mov eax, dword [0x102bd540]
cmp eax, ebx
je 0x10237297
push eax
call fcn.1022e56a
pop ecx
test eax, eax
je 0x10237297
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10237297
mov eax, dword [0x102bd544]
cmp eax, ebx
je 0x10237297
push eax
call fcn.1022e56a
pop ecx
test eax, eax
je 0x10237297
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102bd53c]
call fcn.1022e56a
pop ecx
test eax, eax
je 0x102372b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x102372b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ba10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov cl, byte [0x7d204d]
mov dword [0x7d5a8c], eax
mov al, byte [0x7d204a]
mov edx, dword [0x7d2030]
and cl, al
mov eax, dword [0x7d2034]
mov byte [0x7d204d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x7d2043]
mov dword [0x7d2030], edx
mov edx, dword [0x7d2038]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or edx, 7
push 0x10
imul edx, ecx
and eax, edx
mov dword [0x7d2034], eax
call edi
test ax, ax
jge 0x44ba85
or dword [esi], 0x2000000
mov edx, dword [0x7d2030]
mov eax, dword [0x7d2034]
shr edx, 0xc
or edx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov eax, dword [0x7d5a8c]
fild qword [esp + 8]
push eax
fadd qword [0x7d2050]
fstp qword [0x7d2050]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push 0x11
call edi
test ax, ax
jge 0x44bacc
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44badb
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4

Function at 0x4d4384
Capabilities:
Encode data using xor

Disassembly:
mov fs, word [esi + 0x32]
fcom qword [edi - 0x53]
dec ebp
lodsb al, byte [esi]
iretd
cmp byte [ecx + 0x6a7d4d57], bl
jecxz 0x4d4351
sub edx, dword [ecx - 0x6a6be456]
invalid
Function at 0x4d8944
Capabilities:
Encode data using xor

Disassembly:
aas
ficomp dword [ebp + 0x44]
push esp
sti
push ebp
cdq
pushal
jnp 0x4d8979
xlatb
rcl bl, 1
sbb eax, 0x4ba493b0
rcr dword [0x4ba493b0], cl
sbb bh, dl
mov ss, esi
lds ebx, [ecx + 5]
add byte [edx + 7], ah
out 0x5e, al
movsb byte es:[edi], byte [esi]
xor byte [edx], 0xc8
cmp eax, 0x6053f6bf
dec ecx
loop 0x4d8952
xor eax, 0xed823c22
cmp ah, dl
lahf
mov ah, 9
lea ecx, [ecx]
bnd jns 0x4d89cb
or dword [ebp + 0x4c79f209], ecx
xor dword [ebx + 0x5a], eax
push es
cmp bh, ah
and dword [ecx - 0x12b52f5b], edx
out 2, eax
jmp 0x4d89f3
jae 0x4d8a1f
imul cl
leave
xchg byte [ebp + 0x485a4c64], al
add eax, 0x8f93227e
mov ebx, 0xfb59b579
add al, 0x53
in al, dx
test dword [edx], ecx
inc ebx
rcl dword [ebx], 0x22
invalid
in al, 0x27
inc ecx
inc ecx
mov ch, 0xf3
daa
invalid
xor byte [eax + 0x433272ab], 0xb1
push esp
stosd dword es:[edi], eax
jb 0x4d8a54
inc ebx
mov cl, 0x54
lcall 0x9b7d, 0xab48d77b
ret 0x2ee0
loopne 0x4d8a5d
push eax
sbb eax, 0x8854e26e
pushal
invalid
sbb dl, bl
stc
je 0x4d8a2d
push cs
ja 0x4d8a83
cmpsd dword [esi], dword es:[edi]
dec ebp
mov esp, 0x4314bb0c
or dword [0x33c52c34], esi
mov cl, 0x8b
cmpsb byte [esi], byte es:[edi]
lea edx, [edx + 0x35]
stc
xor al, 0x3b
inc esi
imul edx, dword [ecx + edx*2 + 0x69016ca], 0x77
inc ebx
sal bh, 0xa9
shl dword [ecx + 0x6a], cl
jl 0x4d8a1d
cdq
mov bl, 0xcc
out 0xd2, al
in eax, dx
pop edx
inc eax
sub al, 0xa4
movsb byte es:[edi], byte [esi]
int 0x70
cmp eax, 0x5e273d26
or ch, byte [ebp - 0x4f]
sbb ah, cl
mov ecx, 0xc72fe947
jecxz 0x4d8af6
wait
invalid
mov ecx, 0x859ca1af
fimul dword gs:[eax]
sti
jne 0x4d8a8d
jbe 0x4d8b67
sbb byte [ecx - 0x34], 0x43
adc esp, dword [ecx - 0x39]
fld dword [esi - 0x55]
inc esi
stosd dword es:[edi], eax
push edx
xor al, 0xe1
jnp 0x4d8ae1
add dword [esi + 0x30d2c765], ebp
popal
outsd dx, dword [esi]
js 0x4d8b23
popfd
mov edi, 0x52ba4593
xchg esi, eax
sbb eax, 0x3318e0f4
dec edi
pushfd
cmp al, 0x63
cmpsb byte [esi], byte es:[edi]
push eax
and dword [ebx - 0x66], 0xffffff8e
pushfd
pop esp
jae 0x4d8b43
test bh, ch
lcall 0xb4fe, 0xd47c87bd
and dword [esi - 0x4ca9843e], 0x1c
test byte [esi], ch
imul esi, dword [ebx + 0x17444d5b], 0xffffff83
aas
or al, 0x65
cmp dh, byte [ebx + 0x6115a228]
test byte [edx + 0x11050694], dh
out dx, al
jo 0x4d8af2
dec esi
xlatb
push 0x33a59784
xchg esp, eax
adc eax, 0xe0690643
cdq
inc eax
xor dword [eax + ebp*4 + 0x57ea5a7d], esp
adc byte [0xd953a573], dh
xchg edi, eax
retf 0xc572
fst dword [edi - 0x3d3a8d36]
invalid
Function at 0x53386c
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x8481ca15
adc ebx, dword [ecx + esi*2 + 0x6f716048]
sbb dword [edx - 0x49], eax
dec esp
sbb eax, 0x9459eab9
insb byte es:[edi], dx
test eax, 0xcac6e774
cmp esi, dword [ecx - 0x54f09f0c]
mov bl, 0x35
adc eax, dword [edx + ecx*2 + 0x56c70923]
adc ebp, eax
sti
pop edi
sbb al, 0xc2
ret 0xb492
retf
out dx, eax
aaa
xor dword [edx + ecx*4 - 0x58cf0fcb], 3
add byte [edx + 0x18], bh
xchg edx, eax
mov dh, 0xf0
rcr cl, 0x87
jecxz 0x523d93
lodsd eax, dword [esi]
int3
push es
pop esi
lea eax, [eax]
add eax, 0x7983d2eb
adc al, 0x71
add dword [0x8b24c183], ecx
add dword [ecx], edi
add byte [0xeb5e0375], al
mov edi, 0x4c2019f
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push ebp
mov ebp, esp
mov eax, dword [eax]
add eax, 0x39f63356
jo 0x53384d
add dword [edx], ecx
pop esi
lea ecx, [ecx + 0x18]
pop ebp
jmp 0x523d84

Function at 0x537f0a
Capabilities:
Encode data using xor

Disassembly:
sub dh, byte [edx + 7]
retf 0x865b
jmp 0x537e5a
mov al, byte [0xa2dffcde]
or bh, dl
push edi
test dword [0x2d154040], esi
dec esi
salc
push ds
push edi
jno 0x537f73
outsb dx, byte [esi]
shr cl, cl
push eax
scasb al, byte es:[edi]
imul ebp, ebx, 0x9a21179f
clc
outsb dx, byte [esi]
je 0x537ec4
cmp dword [ebp - 0x2888dafb], 0x2b721ed9
adc al, cl
and al, 0x4f
jbe 0x537f66
add eax, 0xf65b625e
xchg byte [eax + 0x6f], al
pushal
mov ah, 0x49
in eax, dx
xor ah, 0x8b
xor al, 0x68
jge 0x537f94
fst qword [edx]
jmp [edi - 0x1d]
push es
in eax, dx
fnsave dword [edx - 0x23066205]
retf 0x86b
inc edx
mov bl, 0x57
jp 0x537f95
push ebx
popal
jns 0x537ff4
push 0x9b011b65
cmpsd dword [esi], dword es:[edi]
call 0x8bf52836
iretd
xor ebx, dword [edx]
push esp
cwde
dec ebx
sbb dl, byte [eax + ebx*4 + 0x4b]
pop ecx
inc esi
dec edi
outsd dx, dword [esi]
xor dword [ebp + 0x3e], edi
adc ch, bh
mov edi, esi
ljmp 0xd4ea
dec eax
jns 0x538032
pop ebp
push 0xc9ae1a87
nop
int3
imul ecx, ebx, 0x77
adc al, 0x5f
inc esp
mov edx, 0x2081576b
dec edi
shr dword [ecx - 0x74], 1
inc esp
outsb dx, byte [esi]
mov bl, 0xac
in eax, 0xcc
sbb dword [ecx - 0x6f], 0x9cea14d8
mov ch, 0xda
push es
xor al, 0xca
scasb al, byte es:[edi]
lahf
sbb byte [edi + 0x19], bl
sbb eax, 0xa5df8474
mov ah, 0x25
pop ebx
imul ebp, dword [ecx - 0x36b64b9a], 0xffffffaa
jne 0x53803e
fld dword [edx - 0x17]
cmp esi, dword [0x50605fa]
in al, dx
or al, byte ds:[edx]
add eax, 0x20a3eec
jecxz 0x538071
pop es
fsub dword [eax + ebx*8 + 0x17]
ret 0x5c
Function at 0x5b8fa2
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x37
mov cl, 0xd9
or dl, byte [eax + 0x50815fac]
add eax, 0xaf465299
les eax, [esi + 0x7ab47648]
imul edx, ebx, 0x9c061de3
sbb byte [edi], ah
push ds
cmp dl, bh
dec ebp
fcomi st(2)
clc
lodsd eax, dword [esi]
mov eax, 0xa9d7b481
dec esp
xchg esi, eax
push edi
cdq
out dx, al
mov ecx, dword [ebp + 0x60a0d27b]
mov ecx, 0xcf3d5bc
sbb eax, 0xc2ac4fb6
pushal
xor eax, 0x2856e6a6
mov ah, bh
xchg ebx, eax
push ebp
inc edx
add dword [ebx - 7], 0x696f80b2
xchg dword [ebp + 0x162c7783], esp
and eax, 0x22fa4e28
or ecx, dword [esi]
idiv dword [ebx]
cmp al, 0x30
nop
add esp, dword [edx - 0x3a]
push 0xac887ead
and al, 0x3d
in eax, 0xb2
cmpsd dword [esi], dword es:[edi]
xchg ebx, eax
jg 0x5b8fcd
lodsd eax, dword [esi]
lodsb al, byte [esi]
cmpsd dword [esi], dword es:[edi]
sub eax, 0x21e33c28
outsd dx, dword [esi]
rcl dword [edi + esi], cl
mov dh, 0x96
enter 0x5713, 0xffffffffffffffdc
aaa
stosb byte es:[edi], al
test dword [ebx + 0x47], 0x893c8752
sal word [eax - 0x5c], 1
push ax
neg eax
adc esp, dword [ebx + edi]
cmp ch, dl
sti
rcr byte [eax - 0x38], cl
or dword [ebp + 0x2a], ebx
stc
out 0x93, al
pop ds
int3

Function at 0x631243
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
sbb ch, byte [edx + 0x2ffaf172]
test dword [esi - 3], esp
invalid

Function at 0x7c85dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d2378
cmp edx, dword [eax]
je 0x7c85ff
add eax, 8
inc ecx
cmp eax, 0x7d2408
jl 0x7c85f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d2378]
jne 0x7c872d
mov eax, dword [0xbd78d0]
cmp eax, 1
je 0x7c8707
test eax, eax
jne 0x7c8630
cmp dword [0x7d22a4], 1
je 0x7c8707
cmp edx, 0xfc
je 0x7c872d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c8667
lea eax, [ebp - 0x1a4]
push 0x7cddb8
push eax
call fcn.007c8fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c9450
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c86aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c9450
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cddb4
push edi
call fcn.007cb320
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cdd98
push eax
call fcn.007c8fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8fd0
lea eax, [ebp - 0xa0]
push 0x7cdd94
push eax
call fcn.007c8fd0
push dword [esi + 0x7d237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8fd0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cdd6c
push eax
call fcn.007cb294
add esp, 0x2c
pop edi
jmp 0x7c872d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d237c]
push 0
push eax
push dword [esi]
call fcn.007c9450
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402754
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x42803c], 0x8088405
inc edx
mov dword [0x42803c], edx
mul edx
mov eax, edx
ret

Function at 0x40281c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4028b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402894
xor eax, eax
push ebp
push 0x40288d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4028d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402894
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret