joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002fb9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c038]
jne 0x1002fca
test ecx, 0xffff0000
jne 0x1002fca
ret
jmp fcn.01002fd4

Function at 0x1005498
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3ac
mov eax, dword [0x100c038]
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x410]
push 0x12c
mov dword [ebp - 0x3a8], ecx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x39c], eax
xor eax, eax
push ecx
push eax
mov ebx, OleBlockServer
push ebx
mov dword [ebp - 0x38c], edi
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x390], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10056b8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
inc dword [ebp - 0x390]
cmp byte [ebp - 0x130], 0x2e
mov dword [ebp - 0x394], 0x12c
jne 0x100568e
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x100568e
cmp dword [ebp - 0x3a0], eax
je 0x1005574
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x3a0]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100568e
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x388]
push eax
push ebx
mov dword [ebp - 0x394], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x100568e
inc dword [ebp - 0x398]
cmp dword [ebp - 0x39c], eax
je 0x10055d3
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10055d3
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x3a4], eax
push 0x10014a8
call esi
push 0x10014a4
mov ebx, eax
call esi
push 0x10014a0
add ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x25c]
push eax
call esi
add ebx, eax
lea eax, [ebp - 0x130]
push eax
call esi
lea ecx, [ebp - 0x130]
add eax, edi
push ecx
mov dword [ebp - 0x3ac], eax
call esi
mov ecx, dword [ebp - 0x3ac]
add ecx, ebx
lea eax, [eax + ecx + 1]
cmp eax, dword [ebp - 0x3a8]
jae 0x10056b1
mov ebx, dword [ebp - 0x38c]
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10014a0
push ebx
call edi
lea eax, [ebp - 0x130]
push eax
push ebx
call edi
push 0x10014a4
push ebx
call edi
push ebx
call esi
lea ebx, [ebx + eax + 1]
push 0x10014a8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x130]
push eax
push ebx
call edi
push ebx
call esi
lea edi, [ebx + eax + 1]
mov dword [ebp - 0x38c], edi
mov ebx, OleBlockServer
push 0x12c
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x390]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1005510
jmp 0x10056b7
mov edi, dword [ebp - 0x38c]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3a4]
mov byte [edi], 0
pop edi
pop ebx
call fcn.01002fb9
leave
ret 0xc
Function at 0x1005bd6
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100c038]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], edi
je 0x1005c9e
cmp word [esi + 2], di
je 0x1005c9e
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x1005c14
push eax
call sub.SHELL32.dll_SHChangeNotifyDeregister
mov dword [esi + 0x28], edi
xor eax, eax
mov ax, word [esi + 0x24]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp ax, di
mov edi, dword [sym.imp.KERNEL32.dll_DeleteAtom]
je 0x1005c69
push 0x118
lea ecx, [ebp - 0x220]
push ecx
push eax
call ebx
test eax, eax
je 0x1005c52
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 0x224], eax
xor eax, eax
mov ax, word [esi + 0x24]
push eax
call edi
and word [esi + 0x24], 0
cmp dword [ebp - 0x224], 0
jne 0x1005c8f
push 0x104
lea eax, [ebp - 0x108]
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
call ebx
test eax, eax
je 0x1005c8f
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ax, word [esi + 2]
push eax
call edi
and word [esi + 2], 0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.01002fb9
leave
ret

Function at 0x1005cae
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100c038]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
je 0x1005d7e
xor eax, eax
mov ax, word [esi + 2]
test ax, ax
je 0x1005d7e
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
je 0x1005d7e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1005d08
push eax
call sub.SHELL32.dll_SHChangeNotifyDeregister
and dword [esi + 0x28], 0
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathA]
test eax, eax
mov dword [ebp - 0x110], eax
je 0x1005d55
lea eax, [ebp - 0x110]
push eax
push 1
push 0x467
push 0x2000
push 2
push dword [0x100d4a4]
call sub.SHELL32.dll_SHChangeNotifyRegister
push dword [ebp - 0x110]
mov dword [esi + 0x28], eax
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [esi + 0x28], 0
jne 0x1005d7e
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1005d7e
or eax, 1
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.01002fb9
leave
ret 4
Function at 0x1005d90
Capabilities:
Create process on windows
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x140
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1005e30
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1005e00
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_AddAtomA]
call edi
push dword [ebp + 0xc]
mov word [esi + 2], ax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call edi
mov word [esi + 0x24], ax
cmp dword [ebp - 8], ebx
je 0x1005e64
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 8]
push 0x1005af0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x1005e27
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1005e55
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
je 0x1005e55
xor eax, eax
cmp dword [ebp - 4], 0x483
sete al
add eax, 0x21a
push eax
call fcn.01001d21
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret 0xc
push esi
call fcn.01005cae
jmp 0x1005e39
Function at 0x10062e2
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x100c038]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
inc edi
or ebx, 0xffffffff
cmp eax, ecx
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x198], ecx
je 0x10063bf
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x198], eax
je 0x10063b0
push dword [esi + 4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, dword [esi + 4]
jne 0x100639f
and dword [ebp - 0x194], 0
xor edi, edi
cmp ebx, edi
jl 0x1006377
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp - 0x194], edi
jne 0x1006377
cmp dword [esi + 0x10], edi
jne 0x1006377
push 0x100d2c0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x190], edi
je 0x100638b
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x18c], edi
je 0x100639f
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x198], edi
je 0x10063b0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002fb9
leave
ret 8
cmp dword [esi + 0x10], ecx
je 0x1006411
cmp dword [0x100c7ec], ecx
jne 0x1006411
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x120
push dword [0x100d150]
call dword [sym.imp.USER32.dll_LoadStringA]
push dword [0x100d4a4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push edi
push 0x100d0c0
lea eax, [ebp - 0x84]
push eax
push dword [0x100c80c]
call fcn.01001ad7
dec eax
dec eax
je 0x10063b0
push 0x104
lea eax, [ebp - 0x188]
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
je 0x10063b0
push 0x20
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1006352
push ebx
call fcn.01005b31
mov edi, eax
test edi, edi
je 0x1006352
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x18c], eax
jne 0x100646f
shr edi, 1
jne 0x1006458
test edi, edi
je 0x1006352
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebp - 0x190], eax
je 0x1006352
push edi
push dword [ebp - 0x190]
push ebx
call dword [sym.imp.KERNEL32.dll__lread]
mov edi, eax
test edi, edi
je 0x100634b
push edi
push dword [ebp - 0x190]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x1006491
Function at 0x1008d03
Capabilities:
Create process on windows
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x100c038]
and dword [ebp - 0x454], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0xe
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x450]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edx
push 1
push 0
mov dword [ebp - 0x418], edx
call edi
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010088fe
test ebx, ebx
je 0x1008da9
cmp byte [ebx], 0
je 0x1008da9
push 0x1001574
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01008aff
push esi
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01008aff
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHDOCVW.dll_Ordinal_229]
test eax, eax
je 0x1008e5f
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x450], 0x800140
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x438], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1008e3f
xor esi, esi
cmp dword [ebp - 0x41c], esi
je 0x1008e5f
lea eax, [ebp - 0x418]
push eax
push esi
push dword [ebp - 0x41c]
push 0x100898d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x1008e33
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1008e5f
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1008e5f
xor ecx, ecx
cmp eax, 0x483
sete cl
add ecx, 0x21a
push ecx
call fcn.01001d21
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002fb9
leave
ret 8

Function at 0x100a86d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10015a0
push OleBlockServer
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100a8c5
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1001464
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100a8b8
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100a8c7
xor eax, eax
pop esi
leave
ret 4
Function at 0x100a987
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10015e0
call fcn.0100abf0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x1000000], 0x5a4d
jne 0x100a9da
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x100a9da
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x100a9f2
cmp ecx, 0x20b
je 0x100a9df
mov dword [ebp - 0x1c], ebx
jmp 0x100aa06
cmp dword [eax + 0x84], 0xe
jbe 0x100a9da
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x100aa00
cmp dword [eax + 0x74], 0xe
jbe 0x100a9da
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x100d540], edi
mov dword [0x100d544], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100cfc8]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100cfc4]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100d548], eax
call fcn.0100abe8
cmp dword [0x100c100], ebx
jne 0x100aa63
push fcn.0100abe8
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100abd1
push 0x1001414
push 0x1001410
call sub.msvcrt.dll__initterm
mov eax, dword [0x100cfc0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100cfbc]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x100140c
push 0x1001404
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x100aaee
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x100aace
cmp cl, 0x22
jne 0x100aabf
cmp byte [eax], 0x22
jne 0x100aad7
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x100aae2
cmp cl, 0x20
jbe 0x100aad3
test byte [ebp - 0x54], 1
je 0x100aaf9
movzx ecx, word [ebp - 0x50]
jmp 0x100aafc
cmp byte [eax], 0x20
jbe 0x100aad7
inc eax
mov dword [ebp - 0x20], eax
jmp 0x100aaee
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.01002d72
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100ab1a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x100ab56
mov eax, esi
jmp 0x100ab6a
call fcn.0100ac2b
ret
Function at 0x4d7ab0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9f000]
mov dword [edi + 0xc8da8], 0x8901291a
push edi
jmp 0x4d7ada
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d7ae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d7ad0
mov eax, 1
add ebx, ebx
jne 0x4d7af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d7b04
jne 0x4d7b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d7b23
dec eax
add ebx, ebx
jne 0x4d7b10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d7ae8
add ebx, ebx
jne 0x4d7b1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d7b75
xor ecx, ecx
sub eax, 3
jb 0x4d7b3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d7baa
sar eax, 1
mov ebp, eax
jmp 0x4d7b46
add ebx, ebx
jne 0x4d7b46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d7b14
inc ecx
add ebx, ebx
jne 0x4d7b54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d7b14
add ebx, ebx
jne 0x4d7b61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d7b56
jne 0x4d7b72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d7b56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d7b94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d7b86
jmp 0x4d7ad6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d7b94
add edi, ecx
jmp 0x4d7ad6
pop esi
mov edi, esi
mov ecx, 0x4fed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d7bb2
cmp byte [edi], 0x12
jne 0x4d7bb2
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 0x4d7bb7
lea edi, [esi + 0xd2000]
mov eax, dword [edi]
or eax, eax
je 0x4d7c2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd927c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd9394]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d7be4
mov ecx, edi
jns 0x4d7c13
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 + 0xd9398]
or eax, eax
je 0x4d7c29
mov dword [ebx], eax
add ebx, 4
jmp 0x4d7c01
call dword [esi + 0xd93a8]
mov ebp, dword [esi + 0xd939c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4d7c63
sub esp, 0xffffff80
jmp 0x48a6a2
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10e91123
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x54a654b6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a8b4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [0x41b348]
push ebx
mov ecx, edx
mov ebx, dword [0x41b128]
xor ecx, eax
and ecx, 0xff
shr edx, 8
mov ecx, dword [ebx + ecx*4]
xor ecx, edx
mov dword [0x41b348], ecx
and ecx, 0xff
add dword [0x41b34c], ecx
imul edx, dword [0x41b34c], 0x8088405
inc edx
mov dword [0x41b34c], edx
shr edx, 0x18
mov ecx, dword [0x41b350]
xor edx, ecx
mov ebx, dword [0x41b128]
and edx, 0xff
shr ecx, 8
mov edx, dword [ebx + edx*4]
xor edx, ecx
mov dword [0x41b350], edx
pop ebx
ret

Function at 0x40aafc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x40ab10
xor eax, eax
jmp 0x40ac08
call fcn.0040aaf4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x40abe5
xor edx, edx
sub edi, 8
mov dl, byte [esi]
inc esi
xor edx, ebx
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
xor edx, edx
mov dl, byte [esi]
mov ebx, ecx
xor edx, ebx
inc esi
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x40ab21
test edi, edi
je 0x40ac03
xor edx, edx
mov dl, byte [esi]
inc esi
xor edx, ebx
and edx, 0xff
shr ebx, 8
mov ecx, dword [eax + edx*4]
xor ecx, ebx
dec edi
mov ebx, ecx
jne 0x40abe9
mov eax, ebx
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5d3425ca
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x3aee1f67
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219