joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c86
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a04], 0
push esi
jne 0x405cbd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c97
mov dword [ecx*4 + 0x422a00], eax
inc ecx
cmp ecx, 0x100
jl 0x405c92
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cee
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a00]
xor eax, esi
inc ecx
dec edx
jne 0x405cd0
pop edi
not eax
pop esi
ret 0xc

Function at 0x40e5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
jmp 0x40e5fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e5f0
mov eax, 1
add ebx, ebx
jne 0x40e613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e608
jne 0x40e624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e608
xor ecx, ecx
sub eax, 3
jb 0x40e638
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e6aa
mov ebp, eax
add ebx, ebx
jne 0x40e643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e650
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e674
inc ecx
add ebx, ebx
jne 0x40e660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e655
jne 0x40e671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e655
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e694
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e685
jmp 0x40e5f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e694
add edi, ecx
jmp 0x40e5f6
pop esi
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e6f3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1299c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e6b1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a2c]
or eax, eax
je 0x40e6ed
mov dword [ebx], eax
add ebx, 4
jmp 0x40e6ce
call dword [esi + 0x12a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40e724
cmp al, 0xef
ja 0x40e717
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40e6f9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40e706
mov ebp, dword [esi + 0x12a30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e758
sub esp, 0xffffff80
jmp 0x403222
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x13a829c1
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2dad152b
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

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

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x4057bb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40580c
xor eax, eax
jmp 0x405833
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405833
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405808
call esi
pop esi
leave
ret 4

Function at 0x40586d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4266f0], 0x44
push eax
xor eax, eax
push 0x4266f0
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4058ac
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4058b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x40594e
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d55
mov edi, eax
cmp edi, 0xffffffff
je 0x40598f
test byte [esp + 0x10], 1
push esi
je 0x405971
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405977
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405980
xor eax, eax
inc eax
jmp 0x405991
test byte [esp + 0x10], 4
jne 0x40598f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x4065ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406612
xor eax, eax
test eax, eax
je 0x406625
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406625
xor ecx, ecx
jmp 0x406628
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406751
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427d8c], 0
push esi
jne 0x406788
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406762
mov dword [ecx*4 + 0x427d88], eax
inc ecx
cmp ecx, 0x100
jl 0x40675d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427d88]
xor eax, esi
inc ecx
dec edx
jne 0x40679b
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0xeb49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xef8e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xf12014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xf130ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00ec80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xf12a8c
push eax
call fcn.00ec80c0
mov esi, dword [0xf130fc]
xor ebx, ebx
mov edi, dword [0xf13100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xf16390], bl
mov eax, ebx
mov ecx, 0xf130ec
cmovae ecx, dword [0xf130ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xf164a0], al
inc ebx
cmp ebx, 0x100
jl 0xeb4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xf16390]
movzx eax, byte [esi + 0xf164a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xeb4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xf16390]
mov byte [esi + 0xf16390], al
inc esi
mov byte [edi + 0xf16390], dl
cmp esi, 0x100
jl 0xeb4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00eb4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xeb4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xeb4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xeb4b1f
push edx
push ecx
call fcn.00ecd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xeb4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xeb4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xeb4b1f
push edx
push ecx
call fcn.00ecd663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00ee6c6a
int3
Function at 0xeb70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xf12014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x6b0a52
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xeb7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xeb7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00ee40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x6b0b0b
nop
test eax, eax
je 0xeb7289
push 4
push 0x1000
push 4
push 0
call 0x6b0351
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x3e017d
nop
test eax, eax
je 0xeb7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xf08df8
push dword [esp + 0x30]
call 0x3e0654
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xeb71ac
push 0xf08dfc
push 0xf08e14
call 0x660d94
nop
push eax
call 0x3e03db
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x3e0496
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xeb7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x6b0922
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xeb7243
mov dword [esp + 0xc], eax
call fcn.00eb6ef0
push eax
call 0x6600ef
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x6b0922
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xeb71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x6b0922
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x3e0876
nop
push dword [esp + 0x24]
call 0x660ea9
nop
push 0x8000
push 0
push esi
call 0x6b0852
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00eccff1
mov esp, ebp
pop ebp
ret
Function at 0xebaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xef9726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0xf12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00ee8b63
push eax
call fcn.00ee6660
add esp, 8
call fcn.00ee663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00ee663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00ee663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00eb45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0xebafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xebafe6
push 0x40
push 0
push 0xf18560
sub esi, ecx
call fcn.00ee40f0
add esp, 0xc
mov dword [0xf18554], 0
mov edx, esi
mov dword [0xf18550], 0
lea ecx, [ebp - 0x410]
mov dword [0xf18540], 0x67452301
mov dword [0xf18544], 0xefcdab89
mov dword [0xf18548], 0x98badcfe
mov dword [0xf1854c], 0x10325476
call fcn.00eb5530
call fcn.00eb55f0
mov ecx, 0xf165a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xebb071
sub ecx, edx
push ecx
push 0xf165a0
lea ecx, [ebp - 0x42c]
call fcn.00ec80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0xebb0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xebb0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xebb18c
push edx
push ecx
call fcn.00ecd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0xebb187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00ec80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0xebb169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xebb15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xebb18c
push edx
push ecx
call fcn.00ecd663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00eccff1
mov esp, ebp
pop ebp
ret
call fcn.00ec8200
call fcn.00ee6c6a
int3
Function at 0xecdcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0xb516dd
nop
test eax, eax
je 0xecdd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xecdd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xecdd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xecdd07
cmp dword [ecx + 0x74], 0xe
jbe 0xecdd07
cmp dword [ecx + 0xe8], 0
je 0xecdd07
mov al, 1
ret
xor al, al
ret
Function at 0x43225e
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
push edx
fadd qword [ecx - 0x78]
cdq
adc ebp, edi
mov ebx, 0xc788376c
xchg byte [esi], bh
wait
lodsd eax, dword [esi]
fld dword [edx + 0x4e]
sahf
in eax, 0x2a
lodsb al, byte [esi]
pop eax
loope 0x4322a6
aad 0x55
mov ah, 0xe
mov eax, 0x3865971f
wait
xor edx, edi
mov ebx, 0xda400744
lahf
pushal
not dword [ecx + 0x70]
inc ecx
cwde
mov dword [0xbbef139b], eax
inc ebx
mov ah, bh
xor byte [esi - 0x78e23fda], 0x49
invalid
pop ds
pop ebx
inc ebx
mov byte [edi + 0x3e7ea60], cl
rcl byte [eax - 0x4b16e82f]
push es
fsub st(2)
in eax, dx
loop 0x432295
js 0x432244
cmp ecx, dword [ebx + 0x31b91dba]
xchg esi, eax
sbb byte [edi], cl
xchg edx, eax
pop ss
xor dl, cl
inc edi
xchg edx, eax
add dword [ecx], edi
cwde
inc ecx
add edx, dword [ebx + 0x71da3d16]
push 0x5375c142
push ebp
mov eax, 0x8833c242
xchg esp, eax
jl 0x43230d
mov byte [esp + edi*2 + 0x6c61da39], dl
fisub dword [ecx + 0x6c]
insb byte es:[edi], dx
dec ecx
add eax, 0x476e7a3b
xor byte [ecx], bl
imul edx, dword [edx - 0x58409717], 0xbd463653
push ss
cmp edx, edi
jge 0x4322d0
cmc
mov bh, ah
push ds
insb byte es:[edi], dx
add ebp, dword [ebp + 0x2d3a2ad1]
invalid
sbb eax, 0x8af34870
invalid
jo 0x432357
mov bl, bh
loop 0x4322d6
push es
aam 0xf4
stc
add eax, 0xfc666ff0
jge 0x43230c
invalid
inc ebx
mov eax, 0x2721999f
popal
dec edx
pop esp
push esi
bound esi, qword [eax - 0x42]
sub al, 0x22
xchg esp, eax
or eax, 0x6e128f80
ja 0x43239e
outsd dx, dword [esi]
ror dword [esi - 0x1b4f6139], 0x2c
xchg ebp, eax
retf 0xf2c5
stc
sub byte [ebp - 0x6a], bl
adc eax, 0x80ae12ec
ror byte [ebp + 0x2f], 1
sbb dl, byte [ecx + 0x692226fc]
jno 0x43242a
popfd
pushal
pop ebx
scasd eax, dword es:[edi]
fnstcw word [edx]
dec esi
out 0xed, al
mov dh, 0x34
lcall 0x60cd, 0x5b1b2b65
in eax, dx
inc ecx
mov bh, byte [ebp + 0x52]
push ebp
mov dh, 0xb9
pop esp
push edi
jno fcn.0043240a
xchg byte [esi - 0x62e08fec], dh
xchg ebp, eax
dec eax
fild dword [ebp - 0x59]
inc esp
or eax, 0xd0d3c0a0
jns 0x432440
fist dword [ecx + eax*2 + 0x39992f82]
daa
sbb ecx, ecx
cwde
leave
loopne 0x4323ed
lodsd eax, dword [esi]
xor eax, 0xc5cceba7
mov esp, 0x30779a57
sbb dword [ebx + 0x789bcb75], esp
fld xword [ecx + 0x7bc4c21b]
push edx
out 0x22, eax
rcl byte [ebx - 0x6292fa09]
dec eax
mov bl, 0xac
adc ah, 0x4e
push 0x29
lodsb al, byte [esi]
add eax, 0xeff692d4
out dx, eax
Function at 0x40601d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406041
xor eax, eax
test eax, eax
je 0x406053
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406053
xor ecx, ecx
jmp 0x406056
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x4060f6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422b14], 0
push esi
jne 0x40612d
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406107
mov dword [ecx*4 + 0x422b10], eax
inc ecx
cmp ecx, 0x100
jl 0x406102
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40615e
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422b10]
xor eax, esi
inc ecx
dec edx
jne 0x406140
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x69927bf6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x126d4364
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219