joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.52q.dll..........
lea ecx, [ebp - 0x108]
push ecx
call fcn.00404280
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401226
xor al, al
jmp 0x401232
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x406f61
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40cba0
cmp edx, dword [eax]
je 0x406f83
add eax, 8
inc ecx
cmp eax, 0x40cc30
jl 0x406f74
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40cba0]
jne 0x4070b1
mov eax, dword [0x40d2e4]
cmp eax, 1
je 0x40708b
test eax, eax
jne 0x406fb4
cmp dword [0x40c624], 1
je 0x40708b
cmp edx, 0xfc
je 0x4070b1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406feb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404270
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004041f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40702e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004041f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a6ac
push edi
call fcn.00408f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404270
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404280
lea eax, [ebp - 0xa0]
push 0x40a68c
push eax
call fcn.00404280
push dword [esi + 0x40cba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404280
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408e73
add esp, 0x2c
pop edi
jmp 0x4070b1
lea eax, [ebp + 8]
lea esi, [esi + 0x40cba4]
push 0
push eax
push dword [esi]
call fcn.004041f0
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 0x4010fe
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
xor edx, edx
movzx eax, byte [edx + str.80_]
mov esi, dword [ebp + 8]
mov ecx, eax
sar ecx, 3
and eax, 7
mov cl, byte [ecx + esi]
test byte [eax*2 + 0x407038], cl
setne al
mov byte [ebp + edx - 0x78], al
inc edx
cmp edx, 0x38
jl 0x40110f
and dword [ebp + 8], 0
mov dword [ebp - 4], 0x1e
cmp dword [ebp + 0xc], 1
jne 0x40114e
mov eax, dword [ebp - 4]
jmp 0x401153
mov eax, dword [ebp + 8]
add eax, eax
and dword [ebp + eax*4 - 0xf4], 0
and dword [ebp + eax*4 - 0xf8], 0
lea edx, [ebp + eax*4 - 0xf4]
lea esi, [ebp + eax*4 - 0xf8]
mov eax, dword [ebp + 8]
xor ecx, ecx
movzx eax, byte [eax + 0x4070e0]
mov edi, eax
cmp edi, 0x1c
jge 0x40118a
mov bl, byte [ebp + edi - 0x78]
jmp 0x401191
mov bl, byte [ebp + edi - 0x94]
mov byte [ebp + ecx - 0x40], bl
inc ecx
inc edi
cmp ecx, 0x1c
jl 0x40117f
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x4011ac
mov cl, byte [ebp + eax - 0x78]
jmp 0x4011b3
mov cl, byte [ebp + eax - 0x94]
mov byte [ebp + edi - 0x40], cl
inc edi
inc eax
cmp edi, 0x38
jl 0x4011a1
xor edi, edi
mov ecx, 0x407048
movzx ebx, byte [edi + 0x4070f0]
lea eax, [edi + 0x407108]
cmp byte [ebp + ebx - 0x40], 0
je 0x4011dd
mov ebx, dword [ecx]
or dword [esi], ebx
movzx eax, byte [eax]
cmp byte [ebp + eax - 0x40], 0
je 0x4011eb
mov eax, dword [ecx]
or dword [edx], eax
add ecx, 4
inc edi
cmp ecx, str.80_
jl 0x4011c5
sub dword [ebp - 4], 2
inc dword [ebp + 8]
cmp dword [ebp - 4], 0xfffffffe
jg 0x401143
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xf8]
push eax
call fcn.0040121e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4016b0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x401765
cmp dword [esi + 0x908], 0
je 0x4016d1
call fcn.00401982
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [esi + 0x804], eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
mov dword [esi + 0x910], eax
je 0x401765
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ax, word [esi + 0x804]
add esp, 0x18
mov word [ebp - 0x14], 2
push eax
call sub.WSOCK32.dll_htons
movzx ecx, byte [ebp - 1]
push ecx
mov word [ebp - 0x12], ax
movzx ecx, byte [ebp - 2]
mov eax, dword [ebp - 4]
push ecx
mov dword [ebp - 0x10], eax
movzx ecx, ah
movzx eax, al
push ecx
push eax
lea eax, [esi + 0x808]
push str._d._d._d._d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x90c]
call sub.WSOCK32.dll_connect
test eax, eax
je 0x401769
xor eax, eax
jmp 0x401772
push 1
pop eax
mov dword [esi + 0x908], eax
pop esi
leave
ret 8

Function at 0x4019b1
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
lea edx, [esp + 4]
neg eax
sbb eax, eax
push 4
add eax, 0x1006
push edx
push eax
push 0xffff
push dword [ecx + 0x90c]
call sub.WSOCK32.dll_setsockopt
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x402083
Capabilities:
Get common file path

Disassembly:
mov eax, 0x404882
call fcn.004043c0
sub esp, 0x10c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
push 0x66
call sub.MFC42.DLL_CDialog::CDialog
xor ebx, ebx
lea ecx, [esi + 0x60]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4057f8
lea edi, [esi + 0xb8]
mov byte [ebp - 4], 6
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x405738
lea edi, [esi + 0xf8]
mov byte [ebp - 4], 7
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_2
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_2
push 0x407a78
mov ecx, edi
mov byte [ebp - 4], 0xc
mov dword [esi], 0x405660
call sub.MFC42.DLL_CString::operator_1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, 0x80
push eax
push 0xe
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0xfc], eax
lea eax, [ebp - 0x118]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
lea ecx, [esi + 0x100]
push eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x118]
push edi
push eax
push ebx
mov dword [esi + 0x120], 0x20200010
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 0xe
call fcn.0040414e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp + 8]
mov dword [esi + 0x128], ebx
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4022ae
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x9c
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x402346
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402318
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x402322
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xb0], 2
jne 0x40234b
cmp dword [ebp - 0xbc], 4
jbe 0x40234b
cmp dword [ebp - 0xbc], 6
jne 0x40234b
cmp dword [ebp - 0xb8], 0
jne 0x40234b
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4028a0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4028f3
push str.DllRegisterServer
push edi
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4028d8
call eax
mov esi, eax
test esi, esi
je 0x4028d8
or esi, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0xffffffff
jne 0x4028e8
or esi, esi
jmp 0x4028fb
push str.RegDll
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
ret 4

Function at 0x402c50
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x402d26
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x402d41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push eax
call esi
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x402d33
push str.LookupPrivilegeValueA
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x402d33
push str.AdjustTokenPrivileges
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, edi
je 0x402d33
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x402d41
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push edi
call dword [ebp - 0x10]
push 2
lea eax, [ebp - 0x20]
pop esi
mov dword [ebp - 0x20], 1
push edi
push edi
push edi
push eax
push edi
mov dword [ebp - 0x14], esi
push dword [ebp - 8]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x402d33
push edi
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x402d33
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 0x14], edi
call ebx
jmp 0x402d33
push edi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x402d41
cmp dword [ebp - 4], edi
je 0x402d41
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402d46
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
mov ebx, ecx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x407e9c], 1
jne 0x402da7
push 5
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x402dae
mov ecx, ebx
call sub.MFC42.DLL_CDialog::OnOK
pop esi
pop ebx
leave
ret 4
Function at 0x4030d3
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x404964
call fcn.004043c0
sub esp, 0x138
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x14], eax
push ecx
push eax
mov dword [ebp - 0x144], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4031cd
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
mov edi, str..exe
lea eax, [esi + 0x64]
push edi
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_1
push dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push dword [ebp - 0x10]
call esi
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4031a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4031c4
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_1
push dword [eax]
push dword [ebp - 0x10]
jmp 0x403147
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x13c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x4031d0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403598
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call fcn.004036cc
cmp al, 1
jne 0x4035b8
push 1
pop eax
jmp 0x4036c8
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_strlen
mov cl, byte [ebp + eax - 0x20d]
lea eax, [ebp + eax - 0x20d]
add esp, 0xc
cmp cl, 0x5c
je 0x4035ee
cmp cl, 0x2f
jne 0x4035f1
and byte [eax], 0
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.MSVCRT.dll_strlen
mov dword [ebp + 8], eax
xor edi, edi
mov dword [esp], 0x100
lea eax, [ebp - 0x108]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], edi
jle 0x4036b2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
mov al, byte [ebp + edi - 0x20c]
lea esi, [ebp + edi - 0x20c]
cmp al, 0x5c
je 0x403641
cmp al, 0x2f
jne 0x403664
lea eax, [ebp - 0x108]
push 0
push eax
call ebx
test eax, eax
je 0x403662
lea eax, [ebp - 0x108]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [esi]
and byte [ebp - 1], 0
mov byte [ebp - 2], al
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
mov eax, dword [ebp + 8]
pop ecx
dec eax
pop ecx
cmp edi, eax
jne 0x4036a6
lea eax, [ebp - 0x108]
push 0
push eax
call ebx
test eax, eax
je 0x4036a6
lea eax, [ebp - 0x108]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc edi
cmp edi, dword [ebp + 8]
jl 0x40362b
pop esi
pop ebx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x108]
push eax
call fcn.004036cc
neg al
sbb eax, eax
pop edi
neg eax
leave
ret 4
Function at 0x891df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e3000]
push edi
or ebp, 0xffffffff
jmp 0x891e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x891e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891e08
mov eax, 1
add ebx, ebx
jne 0x891e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x891e3c
jne 0x891e5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891e5b
dec eax
add ebx, ebx
jne 0x891e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x891e20
add ebx, ebx
jne 0x891e57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x891ead
xor ecx, ecx
sub eax, 3
jb 0x891e73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x891ee2
sar eax, 1
mov ebp, eax
jmp 0x891e7e
add ebx, ebx
jne 0x891e7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891e4c
inc ecx
add ebx, ebx
jne 0x891e8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891e4c
add ebx, ebx
jne 0x891e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x891e8e
jne 0x891eaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x891e8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x891ecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x891ebe
jmp 0x891e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x891ecc
add edi, ecx
jmp 0x891e0e
pop esi
mov edi, esi
mov ecx, 0x4888
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x891eea
cmp byte [edi], 0xb
jne 0x891eea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x891eef
lea edi, [esi + 0x48f000]
mov eax, dword [edi]
or eax, eax
je 0x891f5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x491344]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4913d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x891f1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4913d4]
or eax, eax
je 0x891f58
mov dword [ebx], eax
add ebx, 4
jmp 0x891f39
call dword [esi + 0x4913e4]
mov ebp, dword [esi + 0x4913d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x891f92
sub esp, 0xffffff80
jmp 0x4f68b8
Function at 0x4201d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x4201f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4201f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4201e8
mov eax, 1
add ebx, ebx
jne 0x42020b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420200
jne 0x42021c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420200
xor ecx, ecx
sub eax, 3
jb 0x420230
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4202a2
mov ebp, eax
add ebx, ebx
jne 0x42023b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x420248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42026c
inc ecx
add ebx, ebx
jne 0x420258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42024d
jne 0x420269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42024d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42028c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42027d
jmp 0x4201ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42028c
add edi, ecx
jmp 0x4201ee
pop esi
mov edi, esi
mov ecx, 0x2f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4202aa
cmp byte [edi], 4
jne 0x4202aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4202af
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x420327
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20738]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20774]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4202dc
mov ecx, edi
jns 0x42030b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20778]
or eax, eax
je 0x420321
mov dword [ebx], eax
add ebx, 4
jmp 0x4202f9
call dword [esi + 0x2077c]
popal
jmp 0x401ed8

Function at 0x4249e7
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x44b2cf
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x44b2d5
ret
Function at 0x565f8f
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x565fbc
mov eax, ebx
call fcn.00565f1f
cmp byte [ebx + 0x40], 0
je 0x565fb5
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop esi
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x566029
mov eax, dword [ebx + 0x184]
cmp byte [eax + 0x10], 0
je 0x566021
mov eax, dword [ebx + 8]
test eax, eax
je 0x565fdf
mov esi, eax
mov eax, ebx
call dword [esi]
mov esi, dword [ebx + 0x184]
mov eax, ebx
call dword [esi]
test eax, eax
jne 0x565ff2
xor eax, eax
pop esi
pop ebx
ret
cmp eax, 2
je 0x566021
cmp dword [ebx + 8], 0
je 0x565fd2
cmp eax, 3
je 0x566005
dec eax
jne 0x565fd2
mov eax, dword [ebx + 8]
inc dword [eax + 4]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x565fd2
mov edx, dword [ebx + 0x110]
add dword [eax + 8], edx
jmp 0x565fd2
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x78], eax
jmp 0x56603b
cmp eax, 0xcc
je 0x56603b
mov ecx, eax
mov dl, 0x14
mov eax, ebx
call fcn.0055d56b
mov eax, ebx
call fcn.00566047
pop esi
pop ebx
ret