joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4057f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x4000
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004052e5
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x40586a
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
mov word [edi + 0x3ffe], ax
pop esi
jne 0x40586a
cmp dword [ebp + 0x18], 1
je 0x40586f
cmp dword [ebp + 0x18], 2
je 0x40586f
xor eax, eax
mov word [edi], ax
pop edi
leave
ret 0x14

Function at 0x405874
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 0x4058d7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp - 8], 0x73006e
mov dword [ebp - 4], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add word [ebp - 4], dx
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405921
test edi, edi
jne 0x4058e4
mov word [esi], ax
jmp 0x405923
mov eax, esi
pop edi
pop esi
leave
ret 8

Function at 0x4059b7
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4059d9
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
sub byte [esi + edi], 0xd
call ebx
add byte [esi + edi], 0x52
call ebx
xor byte [esi + edi], 0x2c
call ebx
add byte [esi + edi], 0xfe
call ebx
add byte [esi + edi], 0x1f
call ebx
add byte [esi + edi], 0xb8
call ebx
add byte [esi + edi], 0xae
call ebx
xor byte [esi + edi], 0x49
call ebx
add byte [esi + edi], 0x46
call ebx
add byte [esi + edi], 0x1b
call ebx
xor byte [esi + edi], 0xce
call ebx
add byte [esi + edi], 0xb2
call ebx
add byte [esi + edi], 0x58
call ebx
add byte [esi + edi], 0xfc
call ebx
add byte [esi + edi], 0x48
call ebx
add byte [esi + edi], 0x2f
call ebx
xor byte [esi + edi], 0x7e
call ebx
add byte [esi + edi], 0x74
call ebx
add byte [esi + edi], 0x4f
call ebx
add byte [esi + edi], 0x36
call ebx
add byte [esi + edi], 7
call ebx
add byte [esi + edi], 0xc7
call ebx
add byte [esi + edi], 0x52
call ebx
add byte [esi + edi], 0xf0
call ebx
add byte [esi + edi], 0x9a
call ebx
xor byte [esi + edi], 0xf8
call ebx
add byte [esi + edi], 0x32
call ebx
add byte [esi + edi], 0x55
call ebx
add byte [esi + edi], 0xdb
call ebx
add byte [esi + edi], 0xe6
call ebx
add byte [esi + edi], 0x9f
call ebx
xor byte [esi + edi], 0xb8
call ebx
xor byte [esi + edi], 0xb8
call ebx
xor byte [esi + edi], 0xe0
call ebx
add byte [esi + edi], 0x7a
call ebx
add byte [esi + edi], 0xde
call ebx
xor byte [esi + edi], 0x5f
call ebx
add byte [esi + edi], 0x5b
call ebx
add byte [esi + edi], 0x7d
call ebx
xor byte [esi + edi], 0x5a
call ebx
add byte [esi + edi], 0x4e
call ebx
xor byte [esi + edi], 0x48
call ebx
add byte [esi + edi], 0x7c
call ebx
xor byte [esi + edi], 0xb
call ebx
add byte [esi + edi], 0xda
call ebx
xor byte [esi + edi], 0x93
call ebx
add byte [esi + edi], 0xf9
call ebx
add byte [esi + edi], 0x8a
call ebx
add byte [esi + edi], 0xd2
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x45a8ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a
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
nop
mov ecx, 0x2b9c7a4f
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
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
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x77a44533
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x404257
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00406600
mov eax, dword [0x40c17c]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
push edi
push dword [0x40dbec]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
push ebp
lea eax, [esp + 0x18]
push eax
mov ebx, 0x4074e8
push ebx
push str.title
mov esi, 0x4083d8
push esi
call edi
push 0x50
pop ecx
lea eax, [esp + 0x10]
mov edx, 0x40c620
call fcn.0040595e
push dword [0x40dbec]
lea eax, [esp + 0x14]
push ebp
push eax
push ebx
push str.info
push esi
call edi
mov ecx, ebp
lea eax, [esp + 0x10]
mov edx, 0x40ca40
call fcn.0040595e
push dword [0x40dbec]
push 0x50
push 0x40da80
push ebx
push str.build_info
push esi
call edi
push dword [0x40dbec]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x40dbec]
mov dword [0x40c674], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x40dbec]
mov dword [0x40c670], eax
push 0xa
push 0x40da50
push ebx
push str.target_version
push esi
call edi
push dword [0x40dbec]
push 0x50
push 0x40c7a0
push ebx
push str.name
push str.metadata
call edi
push dword [0x40dbec]
push 0x104
push 0x40c680
push ebx
push str.install_script
push esi
call edi
push 0x40c620
call fcn.00402490
push eax
mov dword [0x40da40], eax
call fcn.0040595e
pop ecx
pop ecx
push dword [0x40dad4]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x40dbec]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x404399
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x40dbf0]
test eax, eax
je 0x4043a9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1000]
xor ecx, esp
xor eax, eax
call fcn.004065b0
add esp, 0x1004
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4195c0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x4195e8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4195f7
mov eax, 1
ret 4

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, 0x2c275abc
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x28cd0e9c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40288e
pop dword [ebp - 0x30]
mov eax, 0xfc5fa5d1
add eax, 0x3e082bd
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x7be4ce6f
sub dword [ebp - 0x40], 0x2d928924
mov dword [ebp - 0x3c], 0x1bf7e83e
sub dword [ebp - 0x3c], 0xe9c49bf9
mov dword [ebp - 0x38], 0xe664e1be
add dword [ebp - 0x38], 0x65e76270
mov dword [ebp - 0x34], 0xfd1074e7
sub dword [ebp - 0x34], 0xfd1074e7
lea eax, [ebp - 0x40]
push eax
mov eax, 0xe4bea507
add eax, 0x1b81db85
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x9f510d4d
sub dword [ebp - 0x40], 0x2adea3f7
mov dword [ebp - 0x3c], 0xa81c9de5
add dword [ebp - 0x3c], 0x994fc390
mov dword [ebp - 0x38], 0x908c6edf
add dword [ebp - 0x38], 0xd2e2fd8d
mov dword [ebp - 0x34], 0x4dcd817a
add dword [ebp - 0x34], 0xb2327e86
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1ffd85c5
add eax, 0xe042fb0f
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3889e
push 0
call eax
mov ecx, 0x84c91a82
sub ecx, 0x84c8cabd
mov ebx, eax
mov edx, 0xfe91fd32
add edx, 0x1af12ce
add edx, dword [ebp - 0x30]
mov edi, 0x6d67bc76
sub edi, 0x7e0e727e
xor dword [ebp - 0x28], 0x9a1a64a
mov esi, dword [edx]
mov dword [ebp - 4], 0x8356efbd
sub esi, edi
add dword [ebp - 0x28], 0xa1e78c18
mov dword [ebx], esi
add ebx, 0xedfd1428
add ebx, 0x1202ebdc
add edx, 4
loop 0x4029b0
add eax, 0x131e7
mov ebx, eax
add eax, 0x1e352d90
sub eax, 0x1e352d8b
mov ecx, 0x7723245
add ecx, 0xf8cdcdbb
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x54e745bb
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
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
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x272d1aad
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4bcf77be
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x45be2abe
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.004014fb
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x40893f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.0040895d
and esi, eax
xor dword [ecx], ebx
add ecx, 1
cmp ecx, edx
jne fcn.0040893f
dec eax
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

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

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

Disassembly:
cmp ecx, dword [0x489d78]
jne 0x40adf9
repz ret
jmp fcn.0040da1c

Function at 0x40d433
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x489d78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406484
and dword [ebp - 0x14], 0
cmp dword [0x48d744], 0
mov dword [ebp - 0x18], eax
jne 0x40d4e6
push 0x402c4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d58e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c40
push ebx
call edi
test eax, eax
je 0x40d58e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c30
push ebx
mov dword [0x48d744], eax
call edi
push eax
call esi
push 0x402c1c
push ebx
mov dword [0x48d748], eax
call edi
push eax
call esi
push 0x402c00
push ebx
mov dword [0x48d74c], eax
call edi
push eax
call esi
mov dword [0x48d754], eax
test eax, eax
je 0x40d4e6
push 0x402be8
push ebx
call edi
push eax
call esi
mov dword [0x48d750], eax
mov eax, dword [0x48d750]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d53f
cmp dword [0x48d754], ecx
je 0x40d53f
push eax
call esi
push dword [0x48d754]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d53f
test ebx, ebx
je 0x40d53f
call edi
test eax, eax
je 0x40d536
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d536
test byte [ebp - 8], 1
jne 0x40d53f
or dword [ebp + 0x10], 0x200000
jmp 0x40d572
mov eax, dword [0x48d748]
cmp eax, dword [ebp - 0x18]
je 0x40d572
push eax
call esi
test eax, eax
je 0x40d572
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d572
mov eax, dword [0x48d74c]
cmp eax, dword [ebp - 0x18]
je 0x40d572
push eax
call esi
test eax, eax
je 0x40d572
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48d744]
call esi
test eax, eax
je 0x40d58e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d590
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040adef
leave
ret
Function at 0x4714d0
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040e9a0
cmp dword [0x22cf6c4], 0x37
jne 0x471587
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403430
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403448
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034a0
push 0x4034b8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x403558
push 0x403618
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x22cf6c8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x492854]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x4715c0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [0x48a380]
push ebx
push ebp
mov ebp, dword [0x48a37c]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x48a378]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x48a384]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x471614
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x20]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x22c5674], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x22cf6c4], 0x1be
lea edi, [ebx + esi]
jne 0x471669
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x22c5678], 0xff6b3619
mov dword [0x22c567c], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov ecx, dword [0x22cf6c4]
cmp ecx, 0x93
je 0x4716ad
lea eax, [esp + 0x18]
call fcn.004715b0
mov ebx, dword [esp + 0x18]
dec dword [esp + 0x1c]
jne 0x471610
cmp ecx, 0x8d4
jne 0x4716e1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
Function at 0x471700
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x22cf6c4]
shr eax, 3
push esi
mov esi, dword [0x492854]
test eax, eax
je 0x471744
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x22cf6c4], 0x1c
jne 0x471736
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.004715c0
add esi, 8
dec edi
jne 0x471720
pop edi
pop ebx
pop esi
pop ecx
ret