joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c050
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c105
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push 0
push 0
call ebp
add byte [edi + ebx], 0x23
push 0
push 0
call ebp
add byte [edi + ebx], 0x68
push 0
push 0
call ebp
add byte [edi + ebx], 0x35
push 0
push 0
call ebp
xor byte [edi + ebx], 0x2e
push 0
push 0
call ebp
add byte [edi + ebx], 0xa0
push 0
push 0
call ebp
add byte [edi + ebx], 8
push 0
push 0
call ebp
add byte [edi + ebx], 0xd6
push 0
push 0
call ebp
xor byte [edi + ebx], 0x68
push 0
push 0
call ebp
add byte [edi + ebx], 0x61
push 0
push 0
call ebp
add byte [edi + ebx], 0x12
push 0
push 0
call ebp
xor byte [edi + ebx], 0x9e
push 0
push 0
call ebp
add byte [edi + ebx], 0x6d
push 0
push 0
call ebp
xor byte [edi + ebx], 0xcd
push 0
push 0
call ebp
add byte [edi + ebx], 0x16
inc ebx
cmp esi, ebx
jne 0x40c070
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cc5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c110
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebp, eax
jb 0x40c128
mov ebp, dword [eax]
mov esi, dword [esp + 0x20]
xor esi, edi
cmp edi, 4
jae 0x40c137
mov ecx, edi
jmp 0x40c193
mov dword [esp], edi
shr edi, 2
cmp edi, 2
mov eax, 1
cmovae eax, edi
mov dword [esp + 4], eax
xor ebx, ebx
nop
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, 0x4d6888
push edi
call fcn.00403d41
imul eax, dword [ebp + ebx*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebx
cmp dword [esp + 4], ebx
jne 0x40c150
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40c1bc
cmp ecx, 2
je 0x40c1b2
cmp ecx, 3
jne 0x40c1cb
movsx eax, byte [ebp + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebp + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebp + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
jmp 0x456593
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4565a4
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058c6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a6c
push 0x4059f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4068bf
push 0x800
call eax
call fcn.004064af
mov byte [ebp - 1], al
call fcn.004062aa
mov ecx, eax
test ecx, ecx
je 0x40694f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004066e9
mov esi, eax
pop ecx
test esi, esi
js 0x40693f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406911
call fcn.0040644c
mov esi, eax
jmp 0x40693f
push 0x405a90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406933
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406938
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406baa
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00406105
int3

Function at 0x4099ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0x8fffff0
mov al, byte [0x2ff845c6]
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
invalid
invalid
sahf
cld
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x409e3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409e41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409e30
mov eax, 1
add ebx, ebx
jne 0x409e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409e48
jne 0x409e64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409e48
xor ecx, ecx
sub eax, 3
jb 0x409e78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409eea
mov ebp, eax
add ebx, ebx
jne 0x409e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409e90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409eb4
inc ecx
add ebx, ebx
jne 0x409ea0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409e95
jne 0x409eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409e95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409ed4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409ec5
jmp 0x409e36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409ed4
add edi, ecx
jmp 0x409e36
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409ef2
cmp byte [edi], 1
jne 0x409ef2
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 0x409ef7
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409f66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409f24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x909c]
or eax, eax
je 0x409f60
mov dword [ebx], eax
add ebx, 4
jmp 0x409f41
call dword [esi + 0x9098]
mov ebp, dword [esi + 0x90a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x409f9a
sub esp, 0xffffff80
jmp section.UPX0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, reloc.ole32.dll_OleUninitialize
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x307d0750
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x14b528c4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xd1266d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2f405e9e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret

Function at 0x402000
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x402030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219

Function at 0x4019f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 8], 0x215
mov dword [ebp - 0x220], 0x3000
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x427998], eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [0x427998]
mov edx, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x427970], edx
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x427974], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esp, ebp
pop ebp
ret
Function at 0x429100
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
mov al, byte [0x54d9f0]
test al, al
je 0x42916d
mov ecx, dword [0x54da60]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
and ecx, 0xffff
cmp ecx, 0xffffd7b2
push edi
jne 0x42913a
mov eax, dword [0x54bcdc]
test eax, eax
je 0x42913a
push 0xfffffffffffffff5
call esi
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0xc]
push 0
push edx
push 0x1d
push 0x54c9c0
push eax
call edi
push 0xfffffffffffffff5
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
push 0x54da70
push eax
call edi
pop edi
pop esi
ret
mov al, byte [0x54c548]
test al, al
jne 0x429187
push 0
push 0
push 0x54c9c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret

Function at 0x4960d3
Capabilities:
Encode data using xor

Disassembly:
test dword [esi], esi
cwde
xor dl, byte [edx + eax*8 + 0x1a]
jno 0x4960d6
fst qword [eax + esi - 0x48]
xchg byte [0x22fc778c], ch
inc eax
xor byte [0x41dd5fca], dl
int1
xchg esp, eax
ljmp 0xdd38
Function at 0x4be823
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffffdd9b, 0xffffffffffffffd3
push edx
wait
mov ebp, 0xf9eefa73
xlatb
not dword [ecx + 0x69]
inc edx
sub ebp, dword es:[ecx + 0x57567d84]
fisttp qword [ebx + ebp*8 + 0x54ea728f]
std
dec esp
fst dword [edx + ecx*2 - 0x4d0413ea]
cmc
cwde
out dx, al
arpl word [eax + 0x1a], sp
aas
inc ecx
pushfd
int 0x7e
xor eax, 0xba426634
inc esi
enter 0xffffffffffff995c, 1
movsd dword es:[edi], dword [esi]
insb byte es:[edi], dx
mov ebx, 0x5e754f2a
jb 0x4be786
mov word [ebp - 0x1e4e7a3b], ss
jle 0x4be81e
bound ebp, qword [ebx + ebp*8]
pop ebp
pushal
xor bl, byte [esi + esi*8 - 0x3cf872e4]
mov esi, 0x3c82b6eb
mov esp, 0xa5b8d528
ficom dword [esi]
cmp dl, al
xor edi, dword [ebp - 0x4e]
adc ebx, dword [ebp + 0x4d087ef7]
loope 0x4be76f
jmp 0x4be81e
jg 0x4be7bf
in eax, 0x82
test dword [ebp - 0x64], edi
cmp dword [eax], edx
sbb al, 6
int1
sub byte [ebx - 0x31fc2530], ah
test al, 0xe
jns 0x4be802
invalid
xor esi, dword [esi + 0x7a]
mov ah, 0x10
sbb dword [eax + 0x78ec3ad5], 0xb086ceea
invalid
or ch, byte [0x70401d3d]
xchg al, bl
out 0x1d, al
dec ecx
lodsd eax, dword [esi]
cld
pop esp
jo 0x4be7ab
fsub st(6)
sbb eax, 0x5cfcad49
inc ecx
jae 0x4be895
inc esp
add dword [ebp + ecx*2 + 0x2fd52b6f], eax
pop eax
int1
sal dword [ebp - 0x3d771796], cl
sbb byte [eax - 0x595850fe], cl
xchg byte [ebx + 0x20eb6e7b], bl
fnsave dword gs:[edi + edx*2]
rol byte [edi - 0x5c], 1
inc ebp
add esp, dword [ecx + ecx*2]
scasb al, byte es:[edi]
cld
loopne 0x4be880
or ebp, 0xc03f4c1d
cld
dec esp
inc dword [edi + edi*8 + 0x77]
push ebx
salc
push ax
add dword [0x6856d38e], ebp
cmp byte [edi], ah
stc
pop es
dec edx
mov dl, 0x14
mov ebx, dword [ebp + 0x65c02f68]
xchg ecx, eax
cmp dword [esi + 0xf], edi
pop ss
daa
movhps qword [edi], xmm4
lodsd eax, dword [esi]
jge 0x4be8ea
xlatb
fnstsw word [ecx + 0xadff2a1]
mov bh, 0xb9
add cl, byte [ecx - 0x52]
pop ds
jg 0x4be883
in al, 0xed
mov cl, 0xc3
mov edi, 0xcc6d7006
xor bl, byte [eax + 0x31]
adc eax, 0xa19115db
mov byte [0x32d79c26], al
retf
cld
lcall 0xb724, 0x2ba50424
lodsb al, byte [esi]
wait
adc ebx, dword [esi]
xor eax, 0x10382ba9
insb byte es:[edi], dx
outsb dx, byte [esi]
or al, 0xee
invalid
Function at 0x543b5e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x549390
cmp edx, dword [eax]
je 0x543b80
add eax, 8
inc ecx
cmp eax, 0x549420
jl 0x543b71
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x549390]
jne 0x543cae
mov eax, dword [0x54da7c]
cmp eax, 1
je 0x543c88
test eax, eax
jne 0x543bb1
cmp dword [0x5492d4], 1
je 0x543c88
cmp edx, 0xfc
je 0x543cae
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x543be8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00544270
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005444a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x543c2b
lea eax, [ebp - 0x1a4]
push eax
call fcn.005444a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5476c8
push edi
call fcn.00545c70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00544270
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00544280
lea eax, [ebp - 0xa0]
push 0x5476a8
push eax
call fcn.00544280
push dword [esi + 0x549394]
lea eax, [ebp - 0xa0]
push eax
call fcn.00544280
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00545be4
add esp, 0x2c
pop edi
jmp 0x543cae
lea eax, [ebp + 8]
lea esi, [esi + 0x549394]
push 0
push eax
push dword [esi]
call fcn.005444a0
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 0x40ca36
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40ca53
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40ca4b
cmp cl, byte [edx]
jne 0x40ca8e
push esi
push edx
push 0xffffffffffffffff
call fcn.00405dce
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e044], eax
jne 0x40ca74
cmp dword [ecx + 0x43e040], esi
je 0x40ca7f
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40ca64
jmp 0x40ca8e
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x40efe2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00420320
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x40f062
cmp ebx, dword [ebp + 4]
jg 0x40f1c6
cmp edi, esi
jge 0x40f04f
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x40f04b
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x40f02b
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x40f055
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x40f016
cmp ebx, dword [ebp + 4]
jg 0x40f1c6
mov edi, 0x43e198
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x43e098]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x40f0f3
cmp esi, 1
jle 0x40f0e7
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x40f0d5
sub dword [esp + 0x14], 1
jne 0x40f0d2
xor edi, edi
test esi, esi
jle 0x40f1b9
jmp 0x40f171
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x40f102
sub dword [esp + 0x14], 1
jne 0x40f0ff
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x40f15f
sub dword [esp + 0x14], 1
jne 0x40f15c
cmp ebx, dword [ebp + 4]
jg 0x40f1bc
cmp edi, esi
jge 0x40f1a6
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x40f1a2
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x40f182
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x40f1ac
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x40f171
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x40f070
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x40f344
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4481d0]
test esi, esi
jne 0x40f362
mov ecx, 0x4481c8
call fcn.0040f2c5
mov esi, dword [0x4481d0]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
and eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x40f3ad
test esi, esi
je 0x40f3d1
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x433278]
call esi
test eax, eax
jne 0x40f3f5
push str.CryptProtectMemory_failed
mov esi, 0x441098
push esi
call fcn.00406c36
pop ecx
pop ecx
mov ecx, esi
call fcn.00406dcb
push 2
mov ecx, esi
call fcn.00406c31
jmp 0x40f3f5
mov esi, dword [0x4481d4]
test esi, esi
je 0x40f3d1
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x433278]
call esi
test eax, eax
jne 0x40f3f5
push str.CryptUnprotectMemory_failed
jmp 0x40f38e
push ebx
call dword [0x433094]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x40f3f4
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x4b]
add al, dl
lea ecx, [edx + esi]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40f3e4
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x433084]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret