joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
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
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x402425
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40ee50
cmp edx, dword [eax]
je 0x402447
add eax, 8
inc ecx
cmp eax, 0x40eee0
jl 0x402438
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40ee50]
jne 0x402575
mov eax, dword [0x40fa40]
cmp eax, 1
je 0x40254f
test eax, eax
jne 0x402478
cmp dword [0x40eda0], 1
je 0x40254f
cmp edx, 0xfc
je 0x402575
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4024af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403960
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4024f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403960
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406a78
push edi
call fcn.00403a70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403880
lea eax, [ebp - 0xa0]
push 0x406a58
push eax
call fcn.00403880
push dword [esi + 0x40ee54]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403880
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004039db
add esp, 0x2c
pop edi
jmp 0x402575
lea eax, [ebp + 8]
lea esi, [esi + 0x40ee54]
push 0
push eax
push dword [esi]
call fcn.00403960
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 0x1000186d
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
pop ebp
ret
Function at 0x1000253d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
push 3
pop ebx
mov ecx, dword [ebp + 0x14]
lea eax, [edi + 2]
div ebx
lea eax, [eax*4 + 1]
cmp dword [ecx], eax
jae 0x10002569
push 6
mov dword [ecx], eax
pop eax
jmp 0x10002670
xor edx, edx
mov eax, edi
div ebx
mov ebx, dword [ebp + 0x18]
xor ecx, ecx
imul eax, eax, 3
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
test eax, eax
je 0x100025f3
xor edx, edx
dec eax
push 3
pop ecx
div ecx
inc eax
imul edx, eax, 3
mov edi, eax
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shr eax, 2
push 3
mov al, byte [eax + ebx]
mov byte [esi], al
movzx ecx, byte [edx]
pop eax
and ecx, eax
movzx eax, byte [edx + 1]
shr eax, 4
shl ecx, 4
add ecx, ebx
push 3
mov al, byte [eax + ecx]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
movzx ecx, byte [edx + 1]
shr eax, 6
and ecx, 0xf
add eax, ebx
mov al, byte [eax + ecx*4]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 3], al
add esi, 4
pop eax
add edx, eax
sub edi, 1
jne 0x10002596
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
jmp 0x100025f6
mov edx, dword [ebp + 8]
cmp ecx, edi
jae 0x10002662
movzx eax, byte [edx]
mov dword [ebp + 0xc], eax
lea eax, [ecx + 1]
cmp eax, edi
jae 0x1000260d
movzx ecx, byte [edx + 1]
jmp 0x1000260f
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
shr eax, 2
shl edx, 4
mov al, byte [eax + ebx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 1], al
add esi, 2
mov eax, dword [ebp - 4]
inc eax
cmp dword [ebp + 0x1c], 0
je 0x10002655
cmp eax, edi
jae 0x10002648
and ecx, 0xf
mov al, byte [ebx + ecx*4]
jmp 0x1000264a
mov al, 0x3d
mov byte [esi], al
mov byte [esi + 1], 0x3d
add esi, 2
jmp 0x10002662
cmp eax, edi
jae 0x10002662
and ecx, 0xf
mov al, byte [ebx + ecx*4]
mov byte [esi], al
inc esi
mov eax, dword [ebp + 0x14]
mov byte [esi], 0
sub esi, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cld
mov edi, dword fs:[0x30]
push dword [edi + 0xc]
pop edi
push dword [edi + 0x14]
pop edi
lea ebx, [0]
add ebx, 0xffffffff
neg ebx
test ebx, ebx
je 0x401050
mov esi, dword [edi + 0x28]
push 0
pop edx
lodsw ax, word [esi]
test ax, ax
je 0x401042
or al, 0x20
rol edx, 0xf
rol edx, 4
xor dl, al
jno 0x40102d
jmp 0x40102d
push dword [edi + 0x10]
pop ebx
push dword [edi]
pop edi
push edx
sub edx, dword [ebp + 8]
pop edx
jne 0x401020
push ebx
push eax
pop ebx
pop eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x4161cc
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x14]
xor esi, esi
or esi, dword [edi + 0x28]
push esi
call fcn.00416255
push eax
pop ecx
shl eax, 0x1f
shl eax, 1
xor eax, dword [edi + 0x10]
mov edi, dword [edi]
cmp ecx, dword [esp + 4]
jne 0x4161d9
ret 4
Function at 0x100294f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002951b
xor eax, eax
jmp 0x1002963b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10029539
xor eax, eax
jmp 0x1002963b
lea eax, [ebp - 0xc]
push eax
push 0x246c
push 1
push dword [ebp - 8]
push 0x47d9
call fcn.100290c4
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10029561
xor eax, eax
jmp 0x1002963b
lea eax, [ebp - 0x24]
push eax
push 0x48f5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1002938e
add esp, 0x1c
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push 0x6aae
push dword [ebp + 8]
call fcn.10021d00
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x100295c1
push 1
lea eax, [ebp - 4]
push eax
push 0x3ae3
lea eax, [ebp - 0x14]
push eax
call fcn.10029448
add esp, 0x10
push dword [ebp - 4]
call fcn.10028bbf
pop ecx
test eax, eax
jne 0x100295d2
xor eax, eax
jmp 0x1002963b
push dword [ebp - 4]
push 0
call fcn.100255c7
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10029623
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100295fd
xor eax, eax
jmp 0x1002963b
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10029616
xor eax, eax
jmp 0x1002963b
push 1
lea eax, [ebp - 4]
push eax
call fcn.100294b7
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10029634
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10029638
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003a558
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003a5c8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x20]
push dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x30]
call fcn.10040a85
jmp 0x1003a611
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003a5ea
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x1003a611
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003a60f
push 0
push 0x178e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1003a5df
mov esp, ebp
pop ebp
ret
Function at 0x10043fe0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007b330]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10044004
jmp 0x10044073
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10044018
jmp 0x10044073
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10044044
jmp 0x10044073
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x10044065
jmp 0x10044073
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret

Function at 0x100565c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10667464]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x106676a0
call fcn.100557a0
add esp, 8
mov esp, ebp
pop ebp
ret 4
Function at 0x1006b97c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007b330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10064424
mov dword [ebp - 0x14], eax
cmp dword [0x10667e50], esi
jne 0x1006ba6f
push 0x800
push esi
push 0x1000630c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006b9fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006bb4f
push esi
push esi
push 0x1000630c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006bb4f
push 0x10006324
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006bb4f
push eax
call ebx
push 0x10006330
push edi
mov dword [0x10667e50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006340
push edi
mov dword [0x10667e54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006354
push edi
mov dword [0x10667e58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10667e60], eax
test eax, eax
je 0x1006ba6c
push 0x10006370
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10667e5c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006ba94
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006ba87
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006baa9
push 4
pop eax
jmp 0x1006bb51
cmp dword [ebp - 0x14], esi
je 0x1006baa9
push dword [0x10667e50]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006ba8e
mov eax, dword [0x10667e5c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006bb07
cmp dword [0x10667e60], edi
je 0x1006bb07
push eax
call ebx
push dword [0x10667e60]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006bb07
test eax, eax
je 0x1006bb07
call ecx
test eax, eax
je 0x1006bafc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006bafc
test byte [ebp - 8], 1
jne 0x1006bb07
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006bb37
mov eax, dword [0x10667e54]
cmp eax, edi
je 0x1006bb34
push eax
call ebx
test eax, eax
je 0x1006bb34
call eax
mov esi, eax
test esi, esi
je 0x1006bb34
mov eax, dword [0x10667e58]
cmp eax, edi
je 0x1006bb34
push eax
call ebx
test eax, eax
je 0x1006bb34
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10667e50]
call ebx
test eax, eax
je 0x1006bb4f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006bb51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x5f8a7e
Capabilities:
Encode data using xor

Disassembly:
dec edx
movsb byte es:[edi], byte [esi]
sbb edi, dword [ebp + 0x25fdf79b]
mov ecx, 0xb5cacd0f
out 0xca, al
fmul st(3), st(0)
or cl, byte [eax]
xchg esp, eax
sub ecx, dword [esi + 0x66cd3606]
cli
outsd dx, dword cs:[esi]
push edi
mov dh, 0x51
push cs
mov cl, 0x82
xor dword [edx], esi
insd dword es:[edi], dx
mov bl, byte [ebp - 0x75]
pop ebp
mov dl, 0x88
call 0xcd0662c3
aam 5
push 0x766af418
mul byte [ebx + 0x5d6ed27d]
xor byte [ebp + 0x1b], al
adc dword [esi + 0x1fa9f59c], ecx
mov byte [0xc76b209b], al
cld
mov cl, 0xd7
out 0x34, al
out 0xc2, al
sub ecx, dword [ebx - 0x5a]
pop edx
cmp eax, 0x750234cb
push dword [edx - 0x57]
je 0x5f8aa9
mov al, ch
adc al, 0xd8
cmpsb byte [esi], byte es:[edi]
int3
add eax, 0x77d99789
lcall 0xaa1, 0x70a47d25
nop
adc al, 0x2b
mov cl, 0x7e
pop ebx
adc eax, 0xc744d17f
sar edi, 0x72
leave
rol dword [edi + eax*8 - 0x3f], 1
push dword [edx - 0x37]
adc byte [eax + 0x1d], 0x55
dec ecx
std
sub al, ah
cmp eax, 0x7c80d985
test eax, 0xc74a62dd
shl ch, 0x6a
loop 0x5f8af3
int 0x60
push ebp
invalid

Function at 0x77031e
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x65
xor byte [ecx + 0x587069a2], ch
add eax, 0x2d46db0
adc bl, byte [ecx]
push 0x35b947a0
sbb dword [esi], edi
push 0x35b947a0
fmul qword [ecx + 0x97299cc]
arpl bp, si
nop
jo 0x2d0c61e8
sti
xchg dword [0xaa2ae15c], edx
stosb byte es:[edi], al
cmp ch, dh
sub al, 0x43
sub al, 0x41
leave
mov dh, 0x6c
mov ch, 0xd8
or esp, 0x6cee6c5b
ja 0x7702de
inc ebp
lodsb al, byte [esi]
xchg ebp, eax
mov ah, 0x60
and ch, dh
pop edi
pop es
adc ebx, esp
xor al, 0x65
insb byte es:[edi], dx
jne 0x770309
inc ebp
cmove ebp, ebp
loop 0x770398
mov ecx, 0xd1c37954
jge 0x770351
pushal
push es
push ebx
cmp al, 0x49
or dword [ecx], edi
in al, dx
mov gs, word [edx]
sbb eax, 0xbc7893f5
insb byte es:[edi], dx
movsd dword es:[edi], dword [esi]
fld qword [ebp - 0x60]
inc edi
dec edx
pushal
sub eax, 0x6090dcb9
fidivr word [edi + 0x20]
loopne 0x77039a
sbb al, 0x85
lea edx, [ecx]
xor byte [ecx], ah
inc ebp
xor dword [ecx + ecx*2 - 0x32068c75], ecx
mov esi, dword [ebx - 7]
int 0xac
lodsb al, byte [esi]
jbe 0x7702ed
inc edi
and dword [edi + 0x6720c881], edx
push es
and dl, 0x90
mov cl, ch
outsd dx, dword [esi]
invalid
scasd eax, dword es:[edi]
xchg esp, eax
in al, dx
cmc
mov bl, 0xc
loop 0x77036a
out dx, eax
clc
jge 0x770419
jl 0x770366
aam 0x55
jge 0x770424
push dword [ebp + 0xb]
pop ecx
das
jg 0x77039c
lodsb al, byte [esi]
ret 0xa08a
hlt
mov eax, 0x3c161c05
aam 0xa5
xor al, 0x57
mov bl, 0xc5
sbb al, 0xb0
mov al, 0xbd
invalid
Function at 0x4013a0
Capabilities:
Persist via appinit_dlls registry key
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 3
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4013de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040281c
mov esp, ebp
pop ebp
ret
mov eax, 0x44bd30
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4013e6
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push 0x44bd30
push 1
push 0
push str.AppInit_DLLs
push edx
call esi
test eax, eax
jne 0x4013cd
mov ecx, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push str.LoadAppInit_DLLs
push ecx
mov dword [ebp - 0x20], 1
call esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x40ab24]
mov edx, dword [0x40ab28]
mov eax, dword [0x40ab20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x40ab30]
mov dword [ebp - 0xc], edx
mov edx, dword [0x40ab34]
mov dword [ebp - 0x14], eax
mov eax, dword [0x40ab2c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x40ab38]
mov dword [ebp - 0x24], edx
xor edx, edx
or ecx, dword [0x40ab3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], edx
mov eax, 0x40ab38
je 0x4014a0
lea esp, [esp]
mov ecx, dword [eax + 0xc]
add eax, 8
add edx, 8
or ecx, dword [eax]
jne 0x401490
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x40ab38
push 0x40ab38
call fcn.00401200
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x44bd30
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4014f5
mov eax, dword [ebp - 0x18]
push 0
lea edx, [ebp - 0x18]
push edx
push eax
push 0x40ab38
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040281c
mov esp, ebp
pop ebp
ret
Function at 0x40d8d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40d8f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d8e8
mov eax, 1
add ebx, ebx
jne 0x40d90b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d900
jne 0x40d91c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d900
xor ecx, ecx
sub eax, 3
jb 0x40d930
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d9a2
mov ebp, eax
add ebx, ebx
jne 0x40d93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d96c
inc ecx
add ebx, ebx
jne 0x40d958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d94d
jne 0x40d969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d94d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d98c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d97d
jmp 0x40d8ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d98c
add edi, ecx
jmp 0x40d8ee
pop esi
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d9f4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe164]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe218]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d9a9
mov ecx, edi
jns 0x40d9d8
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 + 0xe21c]
or eax, eax
je 0x40d9ee
mov dword [ebx], eax
add ebx, 4
jmp 0x40d9c6
call dword [esi + 0xe22c]
mov ebp, dword [esi + 0xe220]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40da28
sub esp, 0xffffff80
jmp 0x406aa8