joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407540
Capabilities:
Read file via mapping
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x449004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
lea ecx, [ebp - 0x90]
push 0
push ecx
push eax
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x40771c
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x40771c
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x40771c
mov edi, dword [ebx + 0x3c]
add edi, ebx
push 4
push 0x3000
mov dword [ebp - 0x9c], edi
push dword [edi + 0x50]
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x94], esi
test esi, esi
jne 0x407622
push 4
push 0x3000
push dword [edi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x94], eax
test esi, esi
jne 0x407622
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Allocation_failed_with_error__d_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00407350
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [edi + 0x50]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x98]
push str.Loading_PE_image__s_n
call fcn.00401010
mov eax, dword [edi + 0x28]
add eax, esi
push eax
push esi
push str.__Image_Base:__p__Entry_Point:__p_n
call fcn.00401010
movzx eax, word [edi + 0x16]
add esp, 0x14
shr eax, 0xd
and eax, 1
push eax
xor eax, eax
cmp dword [edi + 0xa0], eax
setne al
push eax
push dword [edi + 0x34]
push str.__Desired_Image_Base:__p__Has_Relocations:__d__Is_DLL:__d_n
call fcn.00401010
push dword [edi + 0x60]
push dword [edi + 0x64]
push str.__Stack_Size:__d_bytes_committed___d_bytes_reserved__n
call fcn.00401010
add esp, 0x1c
push dword [edi + 0x68]
push dword [edi + 0x6c]
push str.__Heap_Size:__d_bytes_committed___d_bytes_reserved__n
call fcn.00401010
add esp, 0xc
push dword [edi + 0x54]
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
movzx edi, word [edi + 6]
add esp, 0xc
test edi, edi
je 0x4076e8
mov esi, dword [ebp - 0x9c]
add esi, 0x108
nop
test byte [esi + 0x14], 0x80
jne 0x4076e0
push dword [esi]
mov eax, dword [esi + 4]
add eax, ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, 0x28
sub edi, 1
jne 0x4076c0
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa4]
call esi
mov eax, dword [ebp - 0x94]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004256d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004256d5
mov esp, ebp
pop ebp
ret
Function at 0x4077f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x3c]
push ebx
mov ebx, edx
mov dword [ebp - 0x14], ecx
push esi
mov eax, dword [eax + ecx + 0x78]
xor esi, esi
add eax, ecx
push edi
mov edx, dword [eax + 0x24]
mov edi, dword [eax + 0x1c]
add edx, ecx
mov dword [ebp - 4], edx
add edi, ecx
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x407895
nop dword [eax + eax]
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xc], eax
mov edi, dword [edi + eax*4]
add edi, ecx
cmp ebx, 0xffff
jbe 0x407880
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
add eax, ecx
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x407871
test dl, dl
je 0x40786d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x407871
add ecx, 2
add eax, 2
test dl, dl
jne 0x407851
xor eax, eax
jmp 0x407876
sbb eax, eax
or eax, 1
test eax, eax
je 0x40789e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
lea ecx, [eax + 1]
movzx eax, bx
cmp eax, ecx
je 0x40789e
mov ecx, dword [ebp - 0x14]
inc esi
mov edi, dword [ebp - 0x18]
cmp esi, edx
jb 0x407830
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425eda
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425f19
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425f19
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425f19
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425f19
cmp dword [ecx + 0x74], 0xe
jbe 0x425f19
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401778
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453004]
jne 0x401782
repz ret
jmp fcn.00401fd4

Function at 0x404321
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040318f
xor ebx, ebx
cmp dword [0x4576c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4043f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x404361
xor eax, eax
jmp 0x4044ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40435a
push eax
call fcn.0040312c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4576c4], eax
call esi
push eax
call fcn.0040312c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4576c8], eax
call esi
push eax
call fcn.0040312c
mov dword [0x4576cc], eax
lea eax, [ebp - 8]
push eax
call fcn.004023e5
test eax, eax
pop ecx
pop ecx
je 0x4043c4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c10
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4043f6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040312c
cmp eax, ebx
pop ecx
mov dword [0x4576d4], eax
je 0x4043f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040312c
pop ecx
mov dword [0x4576d0], eax
mov eax, dword [0x4576d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40446f
cmp dword [0x4576d4], esi
je 0x40446f
push eax
call fcn.00403198
pop ecx
call eax
cmp eax, ebx
je 0x40443c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4576d4]
call fcn.00403198
pop ecx
call eax
test eax, eax
je 0x40443c
test byte [ebp - 0x18], 1
jne 0x40446f
lea eax, [ebp - 0xc]
push eax
call fcn.0040241c
test eax, eax
pop ecx
je 0x404457
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c10
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404466
or dword [ebp + 0x10], 0x200000
jmp 0x4044a0
or dword [ebp + 0x10], 0x40000
jmp 0x4044a0
mov eax, dword [0x4576c8]
cmp eax, esi
je 0x4044a0
push eax
call fcn.00403198
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4044a0
mov eax, dword [0x4576cc]
cmp eax, esi
je 0x4044a0
push dword [ebp - 4]
push eax
call fcn.00403198
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4576c4]
call fcn.00403198
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409581
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40958b
repz ret
jmp fcn.0040df6c

Function at 0x41219c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b60f
and dword [ebp - 0x14], 0
cmp dword [0x46b4cc], 0
mov dword [ebp - 0x18], eax
jne 0x41224f
push 0x403784
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4122f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403778
push ebx
call edi
test eax, eax
je 0x4122f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403768
push ebx
mov dword [0x46b4cc], eax
call edi
push eax
call esi
push 0x403754
push ebx
mov dword [0x46b4d0], eax
call edi
push eax
call esi
push 0x403738
push ebx
mov dword [0x46b4d4], eax
call edi
push eax
call esi
mov dword [0x46b4dc], eax
test eax, eax
je 0x41224f
push 0x403720
push ebx
call edi
push eax
call esi
mov dword [0x46b4d8], eax
mov eax, dword [0x46b4d8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4122a8
cmp dword [0x46b4dc], ecx
je 0x4122a8
push eax
call esi
push dword [0x46b4dc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4122a8
test ebx, ebx
je 0x4122a8
call edi
test eax, eax
je 0x41229f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41229f
test byte [ebp - 8], 1
jne 0x4122a8
or dword [ebp + 0x10], 0x200000
jmp 0x4122db
mov eax, dword [0x46b4d0]
cmp eax, dword [ebp - 0x18]
je 0x4122db
push eax
call esi
test eax, eax
je 0x4122db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4122db
mov eax, dword [0x46b4d4]
cmp eax, dword [ebp - 0x18]
je 0x4122db
push eax
call esi
test eax, eax
je 0x4122db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b4cc]
call esi
test eax, eax
je 0x4122f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4122f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409581
leave
ret
Function at 0x4140d0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413770
cmp dword [0x80b624], 0x37
jne 0x414161
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f50
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403f70
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x80c208]
mov edx, dword [0x808684]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
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.KERNEL32.dll_GetACP]
mov cl, byte [0x7cf04d]
mov dword [0x7d2a8c], eax
mov al, byte [0x7cf04a]
mov edx, dword [0x7cf030]
and cl, al
mov eax, dword [0x7cf034]
mov byte [0x7cf04d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x7cf043]
mov dword [0x7cf030], edx
mov edx, dword [0x7cf038]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or edx, 7
push 0x10
imul edx, ecx
and eax, edx
mov dword [0x7cf034], eax
call edi
test ax, ax
jge 0x44ba85
or dword [esi], 0x2000000
mov edx, dword [0x7cf030]
mov eax, dword [0x7cf034]
shr edx, 0xc
or edx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
push 0x11
fild qword [esp + 0xc]
fadd qword [0x7cf050]
fstp qword [0x7cf050]
call edi
test ax, ax
jge 0x44bac0
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44bacf
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4

Function at 0x456dbc
Capabilities:
Encode data using xor

Disassembly:
lahf
daa
lcall 0xf2f2, 0x9ecfa5fd
cmpsb byte [esi], byte es:[edi]
sahf
repne cmpsb byte [esi], byte es:[edi]
and dword [esi], ebp
fnsave dword [ebx]
mov fs, word [ebx]
lahf
add ebp, dword [esi + 0x7d]
pop ebp
xchg esp, eax
jge 0x456d97
ja 0x456dbf
sub edx, dword [edi - 0x1aa59d9d]
or dword [ebp + 0x4d9b3b79], esp
mov al, byte [0xd87501f1]
mov byte [edx - 0x76cb112e], cl
out dx, al
xor al, 0x89
push edi
sbb dl, byte [edi + ebp*4 - 0xd]
fistp qword [ebp + 0x5b]
shr byte [eax], 1
jae 0x456e24
xchg edx, eax
div byte [ebx - 0x75c8588c]
mov ebx, 0x4c22ecb8
sbb edx, 0xfb63e0a3
add dword [edx + eax*2 - 0x16], ebp
pop edi
sbb ah, byte [ebx]
cli
jno 0x456e41
jns 0x456d91
pop esp
popfd
dec esi
aas
sub eax, 0x6c9afe87
fcom dword [ebx]
pop es
fstp xword [edx - 0x51de79a8]
add ah, dl
adc eax, dword [edx + 0x7853eac1]
and edi, dword [edx]
xor ch, byte [0xba905ad3]
mov al, byte [0x1302997c]
push cs
mov fs, word [edi + 0x66]
outsd dx, dword [esi]
out 0xc3, eax
dec ebx
ret
sub al, 0x2b
mov dword [0xe073a23e], eax
jl 0x456e83
cmp cl, byte [ecx - 0x67]
add byte [edi - 0x28f458c], 0x13
stc
and eax, 0x29c4c6fb
shl dword [edi - 0x74cb7b41], 1
test byte [ebx + ecx*4], dh
and bl, ch
dec esp
lcall 0x7a71, 0x5c583a24
dec ebx
invalid
invalid
Function at 0x4587f5
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, 0x1a
das
jbe 0x458848
sal byte [0xfc3ea7f], cl
push esi
dec edx
adc dh, byte [edx]
and eax, dword [edx + esi]
cmp eax, 0x49980e34
cmp al, 0xf3
inc ebx
mov bh, cl
cmp byte [ebx - 0x55], ah
mov bl, 0x2c
shr dword [edi - 0x131e6364], 0xa2
mov dh, 0x32
pop esp
inc ecx
das
shr byte [eax], cl
push ecx
sahf
dec ebx
xor dword [ebp + 0x11], edx
dec esp
mov ebp, 0xd4acbad2
pop edx
adc byte [ebx + 0x34333963], bh
sti
frndint
xor al, 0xe5
inc eax
mov ch, byte [ebx]
push ds
sub eax, ecx
or dword [ebx], esp
shr byte [esi + 0x2f], 0x54
and eax, eax
outsb dx, byte [esi]
das
push esp
outsd dx, dword [esi]
inc edi
pop ss
shr dword [ebx + ecx*2 + 0x75], 1
mov al, 0x5f
xchg esp, eax
mov ecx, 0x8ac49869
push ecx
add al, 0x29
sti
cmpsd dword [esi], dword es:[edi]
mov edi, ebx
xchg esi, eax
push esp
cmp esi, dword [ebx + 0x35]
jl 0x458804
lodsb al, byte [esi]
sbb eax, 0x2c2cdc4f
mov word [ebp - 0x1518b581], ss
and dword [edx - 0x1d], esi
and dword [ebx + 0x74190e90], edx
in al, 0x30
insb byte es:[edi], dx
fyl2x
fimul dword [edx]
stc
lds ecx, [eax - 0x15]
mov ebx, edx
ljmp 0xd4d2

Function at 0x4ee115
Capabilities:
Encode data using xor

Disassembly:
salc
jge 0x4ee18a
mov edi, 0xd5619823
push 0x705ceb8
or byte [ecx], bh
adc al, 0xe0
add ebp, dword [edx + edx - 0x3d9e0987]
cmp cl, dl
aaa
push cs
cmp al, 0x95
adc eax, 0x1d51a5e5
or al, 0xc4
hlt
cmp dword [ebx], 0x44622604
add bh, byte [edx]
in eax, 0x9e
sub al, 0x9f
jns 0x4ee1c1
wait
sbb byte [edi], dh
aaa
jecxz 0x4ee200
jbe 0x4ee187
cld
movsd dword es:[edi], dword [esi]
inc ebx
inc edx
add dword [edx + ebp*8 + 0x65], ebx
aas
cli
mov dword [edx + 0x1f], 0xf61b25c4
sal byte [ebp - 0x5fc1b7d2], 1
add al, 0x3b
rol dword [esi + 0x4d], 1
sbb esi, 0xfffffff7
xchg ebp, eax
xchg edi, eax
push 0xf5c346f3
adc byte [ecx], dh
pushfd
jnp 0x4ee20c
mov cl, byte [eax]
cmc
jno 0x4ee189
jl 0x4ee1cd
push eax
lodsb al, byte [esi]
insd dword es:[edi], dx
jmp 0x4ee177
pop eax
fisttp dword [eax - 0x75]
xchg byte [0x148683e9], al
or eax, eax
xchg ecx, eax
stosd dword es:[edi], eax
mov bh, 0xba
daa
mov ebx, 0xe15a9598
add eax, 0xdc4527e4
xor eax, 0xce39b59a
rcl byte [ecx + 0x27bab7ab], 0xbb
cwde
xchg ebp, eax
pop edx
loope 0x4ee1de
in al, 0x27
inc ebp
fdiv qword [0xce39b59a]
lcall 0x23e, 0x67ce39b5
xor esp, ebp
add dh, byte ds:[bx + di]
in al, dx
adc al, 0x67
fsubr st(6), st(0)
add dword [ebx], esp
xchg edi, eax
cmp dword [eax], ebx
cmp dword [eax], ecx
movsb byte es:[edi], byte [esi]
jb 0x4ee226
add eax, 0x536bd95
dec ebx
pop ebp
jge 0x4ee216
sub dword [ebx + 0x22034645], ebp
stosd dword es:[edi], eax
inc ebp
inc esi
add esp, dword [edx]
fnstcw word [esi + 0x15]
ljmp 0x3f1e
push ds
aas
ficom word [edi + 0x17]
or al, 0xec
pop esi
and dword [edi - 0x673f988b], esi
movsd dword es:[edi], dword [esi]
aam 0xd3
mov bh, 0x75
rcr byte [bx + si - 0x2b5b], 0xd3
xchg byte [edi + eax*4], bl
wait
int1
mov ch, 0x70
invalid
test byte [ebx + 0x377f74a9], 0xa7
push cs
pop ecx
inc ebp
stosb byte es:[edi], al
aaa
adc byte [0x37fa3c10], 0xe7
neg dword [0x2b67d548]
or dword [ecx], esp
salc
out 0xee, al
invalid
Function at 0x54d8ec
Capabilities:
Encode data using xor

Disassembly:
push cs
mov dword [0x6923850e], eax
mov dl, 9
lea esi, [ebx + edx*8 - 0x2ea6801a]
xor ebp, dword [ebx]
sbb eax, 0xfa6cc43d
arpl bx, ax
dec si
mov cl, 0xd8
xchg edx, eax
jns 0x54d944
test al, 0xe6
pop ebp
cld
insb byte es:[edi], dx
out 0xb3, eax
aas
jae 0x54d8dd
adc ebp, dword [edi + 0x4d00e8f4]
and dword [edi - 0xe], esi
dec ecx
mov dl, 0x7b
ret
movsb byte es:[edi], byte [esi]
lds ebp, [eax + esi + 0x46]
lodsb al, byte [esi]
jb 0x54d98b
call 0x379d0794
pop ebp
mov bl, 0x60
invalid
lodsd eax, dword [esi]
mov word [eax], es
sub al, byte [edx + eax*8 - 0x18fadc2]
inc esp
fnstsw word [esi + ecx*4 + 0xc]
and edx, dword [eax - 0x7e]
imul ebx, esi, 0x9132626b
cmpsd dword [esi], dword es:[edi]
invalid

Function at 0x54fc26
Capabilities:
Encode data using xor

Disassembly:
sub byte [eax], 0xd2
lodsb al, byte [esi]
cmp eax, 0xa08d43c2
cli
loop 0x54fc78
mov edi, 0x66ade07c
in al, 0x80
test eax, 0xd922eb2
loopne 0x54fc53
and al, 6
salc
mov byte [esi - 0x1a], ch
push 0xffffffffffffffcd
push 0x75
imul ebp, dword [ebp - 0x13bcb4d0], 0x624367eb
xor ebp, edi
bound esi, qword [ecx]
std
mov word [esi - 0x9cb1d7d], fs
xchg ebp, eax
jl 0x54fc92
jecxz 0x54fcb1
jmp 0x78e9fe06
test byte [edx], ch
mov byte [0x33801742], al
dec esi
shr ecx, 1
enter 0x2aff, 0xffffffffffffff80
in eax, 0x90
inc esp
out dx, al
mov edi, 0x68180eb0
lds ebp, [esp + esi + 0x40]
mov esp, 0xc7058a2d
js 0x54fc7b
jmp [edx]
call 0xdf0bf8a9
movsb byte es:[edi], byte [esi]
sbb eax, 0x176d73ce
or al, 0x6d
sub eax, 0x75d30680
out dx, al
sub byte [ebx - 0x21], dh
push ecx
lodsd eax, dword [esi]
cmp eax, 0x3184d83f
hlt
lea edx, [esi]
push 0x9fba83ea
or eax, dword [edx + 0x23]
daa
imul esp, dword [ebp - 0xc], 0xffffff84
cli
mov dword [esi + 0x71], esi
test bl, dl
salc
sbb ch, dl
jnp 0x54fc70
invalid
Function at 0x56e537
Capabilities:
Encode data using xor

Disassembly:
push edx
lds ebp, [ecx]
aaa
pushfd
push 0xae8971ac
cwde
inc edx
dec ebp
jo 0x56e53a
insb byte es:[edi], dx
iretd
out dx, eax
mov dl, 9
invalid
xor eax, 0x7c552c53
sub al, 0x55
jl 0x56e551
xor eax, 0xbaf1fee3
adc bl, byte [ebx + edi*4]
or cl, byte [ebp + 1]
outsd dx, dword [esi]
jb 0x56e51b
jecxz 0x56e51c
int1
mov edx, 0xabb1c12
dec ebp
add dword [edi + 0x72], ebp
pop esi
pop esi
add al, 0x1a
aaa
jae 0x56e565
jl 0x56e4be
add ecx, ebp
lcall 0xb172, 0xde93161f
fidiv word [edx - 0x4f]
jae 0x56e516
add ch, byte [edx + eax*2 + 0x40]
and eax, 0x25fc326a
xchg byte [eax - 0x4e], bl
add byte [ebp - 0x33], bl
and ch, ch
cwde
invalid
mov esi, 0x5a87ca04
mov dword [0x86148734], eax
add al, 0xca
xchg dword [edx - 0x5d], ebx
xor al, 0x87
adc al, 0x86
pushfd
pop es
insd dword es:[edi], dx
dec edx
pop ss
jge 0x56e4f8
mov esp, 0xac62c716
invalid
lodsb al, byte [esi]
test eax, 0x712dbe47
sub eax, 0x2a78a163
mov byte [eax], al
jle 0x56e518
cmp byte [edx - 0x5d9be82f], al
lodsb al, byte [esi]
bound edx, qword [ecx]
mov ch, 0xbe
mov bl, 0x4c
dec ebp
shr dword [esi + ebx*4 + 0x74], cl
jno 0x56e568
mov esi, 0xd34d4cb3
insb byte es:[edi], dx
sahf
je 0x56e5fb
frstor dword [ecx - 0xe8d1fdf]
mov eax, dword [0xf172e021]
jb 0x56e581
pop ebx
or dl, byte [ecx]
cmp dword [ebx - 0x69], 0x31
mov al, byte [0x53e52593]
or eax, 0xc2f4eea2
add dword [eax], ebp
xor bl, byte [ebx]
mov ebx, dword [ecx - 0x2090ae8d]
and ebp, esi
push ebx
loop 0x56e58e
wait
mov esp, 0x91c92005
aad 0xf
daa
or al, 0x81
lodsd eax, dword [esi]
adc esp, dword [esi]
push es
in al, 0x59
invalid

Function at 0x58445a
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
rcr byte [esp], 0x8d
adc bl, byte [ebp - 0x57d30af1]
pmaddwd mm5, qword [eax + ebp*4]
cmp esp, dword [ecx + 0x3b3eefcc]
lodsd eax, dword [esi]
arpl word [ecx - 7], cx
xor dword [edx - 0xd], ebp
mov edi, 0x8c3e75bc
push edi
test eax, 0x38048113
push esp
lcall 0x8c63, 0xb469f3cb
sub dl, byte [edi]
mov edi, 0xb8f98f2d
push 0xd3485574
or cl, cl
popfd
lodsd eax, dword [esi]
sbb dword [eax - 0x5f], ebx
mov esp, 0x280a245d
sbb al, 0x12
pop ebp
and al, 0xa
sub byte [edx + edx], bl
leave
sbb byte [ebx], dh
jns 0x584454
push 0xc649c4e9
cmp al, 0x2c
jl 0x58441f
jge 0x584414
lahf
in eax, dx
jl 0x58441b
insd dword es:[edi], dx
test al, 0xc9
sbb byte [ecx - 0x652899f3], bl
fcom qword [ebp - 0x4ace1cf1]
fbld tbyte [edx + 0x6f]
mov ecx, 0x695d1e91
mov al, 0xae
mov eax, 0x98aa8406
xor byte [edx], ch
cdq
or eax, 0xdc9ad766
xchg ebp, eax
pavgw mm6, qword [ecx]
mov ch, 0xdf
bound ebp, qword [edi - 0x47]
xchg ecx, eax
push ds
pop ebp
imul esi, dword [eax - 0x7bf94752], 0x2a3098aa
add bp, word [edx - 0x28]
inc eax
sbb ebp, 0x19
cmp al, 0x3b
salc
xor eax, 0x6cf80343
out dx, al
push 0x2c17062a
xchg ebp, eax
scasd eax, dword es:[edi]
outsb dx, byte [esi]
mov edi, 0xf5cd952
test dl, cl
sar al, 0xe7
sub ecx, dword [edx]
out 0xbe, eax
cmp byte [0xa15824cb], ch
js 0x584472
invalid
Function at 0x7c7a7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7cf378
cmp edx, dword [eax]
je 0x7c7a9f
add eax, 8
inc ecx
cmp eax, 0x7cf408
jl 0x7c7a90
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7cf378]
jne 0x7c7bcd
mov eax, dword [0xbd04d0]
cmp eax, 1
je 0x7c7ba7
test eax, eax
jne 0x7c7ad0
cmp dword [0x7cf2a4], 1
je 0x7c7ba7
cmp edx, 0xfc
je 0x7c7bcd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7b07
lea eax, [ebp - 0x1a4]
push 0x7cc7d0
push eax
call fcn.007c8460
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c88f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7b4a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c88f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cc7cc
push edi
call fcn.007ca7c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cc7b0
push eax
call fcn.007c8460
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8470
lea eax, [ebp - 0xa0]
push 0x7cc7ac
push eax
call fcn.007c8470
push dword [esi + 0x7cf37c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8470
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cc784
push eax
call fcn.007ca734
add esp, 0x2c
pop edi
jmp 0x7c7bcd
lea eax, [ebp + 8]
lea esi, [esi + 0x7cf37c]
push 0
push eax
push dword [esi]
call fcn.007c88f0
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 0x4032fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4032fe
lcall 0x5de5, 0x8b10c483
jmp loc.00771570