joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4128de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419354]
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.0040b3ff
and dword [ebp - 0x14], 0
cmp dword [0x4303c4], 0
mov dword [ebp - 0x18], eax
jne 0x412991
push 0x403e40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a39
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e34
push ebx
call edi
test eax, eax
je 0x412a39
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e24
push ebx
mov dword [0x4303c4], eax
call edi
push eax
call esi
push 0x403e10
push ebx
mov dword [0x4303c8], eax
call edi
push eax
call esi
push 0x403df4
push ebx
mov dword [0x4303cc], eax
call edi
push eax
call esi
mov dword [0x4303d4], eax
test eax, eax
je 0x412991
push 0x403ddc
push ebx
call edi
push eax
call esi
mov dword [0x4303d0], eax
mov eax, dword [0x4303d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4129ea
cmp dword [0x4303d4], ecx
je 0x4129ea
push eax
call esi
push dword [0x4303d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4129ea
test ebx, ebx
je 0x4129ea
call edi
test eax, eax
je 0x4129e1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4129e1
test byte [ebp - 8], 1
jne 0x4129ea
or dword [ebp + 0x10], 0x200000
jmp 0x412a1d
mov eax, dword [0x4303c8]
cmp eax, dword [ebp - 0x18]
je 0x412a1d
push eax
call esi
test eax, eax
je 0x412a1d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412a1d
mov eax, dword [0x4303cc]
cmp eax, dword [ebp - 0x18]
je 0x412a1d
push eax
call esi
test eax, eax
je 0x412a1d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4303c4]
call esi
test eax, eax
je 0x412a39
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412a3b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040935b
leave
ret
Function at 0x401340
Capabilities:
Create process on windows

Disassembly:
push edi
push esi
xor eax, eax
push ebx
mov ecx, 0x11
sub esp, 0x90
lea ebx, [esp + 0x4c]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov edi, ebx
mov dword [esp + 0x48], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x4c], 0x44
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x40142e
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0x1388
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetExitCodeProcess
sub esp, 8
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x38]
add esp, 0x90
pop ebx
pop esi
pop edi
ret

Function at 0x401440
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
call sub.KERNEL32.dll_GetConsoleWindow
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp], str.dllCrt.bat
call fcn.00401340
xor eax, eax
add esp, 0x1c
ret 0x10

Function at 0x4016a0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x401700
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x4017f6
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x401770
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x401745
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sub.msvcrt.dll_memcpy
cmp byte [esp + 0x1f], 0
je 0x401755
cmp byte [esp + 0x1e], 0
je 0x401755
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401755
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004016a0
nop

Function at 0x401a90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x405030
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x405048]
sub esp, 4
test ebx, ebx
je 0x401adb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401ad4
test esi, esi
je 0x401ad4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ab0
mov dword [esp], 0x405030
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x401d70
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00401a70
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401da6
jmp 0x401de5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x401da3
cmp al, 0x20
je 0x401da3
cmp al, 0x22
jne 0x401dc9
jmp 0x401e34
cmp al, 0x20
lea esi, [esi]
je 0x401dd0
test al, al
je 0x401de5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x401db7
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x401e4a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x401dd7
cmp al, 0x20
je 0x401dd7
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x401df4
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401440
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x401e3e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x401e30
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x401dd0
cmp al, 9
je 0x401dd7
jmp 0x401de5
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x403210
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x845088]
mov ecx, dword [0x843fd8]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4032b3
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x845088], 0x959
jne 0x4032a5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
call fcn.0040306c
add edi, 8
dec ebx
jne 0x403238
pop edi
pop ebx
pop esi
leave
ret
Function at 0x44a5e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jbe 0x44a5ff
xor eax, eax
mov ecx, dword [esp + 0x240]
lea edx, [esp + eax*2]
push ecx
push str._S.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x23c
ret 4

Function at 0x44a640
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.aclui
mov edi, eax
call fcn.0044a5e0
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4cf2b0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 8
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edx, [esp + 0xc]
push edx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 1
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x44a6ea
mov eax, dword [0x4ce8d0]
push 0x4ce5d0
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [esp + 0x18], 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.GlobalMediaService
push 0
lea ecx, [esp + 0x20]
push 1
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
mov dword [0x4ce8cc], eax
pop esi
add esp, 0x1c
ret
Function at 0x4742eb
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
cwde
mov byte [edi + 0x7bcb71b2], al
and ebx, dword [edi - 0x2a75f1a8]
test al, 0xb
mov ecx, 0xbc21631c
aas
inc eax
pop esp
lahf
out 0x3f, eax
adc al, 0xde
dec ebx
fcmovne st(0), st(6)
adc al, al
jg 0x4742dd
invalid
jns 0x4742e9
cmp al, byte [eax + 0x20e77595]
xchg dword [ebx], edx
mov al, byte [0x5328adda]
invalid
fisubr dword [ebp - 0x43aacd8]
sbb dword [eax + ebp*8 - 0x1b], 0xffffffae
jbe 0x474321
or dword [ebx], esi
int3
xchg edx, eax
xor byte [edi], 0x3f
aaa
aas
push 0x2af2fbe8
mov cl, 0xd6
rcl cl, 1
lahf
out 0xa1, al
adc edi, dword [ecx + 0x6b]
movsd dword es:[edi], dword [esi]
jecxz 0x474397
mov dword [ebx], esi
pop edx
les ecx, [ebx + 0x4f]
xor ebx, dword [edx - 0x3c]
dec ebx
dec edi
or al, 0x27
inc edi
inc edi
cdq
xchg esp, edi
xchg eax, ebx
test dword [ecx - 0x76422a9f], edi
add al, 0x25
mov esp, 0x694fcdd8
cmpsd dword [esi], dword es:[edi]
ja 0x474336
loope 0x4743cc
jbe 0x47431f
enter 0xfffffffffffff1ca, 0x16
fld xword [ebp + ebx - 0x912601e]
retf 0x16f1
lodsb al, byte [esi]
sbb eax, 0xf6ed9fe2
jo 0x4743ca
dec esp
cmp al, 0x3d
mov byte [0xd1dd46af], al
sub byte [edi + ebx*2 + 0x727748cc], ch
dec edi
cmp byte [esi + 0xb], dl
pushal
jecxz 0x4743d9
add dword [edi + 0x2e], 0x5b26a707
salc
jl 0x474354
hlt
jne 0x474339
lodsb al, byte [esi]
xor cl, byte [ecx + 0x1cf1af6]
popfd
in al, 0xf7
cmp eax, 0xeeeef89
lahf
ljmp 0xe713
pop es
jo 0x4743b3
cli
adc esp, edi
imul eax, esp, 0xb3a2f68f
push 0xffffffffffffff88
pop es
pop es
mov dword [0x1a65c5ba], eax
inc ebp
sbb edx, 0xa30f9cb7
daa
lodsd eax, dword [esi]
js 0x47435b
cmp al, 0xab
xchg dword [ebx], edi
jp 0x47441e
test dword [ebx + 0x6e], edx
xchg ebx, eax
cmp esp, dword [edx - 0x2a]
xchg ebp, eax
push ds
mov dl, 0x61
popal
sub bl, byte [ecx - 0x39b2363]
or eax, 0xfc64dc9d
fsub qword [esp + edi*8 + 0x7e]
mov bl, 0x33
and byte [0x70ceac50], dl
jle 0x474384
xor esp, dword [eax]
adc eax, 0x70ceac50
stosb byte es:[edi], al
daa
inc eax
jecxz 0x4743c7
aas
fisttp dword [edi]
lds ebp, [ebx + esi - 0x36af0741]
test eax, 0x7db1124f
inc esi
call 0xe829c7c0
in eax, 0x55
mov ebx, dword [edx + esi + 0xb56934a]
dec ebp
enter 0xffffffffffffcf1e, 0x76
pop edi
cmp dh, cl
pop ebx
stosd dword es:[edi], eax
add byte [edx + eax*8 - 0x4def9a06], cl
out 3, eax
push esi
shl byte [ecx], 1
inc eax
loope 0x4743fb
mov dl, 0x43
push ds
fbstp tbyte [edx + 0x7b4f5976]
adc al, 0x93
mov esi, 0xf3a7a99c
sbb al, 0xc5
jns 0x4743b5
int3

Function at 0x4b494f
Capabilities:
Encode data using xor

Disassembly:
stc
cmp esi, esp
adc ebx, dword [ebx + 0x50]
aam 0xee
xor eax, 0xff611853
pushfd
jge 0x4b4950
invalid
Function at 0x4c5a16
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb470
cmp edx, dword [eax]
je 0x4c5a38
add eax, 8
inc ecx
cmp eax, 0x4cb500
jl 0x4c5a29
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb470]
jne 0x4c5b66
mov eax, dword [0x4cfb7c]
cmp eax, 1
je 0x4c5b40
test eax, eax
jne 0x4c5a69
cmp dword [0x4cb3b0], 1
je 0x4c5b40
cmp edx, 0xfc
je 0x4c5b66
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5aa0
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6130
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6360
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c5ae3
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6360
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9568
push edi
call fcn.004c7b30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6130
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6140
lea eax, [ebp - 0xa0]
push 0x4c9548
push eax
call fcn.004c6140
push dword [esi + 0x4cb474]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6140
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c7aa4
add esp, 0x2c
pop edi
jmp 0x4c5b66
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb474]
push 0
push eax
push dword [esi]
call fcn.004c6360
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 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x64ae3289
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x45e75a69
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219