joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35

Function at 0x4065cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x406605
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039a0
jmp 0x40660e
mov eax, ebx
mov edx, esi
call fcn.00403904
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41fa30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x406326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4017c8
xor esi, esi
push 0x4a01e4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x4a0194
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 1
cmp esi, dword [ebp - 0x50]
jg 0x41fba3
cmp esi, 0x40
jb 0x41faaf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x4a01a0]
push 0
mov ecx, dword [eax + esi*4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
test ax, ax
je 0x41fb3b
cmp esi, 0x40
jb 0x41fad0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea edx, [ebp - 0x14]
push 0x40d560
push edx
push 0
push ebx
call fcn.0041d090
push eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
lea ecx, [ebp - 0x24]
push eax
push ecx
call edi
mov edx, dword [0x4a01a0]
push eax
lea eax, [edx + esi*4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
cmp esi, 0x40
jb 0x41fb25
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x4a01a0]
push 0
mov ecx, dword [eax + esi*4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
test ax, ax
je 0x41fb4d
mov edx, dword [ebp - 0x4c]
add edx, esi
jo 0x41fbd5
mov esi, edx
jmp 0x41fa9b
mov edi, dword [ebp - 0x14]
cmp esi, 0x40
mov ebx, 3
jb 0x41fb60
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x28]
push 0x40d734
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov eax, dword [0x4a01a0]
mov ecx, dword [eax + esi*4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemSt]
cmp esi, 0x40
jb 0x41fb95
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x4a01bc]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [eax + esi*4], edx
push 0x41fbbf
jmp 0x41fbbe
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x669d31cd
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x42b31e46
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x42eae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0x66a2
mov edx, dword [ecx + 0x48e6c0]
add edx, 1
mov dword [ebp - 8], edx
mov eax, 4
imul ecx, eax, 0x66a2
mov edx, dword [ebp - 8]
mov dword [ecx + 0x48e6c0], edx
mov eax, dword [ebp - 8]
xor eax, 0xfb1a066d
xor eax, 0x4de37275
mov ecx, 4
imul edx, ecx, 0x6484
mov dword [edx + 0x48e6c0], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0
mov eax, 4
imul ecx, eax, 0x595b
mov edx, 4
imul eax, edx, 0x517f
mov edx, dword [eax + 0x48e6c0]
xor edx, 0x51887768
mov eax, dword [ecx + 0x48e6c0]
add eax, edx
mov ecx, 4
imul edx, ecx, 0x595b
mov dword [edx + 0x48e6c0], eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0x33bc
mov ecx, dword [eax + 0x48e6c0]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 4
imul eax, edx, 0x33bc
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x48e6c0], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x157df151
mov eax, 2
imul ecx, eax, 0x6fb
movsx eax, word [ecx + 0x4ab250]
sub eax, edx
mov ecx, 2
imul edx, ecx, 0x6fb
mov word [edx + 0x4ab250], ax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0x67452301
mov eax, 2
imul ecx, eax, 0x914
movsx edx, word [ecx + 0x4ab250]
sub edx, 0x268d0ce8
mov eax, 2
imul ecx, eax, 0x914
mov word [ecx + 0x4ab250], dx
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 8], 0xefcdab89
mov ecx, 4
imul edx, ecx, 0x2049
mov eax, 2
imul ecx, eax, 0x5b75
movsx eax, word [ecx + 0x4ab250]
sar eax, 8
or eax, 0x54df9178
mov ecx, dword [edx + 0x48e6c0]
or ecx, eax
mov edx, 4
imul eax, edx, 0x2049
mov dword [eax + 0x48e6c0], ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0x98badcfe
mov eax, 4
imul ecx, eax, 0x5e9f
mov edx, 4
imul eax, edx, 0x4545
mov edx, dword [eax + 0x48e6c0]
shl edx, 0xa
and edx, 0x81fd5e70
mov eax, dword [ecx + 0x48e6c0]
sub eax, edx
mov ecx, 4
imul edx, ecx, 0x5e9f
mov dword [edx + 0x48e6c0], eax
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0x10325476
mov eax, 2
imul ecx, eax, 0x4e70
mov edx, 2
imul eax, edx, 0x15f3
movsx edx, word [eax + 0x4ab250]
movsx eax, word [ecx + 0x4ab250]
xor eax, edx
mov ecx, 2
imul edx, ecx, 0x4e70
mov word [edx + 0x4ab250], ax
mov esp, ebp
pop ebp
ret
Function at 0x4386d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 4
imul ecx, eax, 0x5848
mov edx, 4
imul eax, edx, 0x1e9a
mov edx, dword [eax + 0x48e6c0]
sub edx, 0x7abff241
mov eax, 4
imul eax, eax, 0x496c
and edx, dword [eax + 0x48e6c0]
mov ecx, dword [ecx + 0x48e6c0]
imul ecx, edx
mov edx, 4
imul eax, edx, 0x5848
mov dword [eax + 0x48e6c0], ecx
mov ecx, dword [0x48de28]
push ecx
call fcn.004318e0
add esp, 4
mov edx, 2
imul eax, edx, 0x3244
movsx ecx, word [eax + 0x4ab250]
and ecx, 0xdcd1cb15
and ecx, 0x5a194541
mov edx, 2
imul eax, edx, 0x12a6
movsx edx, word [eax + 0x4ab250]
mov eax, 4
imul eax, eax, 0x480d
mov eax, dword [eax + 0x48e6c0]
sar eax, 3
sub edx, eax
xor edx, 0x896b3fad
cmp ecx, edx
jle 0x4387d2
mov ecx, 2
imul edx, ecx, 0x508
movsx eax, word [edx + 0x4ab250]
add eax, 0x676efc18
mov ecx, 4
imul edx, ecx, 0x4476
mov dword [edx + 0x48e6c0], eax
mov eax, 2
imul ecx, eax, 0x508
mov dx, word [ecx + 0x4ab250]
add dx, 1
mov eax, 2
imul ecx, eax, 0x508
mov word [ecx + 0x4ab250], dx
jmp 0x438832
mov edx, 2
imul eax, edx, 0x3e63
mov cx, word [eax + 0x4ab250]
add cx, 1
mov word [ebp - 2], cx
mov edx, 2
imul eax, edx, 0x3e63
mov cx, word [ebp - 2]
mov word [eax + 0x4ab250], cx
movsx edx, word [ebp - 2]
sub edx, 0x4716f400
mov eax, 2
imul ecx, eax, 0x1f2
movsx eax, word [ecx + 0x4ab250]
or eax, edx
mov ecx, 2
imul edx, ecx, 0x1f2
mov word [edx + 0x4ab250], ax
push 1
call fcn.00464ca0
mov eax, 4
imul ecx, eax, 0x4171
mov edx, dword [ecx + 0x48e6c0]
sub edx, 0xc216680
cmp edx, 0x7d7f5566
je 0x438882
mov eax, 4
imul ecx, eax, 0x3c6f
mov edx, dword [ecx + 0x48e6c0]
add edx, 0x1ad600db
mov eax, 4
imul ecx, eax, 0x3c6f
mov dword [ecx + 0x48e6c0], edx
jmp 0x4388cf
mov edx, 4
imul eax, edx, 0x6abc
mov ecx, dword [eax + 0x48e6c0]
and ecx, 0xc5ecbebb
mov edx, 4
imul eax, edx, 0x6bae
mov dword [eax + 0x48e6c0], ecx
mov ecx, 4
imul edx, ecx, 0x6abc
mov eax, dword [edx + 0x48e6c0]
add eax, 1
mov ecx, 4
imul edx, ecx, 0x6abc
mov dword [edx + 0x48e6c0], eax
mov esp, ebp
pop ebp
ret
Function at 0x46c368
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48d400]
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.0046643c
mov dword [ebp - 0x14], eax
cmp dword [0x4ba3c4], esi
jne 0x46c45b
push 0x800
push esi
push 0x483260
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46c3e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46c53b
push esi
push esi
push 0x483260
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46c53b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c53b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ba3c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ba3c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ba3cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba3d4], eax
test eax, eax
je 0x46c458
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba3d0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46c480
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46c473
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46c495
push 4
pop eax
jmp 0x46c53d
cmp dword [ebp - 0x14], esi
je 0x46c495
push dword [0x4ba3c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46c47a
mov eax, dword [0x4ba3d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46c4f3
cmp dword [0x4ba3d4], edi
je 0x46c4f3
push eax
call ebx
push dword [0x4ba3d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46c4f3
test eax, eax
je 0x46c4f3
call ecx
test eax, eax
je 0x46c4e8
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 0x46c4e8
test byte [ebp - 8], 1
jne 0x46c4f3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46c523
mov eax, dword [0x4ba3c8]
cmp eax, edi
je 0x46c520
push eax
call ebx
test eax, eax
je 0x46c520
call eax
mov esi, eax
test esi, esi
je 0x46c520
mov eax, dword [0x4ba3cc]
cmp eax, edi
je 0x46c520
push eax
call ebx
test eax, eax
je 0x46c520
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ba3c4]
call ebx
test eax, eax
je 0x46c53b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46c53d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c1ba
mov esp, ebp
pop ebp
ret
Function at 0x401e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44507c]
jne 0x401e1f
repz ret
jmp fcn.00402b82

Function at 0x40845a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44507c]
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.00405f0d
and dword [ebp - 0x14], 0
cmp dword [0x4487ac], 0
mov dword [ebp - 0x18], eax
jne 0x40850d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4085b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4085b5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4487ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4487b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4487b4], eax
call edi
push eax
call esi
mov dword [0x4487bc], eax
test eax, eax
je 0x40850d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4487b8], eax
mov eax, dword [0x4487b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408566
cmp dword [0x4487bc], ecx
je 0x408566
push eax
call esi
push dword [0x4487bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408566
test ebx, ebx
je 0x408566
call edi
test eax, eax
je 0x40855d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40855d
test byte [ebp - 8], 1
jne 0x408566
or dword [ebp + 0x10], 0x200000
jmp 0x408599
mov eax, dword [0x4487b0]
cmp eax, dword [ebp - 0x18]
je 0x408599
push eax
call esi
test eax, eax
je 0x408599
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408599
mov eax, dword [0x4487b4]
cmp eax, dword [ebp - 0x18]
je 0x408599
push eax
call esi
test eax, eax
je 0x408599
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4487ac]
call esi
test eax, eax
je 0x4085b5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4085b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e15
leave
ret
Function at 0x90d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0090d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x90d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90d06a
add dl, dl
jne 0x90d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90d0dc
xor eax, eax
add dl, dl
jne 0x90d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90d17d
add dl, dl
jne 0x90d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x90d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x90d075
mov eax, 1
add dl, dl
jne 0x90d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90d0e1
sub eax, ebx
mov ebx, 1
jne 0x90d128
mov ecx, 1
add dl, dl
jne 0x90d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90d136
cmp eax, 0x7d00
jae 0x90d16d
cmp eax, 0x500
jb 0x90d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90d075
cmp eax, 0x7f
ja 0x90d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90d19e
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 0x90d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402d54
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4045c8
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x40462d
test ecx, ecx
je fcn.00404300
cmp edx, dword [eax]
je 0x404634
cmp ecx, dword [eax]
je 0x4045ea
push eax
push ecx
call fcn.00404300
pop edx
pop eax
jmp fcn.00404584
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.00404370
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x404624
dec dword [edi - 8]
call fcn.00404300
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.00404300
mov edx, ecx
jmp fcn.00404584

Function at 0x42f650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f67d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f66e
and ecx, 3
je 0x42f695
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f682
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f6d9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f6c1
pop esi
and esi, 3
je 0x42f6fe
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f6df
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f734
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f725
and ecx, 3
je 0x42f74c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f739
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42f754
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f760
pop edi
pop ebx
ret

Function at 0x43007c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fcd4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x9c01bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x43012a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4300d7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x430178
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4301a2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4301a2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x430192
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9c01c2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042fe70
ret