joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1a3e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0049ad47
mov dword [ebp - 0x14], eax
cmp dword [0x4e6494], esi
jne 0x4a1b31
push 0x800
push esi
push 0x4b5980
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a1abe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a1c11
push esi
push esi
push 0x4b5980
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a1c11
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a1c11
push eax
call ebx
push 0x4b59a4
push edi
mov dword [0x4e6494], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4e6498], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4e649c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4e64a4], eax
test eax, eax
je 0x4a1b2e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4e64a0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a1b56
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a1b49
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a1b6b
push 4
pop eax
jmp 0x4a1c13
cmp dword [ebp - 0x14], esi
je 0x4a1b6b
push dword [0x4e6494]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a1b50
mov eax, dword [0x4e64a0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a1bc9
cmp dword [0x4e64a4], edi
je 0x4a1bc9
push eax
call ebx
push dword [0x4e64a4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a1bc9
test eax, eax
je 0x4a1bc9
call ecx
test eax, eax
je 0x4a1bbe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a1bbe
test byte [ebp - 8], 1
jne 0x4a1bc9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a1bf9
mov eax, dword [0x4e6498]
cmp eax, edi
je 0x4a1bf6
push eax
call ebx
test eax, eax
je 0x4a1bf6
call eax
mov esi, eax
test esi, esi
je 0x4a1bf6
mov eax, dword [0x4e649c]
cmp eax, edi
je 0x4a1bf6
push eax
call ebx
test eax, eax
je 0x4a1bf6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4e6494]
call ebx
test eax, eax
je 0x4a1c11
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a1c13
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493955
mov esp, ebp
pop ebp
ret
Function at 0x401be4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0x407088
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x401cd1
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebx
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebx
push ebx
push edi
mov dword [ebp - 8], eax
call esi
add esp, 0x1c
cmp dword [ebp - 8], ebx
je 0x401c7f
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
test ebx, ebx
pop ecx
je 0x401c7f
push edi
push 1
push dword [ebp - 8]
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
push dword [ebp + 8]
call fcn.00401cd8
add esp, 0x14
test eax, eax
je 0x401c71
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x401c66
mov cl, byte [ebx + 0x23]
mov byte [eax], cl
push dword [ebp + 0xc]
push ebx
call fcn.00401d60
jmp 0x401c7a
push dword [ebp + 0xc]
push ebx
call fcn.00401f93
pop ecx
pop ecx
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
push edi
call esi
cmp dword [ebp - 4], 0
pop ecx
je 0x401cc4
cmp dword [ebp + 0x14], 0
jne 0x401cc4
push 0x407084
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x401cc0
push edi
push 1
push dword [ebp - 8]
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
call esi
add esp, 0x14
jmp 0x401cc4
and dword [ebp - 4], 0
test ebx, ebx
pop esi
je 0x401cd1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x4021fe
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push edi
push 0x407098
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4022c9
push esi
mov dword [ebp + 8], ebx
mov esi, 0x800
push edi
push 1
lea eax, [ebp - 0x804]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
jbe 0x4022c0
cmp dword [ebp - 0x7de], 0xbf010000
jne 0x4022b3
cmp dword [ebp - 0x7da], 0xd403
jne 0x4022b3
cmp word [ebp - 0x7d3], bx
je 0x402275
or dword [ebp - 4], 8
mov word [ebp - 0x7d3], bx
cmp dword [ebp - 0x7cf], ebx
je 0x402287
or dword [ebp - 4], 0x10
mov dword [ebp - 0x7cf], ebx
cmp dword [ebp - 4], ebx
je 0x4022b3
cmp dword [ebp + 0xc], ebx
jne 0x4022b3
push 1
push 0xfffff800
push edi
call dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 1
lea eax, [ebp - 0x804]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x1c
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x40
jl 0x402231
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x402488
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x404004
call fcn.00403980
push ecx
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and dword [ebp - 4], 0
push edi
call esi
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call esi
test al, 1
je 0x4024da
push edi
lea eax, [ebp - 0x10]
push 0x6b
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 0x40
push dword [ebp - 0x10]
call sub.MFC42.DLL_AfxMessageBox
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x402e40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x404108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x402eea
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402ed1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402ed1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x70], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403ba5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [edi + 4]
push dword [edi + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call sub.MSVCRT.dll_strlen
add eax, 3
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 8], ebx
je 0x403cb2
mov esi, 0x407474
push esi
push ebx
call sub.MSVCRT.dll_strcpy
push dword [ebp + 8]
push ebx
call sub.MSVCRT.dll_strcat
push esi
push ebx
call sub.MSVCRT.dll_strcat
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x18
cmp dword [edi + 8], 0
jne 0x403c81
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
mov dword [ebp - 0xc], eax
jg 0x403c64
push 5
push str.http:
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x403c5e
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x20
jle 0x403c81
push 1
push 0
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
push str.open
call ebx
push eax
call esi
cmp eax, 0x20
jg 0x403c97
push 1
push 0x40754c
push 0
push dword [ebp + 8]
push str.open
call ebx
push eax
call esi
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
push edi
call esi
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x403cbb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x10
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
je 0x403d43
push dword [ebp + 8]
mov edi, dword [sym.imp.MSVCRT.dll__strdup]
call edi
push dword [ebp + 0xc]
mov dword [esi], eax
call edi
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
test ecx, ecx
mov dword [esi + 4], eax
je 0x403d28
test eax, eax
je 0x403d26
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403b50
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x403d21
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x403d45
test ecx, ecx
mov edi, dword [sym.imp.MSVCRT.dll_free]
je 0x403d34
push ecx
call edi
pop ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x403d3f
push eax
call edi
pop ecx
push esi
call edi
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x403d49
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
lea eax, [ebp - 0x208]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.tmp.htm
lea eax, [ebp - 0x208]
push eax
push str._s_s
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 1], 0
lea eax, [ebp - 0x104]
push eax
call fcn.004024f4
add esp, 0x18
test eax, eax
pop esi
jne 0x403dbf
lea eax, [ebp - 0x104]
push 0x407478
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
test eax, eax
pop ecx
pop ecx
jne 0x403db7
leave
ret
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00403cbb
add esp, 0x10
leave
ret

Function at 0x4ca24b
Capabilities:
Encode data using xor

Disassembly:
push 0x4c9fca
pop esi
mov edi, edx
dec edx
and edx, edx
call fcn.004ca28e
and edi, edi
add edx, edx
xor dword [ecx], esi
inc edx
sub edx, 0x5165973
dec edi
add ecx, 1
sub edx, 0x312148f1
add edi, 0xc141cf88
cmp ecx, eax
jne fcn.004ca24b
dec edx
ret
Function at 0x4946d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
mov dword [esp + 0x14], 0
lea eax, [edi + 0x114]
push eax
push 0
push 0x70
call ebp
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x10c], eax
mov eax, dword [esp + 0x10]
lea esi, [edi + 8]
mov ecx, eax
inc eax
push ecx
mov dword [esp + 0x14], eax
call ebx
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add esi, 4
cmp eax, 0x1f
jl 0x494713
push 0x65b814
call fcn.00494650
add esp, 4
lea ecx, [edi + 0x110]
push 0
push ecx
push 0
push 0x5e
call ebp
push 0x85b9f8
call fcn.00494650
add esp, 4
lea edx, [edi + 0x178]
push 0
push edx
push 0
push 0x2006
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.Control_PanelAppearanceNew_Schemes
push closesocket
mov dword [edi + 0x11c], 0
call ebx
test eax, eax
jne 0x494849
call fcn.00494600
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
lea esi, [edi + 0x1188]
push ecx
push esi
push 0
push 0
push str.SelectedStyle
push edx
mov dword [esp + 0x28], 0x28
mov word [esi], 0
call ebp
test eax, eax
jne 0x49483e
cmp dword [esp + 0x10], 2
jbe 0x49483e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push esi
push ecx
call ebx
test eax, eax
jne 0x49483e
mov ecx, dword [esp + 0x18]
mov word [esp + 0x20], ax
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push str.SelectedSize
push ecx
mov dword [esp + 0x28], 0x28
call ebp
cmp word [esp + 0x20], 0
je 0x49482a
cmp dword [esp + 0x10], 2
jbe 0x49482a
mov eax, 0xfffffffe
jmp 0x49482d
or eax, 0xffffffff
mov edx, dword [esp + 0x18]
mov dword [edi + 0x11b0], eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x497463
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add dword [eax], 0
push ebx
push esi
push edi
mov dword [ebp - 0x58], ecx
add byte [ebp - 0x30], dl
mov dword [ebp - 0x2c], eax
mov eax, 0x1c
call 0xc196200f
add byte [ebp - 0x2c], dl
mov eax, dword [edx + 0x2f0]
add dl, dl
call 0x6f90cbbf
add byte [0x9cdc6c], bh
add byte [eax + eax], dh
xor eax, 0x9cdc6c
add bl, ch
push esp
add bh, bh
xor eax, 0xdc6c
call 0x9e5ca7
xchg ebp, eax
add byte [ebp - 0x18], al
or byte [eax], al
cmp dword [0x50], 1
je 0x49db64
mov ecx, dword [ebp - 0x2c]
cmp byte [ecx + 0x8b], 0
je 0x497515
mov esp, dword [eax]
add al, ch
mov byte [0x840002d7], al
rol byte [eax], 0
mov word [ebp - 0x18], 0xbd14
add byte [edx], al
popal
xchg ebp, eax
add byte [ebp + 0xfc45], cl
pop edx
dec ebp
add bh, bh
inc ebp
bound eax, qword [eax]
add byte [edx + 0x1b68], bh
call fcn.004c74fb
dec dword [ebp - 0xc]
xchg esp, eax
add ah, bh
mov edx, 2
call 0x96750b
xor edx, edx
mov esp, dword [eax]
add al, ch
xchg esi, eax
fild word [edx]
add byte [ebx + 0x32000045], cl
mov eax, dword [ebp]
add byte [edx], dh
add eax, dword fs:[eax]
mov eax, ebp
add al, ch
invalid
out dx, eax
leave
aad 0x5c
inc dword [esi + 0x21]
push edi
inc eax
sar dword [0xd811ddb0], cl
lahf
sub esp, dword [esi]
invalid

Function at 0x510ebb
Capabilities:
Encode data using xor

Disassembly:
xor eax, esp
mov bh, 0xea
jbe 0x510ebe
xchg esp, eax
pop esp
mov byte [0xd8b8f5bc], al
add bl, bh
js 0x510e9e
in al, dx
jg 0x510ee9
sahf
lodsd eax, dword [esi]
xchg ebx, eax
adc ebp, esp
mov ebx, 0x8caccc35
mov eax, dword [0x31cd91a5]
xor eax, 0xa18caccc
movsd dword es:[edi], dword [esi]
xchg ecx, eax
int 0x31
sahf
shr dword [edi - 0x6c], 0x17
sub byte [eax + 0x50], 0x28
mov dword [ebp - 0x7b], ebp
adc eax, 0x7842e143
in eax, 0xc
inc ebx
loope 0x510edd
js 0x510e82
or al, 0xc7
ja 0x510eb2
invalid
mov al, 0x74
or ebp, dword [esp + ecx]
je 0x510eaf
sub al, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor al, 4
das
movsb byte es:[edi], byte [esi]
push 0xa02ff11b
jge 0x510ea2
das
mov al, byte [0xcb2fef7d]
call 0x68354c77
xchg dword [ecx - 0x80], edx
push ecx
cmp byte [ecx + edi*4 + 0x761c8d9e], 0xa4
out dx, eax
das
retf
push ecx
cmp byte [ecx + edi*4 + 0x761c8d9e], 0xa4
mov ecx, 0x761c8d9e
movsb byte es:[edi], byte [esi]
push edi
lea ecx, [eax]
cmpsd dword [esi], dword es:[edi]
nop
fmul qword [edx - 0x3a900db4]
outsb dx, byte [esi]
add dword [ebx], ebp
pop eax
sbb al, 0x95
sbb edi, 0x8d7a9ab0
jnp 0x510ed5
sub dword [eax - 0x4740d6c], eax
cdq
imul esp, dword [edi], 0x9434113f
xchg esp, eax
loop 0x510f42
in eax, 0x3f
xchg esp, eax
dec edi
neg ah
mov eax, dword [0x87aeec9e]
xor eax, 0x4fa7137b
frstor dword [edx + 0x3b]
std
loope 0x510e98
push ebx
invalid
xor dh, 0x37
wait
aam 0xee
xor byte [ecx], ch
salc
invalid
Function at 0x523668
Capabilities:
Encode data using xor

Disassembly:
je 0x5236cf
cmp al, byte [edx + 0x77]
lcall 0xbf80, 0x54685ba1
mov edi, 0x108d04dd
xor byte [ecx + 0x21], ch
mov edi, 0x108d04dd
xor byte [ecx + 0x21], ch
inc eax
add bh, ah
mov dword [edx - 0x19c21600], ebp
or al, 0xc1
pop esp
mov edi, 0x647c9f69
xlatb
adc al, 0x2e
pop edx
mov al, byte [0x100a8fd1]
adc eax, 0x878867c9
sbb byte [edx - 0x23], al
xchg esp, eax
fimul dword [eax + 0xf]
mov cl, 0x96
push edx
jae 0x52365d
bound eax, qword [ebx + 0x3197f2ac]
mov esp, 0x3b0a3c9b
adc dl, byte [eax]
invalid
inc esi
mov ecx, 0xa751bbaf
mov dl, 0x3c
add eax, 0xb2edf71f
movsb byte es:[edi], byte [esi]
imul ebp
mov dl, 0xa4
cmp ah, byte [edx - 0x4fad8d2e]
jb 0x5236c5
pop eax
hlt

Function at 0x58366b
Capabilities:
Encode data using base64

Disassembly:
push dword [ebx]
leave
mov dword [eax], eax
add byte [ecx], cl
add byte [eax], al
jmp 0x583690
das
sar dword [edi + 0xe2fbfd5], 0xcd
aam 0x7b
cmpsd dword [esi], dword es:[edi]
mov dh, 0x61
jo 0x58362c
out dx, eax
cmpsd dword [esi], dword es:[edi]
movsd dword es:[edi], dword [esi]
lcall 0xbf87, 0x7547f1fe
cmp eax, 0x9784aa2b
invalid
cli
inc edx
mov bh, 0x52
cmp dword [ebp + 0x30], esi
mov byte [0x52d5bacc], ah
insb byte es:[edi], dx
add byte [ebp + 0x5fed2052], cl
lahf
fild word [eax - 0x4ae16abc]
pop edi
inc esp
xchg ebp, eax
push ds
mov ch, 0x5f
movsb byte es:[edi], byte [esi]
sub byte [ebp - 0x17ea57a7], dl
sbb eax, 0x7afc177d
or ch, byte [ebx + 0x64]
fimul word [ecx - 0x50]
pushfd
ja 0x5836d1
jle 0x583643
mov eax, ss
loope 0x5835e9
inc esp
mov ebp, 0x2c81adc1
test dword [ebx - 0x63], 0x53a8500d
popfd
or eax, 0xed53a850
std
sub ebp, edx
aaa
push 0x2cc08d66
fist word [esp + ecx*2]
or byte [edx], ah
leave
sub al, 0x75
jne 0x583704
xchg edx, eax
mov ecx, 0x3160c94f
test ah, 0xb
sub al, 0x2e
or dword [eax], ebp
mul ebx
cld
sbb dword [0x3249cfd4], esi
add bh, ah
sbb esp, edi
jg 0x58370e
movsb byte es:[edi], byte [esi]
in al, dx
pushal
sub al, cl
wait
sal esp, 1
loopne 0x58364f
rcr dword [ebx - 0x5b1f0b2f], 0x3d
or eax, 0x9bfb7af4
cmp eax, 0xfb7af40d
wait
int1
mov esp, dword [eax - 0x44]
and byte [edx - 0x73a3cefa], bh
mov dl, 0x9e
adc byte [ecx - 0x2a980334], cl
jle 0x583711
xchg edi, eax
jne 0x583657
salc
or byte [esi + esi*8], bh
add eax, 0xec801d81
test byte [0xec801d81], 0xd0
sub bh, ch
shr byte [edx], 1
std
daa
mov ch, 0x60
test ebx, ebx
invalid
test eax, 0x57f08e6d
mov esp, eax
sbb al, 0x5b
invalid
cmp byte [edi], 0xe6
dec esp
fsubr qword [ebx - 0x56]
shl byte [ebx], cl
fsubr dword [esi + 0x74]
je 0x5836cb
loope 0x5836a5
mov fs, word [edi - 2]
aas
lea eax, [edi + ebx*2 + 0xb20d71b]
dec ebx
fcompi st(7)
sub edi, dword [ebx]
push ebp
sbb al, 4
adc esp, ebp
mov byte [0xd178570], al
popfd
mov ch, 0x35
mov ds, word [edx + 0x31c2e921]
mov edx, 0xf2bae2b7
push esp
and bh, dl
popfd
retf 0x41d5
Function at 0x401670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
je 0x401685
or eax, 0xffffffff
jmp 0x401726
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
jne 0x4016fc
call fcn.00474f29
mov dword [eax], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
push eax
push 0x4000
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
push edx
call fcn.004748bb
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x4016f1
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
push edx
call fcn.0047577a
add esp, 4
test eax, eax
je 0x4016ec
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0xffffffff
or eax, 0xffffffff
jmp 0x401726
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov al, byte [edx]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x401cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401cdc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x5c]
cmp edx, 0x77
je 0x401ce6
mov eax, 0xfffffffe
jmp 0x401de5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x401dbf
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x401d53
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
push ecx
push 0x4000
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
push eax
call fcn.00474e4d
add esp, 0x10
cmp eax, 0x4000
je 0x401d49
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0xffffffff
jmp 0x401dbf
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x4000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x64]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], edx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004028e0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x64]
sub ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x68]
sub edx, dword [ecx + 0x10]
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x401dba
jmp 0x401dbf
jmp 0x401cf7
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
call fcn.004051b0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
sub eax, dword [edx + 4]
mov esp, ebp
pop ebp
ret