joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5518a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c0490]
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.00545c0b
and dword [ebp - 0x14], 0
cmp dword [0x5ddc98], 0
mov dword [ebp - 0x18], eax
jne 0x55195b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x551a03
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5934b8
push ebx
call edi
test eax, eax
je 0x551a03
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5934a8
push ebx
mov dword [0x5ddc98], eax
call edi
push eax
call esi
push 0x593494
push ebx
mov dword [0x5ddc9c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ddca0], eax
call edi
push eax
call esi
mov dword [0x5ddca8], eax
test eax, eax
je 0x55195b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ddca4], eax
mov eax, dword [0x5ddca4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5519b4
cmp dword [0x5ddca8], ecx
je 0x5519b4
push eax
call esi
push dword [0x5ddca8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5519b4
test ebx, ebx
je 0x5519b4
call edi
test eax, eax
je 0x5519ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5519ab
test byte [ebp - 8], 1
jne 0x5519b4
or dword [ebp + 0x10], 0x200000
jmp 0x5519e7
mov eax, dword [0x5ddc9c]
cmp eax, dword [ebp - 0x18]
je 0x5519e7
push eax
call esi
test eax, eax
je 0x5519e7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5519e7
mov eax, dword [0x5ddca0]
cmp eax, dword [ebp - 0x18]
je 0x5519e7
push eax
call esi
test eax, eax
je 0x5519e7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ddc98]
call esi
test eax, eax
je 0x551a03
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x551a05
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053ca73
leave
ret
Function at 0x65a7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x65a805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x65a878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x65a83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x65a86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x65a86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x65a831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x65a7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x23a650a6
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x19fc5d5f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4193fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x41940d
pop dword [ebp - 0x40]
mov eax, 0x41940d
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x4ce1c
push 0
mov eax, 0xd04a4b54
sub eax, 0xd0059898
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x3bb3
xor ebx, ebx
add ebx, eax
mov edi, 0x487e00
add edi, dword [ebp - 0x40]
mov edx, 0x2ade3772
add edx, 0xc7e37430
xor dword [ebp - 8], esi
mov esi, dword [edi]
sub dword [ebp - 0xc], 0xa8db8eee
xor esi, edx
add dword [ebp - 0x28], ebx
mov dword [ebx], esi
mov dword [ebp - 0x34], 0xc888837b
add ebx, 0xda97ae92
sub ebx, 0xda97ae8e
add edi, 0x7e6852b0
add edi, 0x8197ad54
loop 0x41945d
add eax, 0xe19f
mov ebx, eax
add eax, 0x85bd42e5
sub eax, 0x85bd42e0
mov ecx, 0x63cd7231
add ecx, 0x9c728dcf
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x402a28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x446f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402abc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a79
cmp dword [ebp + 0x10], ebx
jne 0x402ab0
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a28
test eax, eax
jne 0x402a8b
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a60
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405da3
cmp eax, ebx
je 0x402ac3
push ebx
push dword [0x446f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402abc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x446f50], ebx
jne 0x402ab9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ab9
jmp 0x402abc
Function at 0x40302c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x41fc3c]
sub esi, dword [0x413ba8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x446eac], eax
jle 0x403196
push dword [0x427c4c]
call fcn.004031da
push ebx
push ebx
push dword [0x413ba8]
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x427c48], esi
mov dword [0x41fc38], ebx
mov ebp, 0x413c38
mov eax, dword [0x41fc40]
mov edi, 0x4000
sub eax, dword [0x427c4c]
cmp eax, edi
jg 0x4030a1
mov edi, eax
mov esi, 0x41bc38
push edi
push esi
call fcn.004031a8
test eax, eax
je 0x403188
add dword [0x427c4c], edi
mov dword [0x413bc8], esi
mov dword [0x413bcc], edi
cmp dword [0x446eb0], ebx
je 0x4030f8
cmp dword [0x446f40], ebx
jne 0x4030f8
mov eax, dword [0x427c48]
push ebx
sub eax, dword [0x41fc3c]
sub eax, dword [esp + 0x1c]
add eax, dword [0x413ba8]
mov dword [0x41fc38], eax
call fcn.00402bc5
pop ecx
mov ecx, 0x413bb0
mov dword [0x413bd0], ebp
mov dword [0x413bd4], 0x8000
call fcn.00405e9d
test eax, eax
jl 0x403191
mov esi, dword [0x413bd0]
sub esi, ebp
je 0x403152
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40318d
cmp esi, dword [esp + 0x10]
jne 0x40318d
add dword [0x413ba8], esi
cmp dword [0x413bcc], ebx
jne 0x4030c7
jmp 0x40315e
cmp dword [0x413bcc], ebx
jne 0x403191
cmp edi, ebx
je 0x403191
mov eax, dword [0x41fc3c]
mov ecx, eax
sub ecx, dword [0x413ba8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x40308b
push ebx
push ebx
push eax
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403196
or eax, 0xffffffff
jmp 0x4031a0
push 0xfffffffffffffffe
jmp 0x403193
push 0xfffffffffffffffd
pop eax
jmp 0x4031a0
push 1
call fcn.00402bc5
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4052e5
Capabilities:
Create process on windows

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

Function at 0x4053aa
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405659
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x4053de
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x446f28], eax
jmp 0x405572
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4053fc
test eax, eax
je 0x40551d
test byte [ebp + 0xc], 2
je 0x40551d
mov esi, 0x439ca0
push edi
push esi
call fcn.00405a85
test ebx, ebx
je 0x405419
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x40541f
push edi
call fcn.004055bf
cmp byte [edi], 0
jne 0x40542d
cmp byte [0x439ca0], 0x5c
jne 0x405438
push 0x40900c
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405513
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004055a3
cmp byte [eax], 0
je 0x40547e
cmp byte [ebp - 0x18], 0
je 0x40547e
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405494
mov al, byte [esi + 1]
test al, al
je 0x4054f2
cmp al, 0x2e
jne 0x405494
cmp byte [esi + 2], 0
je 0x4054f2
push esi
push ebx
call fcn.00405a85
test byte [ebp - 0x148], 0x10
je 0x4054b9
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4054f2
push dword [ebp + 0xc]
push edi
call fcn.004053aa
jmp 0x4054f2
push edi
call fcn.0040573d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4054ea
test byte [ebp + 0xc], 4
je 0x4054e2
push edi
push 0xfffffffffffffff1
call fcn.00404e23
push 0
push edi
call fcn.004057d3
jmp 0x4054f2
inc dword [0x446f28]
jmp 0x4054f2
push edi
push 0xfffffffffffffff2
call fcn.00404e23
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40545c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x40551d
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405572
cmp dword [ebp - 8], esi
jne 0x405532
inc dword [0x446f28]
jmp 0x405572
push edi
call fcn.00405d7c
test eax, eax
je 0x405572
push edi
call fcn.00405578
push edi
call fcn.0040573d
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40556a
test byte [ebp + 0xc], 4
je 0x40552a
push edi
push 0xfffffffffffffff1
call fcn.00404e23
push esi
push edi
call fcn.004057d3
jmp 0x405572
push edi
push 0xffffffffffffffe5
call fcn.00404e23
pop edi
pop esi
leave
ret 8
Function at 0x405659
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43bca0
push esi
call fcn.00405a85
push esi
call fcn.0040560c
mov edi, eax
test edi, edi
jne 0x40567a
xor eax, eax
jmp 0x4056cc
push edi
call fcn.00405ce3
test byte [0x446eb8], 0x80
je 0x405693
mov al, byte [edi]
test al, al
je 0x405676
cmp al, 0x5c
je 0x405676
sub edi, esi
jmp 0x4056ab
call fcn.00405d7c
test eax, eax
je 0x4056a5
test byte [eax], 0x10
je 0x405676
push esi
call fcn.004055bf
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405697
call fcn.00405578
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405759
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x40575c
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40578b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4057cf
test edi, edi
jne 0x405796
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4057c9
Function at 0x4057d3
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405da3
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4057f7
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405930
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x43e628], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x43e628
je 0x40583b
push 1
push 0
push esi
call fcn.0040575c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405936
cmp eax, edi
jg 0x405936
mov esi, 0x43e0a0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405936
cmp eax, edi
jg 0x405936
push esi
push ebp
push str._s_s_r_n
push 0x43dca0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x446eb0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405aa7
push 4
push 0xc0000000
push esi
call fcn.0040575c
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405930
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405929
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405929
cmp edi, dword [esp + 0x18]
jne 0x405929
push str._Rename__r_n
push esi
call fcn.004056d1
test eax, eax
jne 0x40593d
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405a85
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x43dca0
push eax
call fcn.0040571d
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x446f30]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409348
push eax
call fcn.004056d1
test eax, eax
je 0x4058f4
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405964
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405959
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x4058f6
Function at 0x40596c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4059dd
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4059cc
cmp dword [ebp + 0x14], 1
je 0x4059ce
cmp dword [ebp + 0x14], 2
je 0x4059ce
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405e0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43ea2c], 0
push esi
jne 0x405e46
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 0x405e20
mov dword [ecx*4 + 0x43ea28], eax
inc ecx
cmp ecx, 0x100
jl 0x405e1b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e77
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 + 0x43ea28]
xor eax, esi
inc ecx
dec edx
jne 0x405e59
pop edi
not eax
pop esi
ret 0xc
Function at 0x64e1be40
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x64e1c004
pushal
mov esi, 0x64e18015
lea edi, [esi - 0x17015]
push edi
or ebp, 0xffffffff
jmp 0x64e1be6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x64e1be71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64e1be60
mov eax, 1
add ebx, ebx
jne 0x64e1be83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x64e1be78
jne 0x64e1be94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x64e1be78
xor ecx, ecx
sub eax, 3
jb 0x64e1bea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x64e1bf1a
mov ebp, eax
add ebx, ebx
jne 0x64e1beb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x64e1bec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x64e1bee4
inc ecx
add ebx, ebx
jne 0x64e1bed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x64e1bec5
jne 0x64e1bee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x64e1bec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x64e1bf04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x64e1bef5
jmp 0x64e1be66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x64e1bf04
add edi, ecx
jmp 0x64e1be66
pop esi
mov edi, esi
mov ecx, 0x169
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x64e1bf22
cmp byte [edi], 0
jne 0x64e1bf22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x64e1bf27
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x64e1bf96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x64e1bf54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c054]
or eax, eax
je 0x64e1bf90
mov dword [ebx], eax
add ebx, 4
jmp 0x64e1bf71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x64e1bfc7
cmp al, 0xef
ja 0x64e1bfba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x64e1bf9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x64e1bfa9
mov ebp, dword [esi + 0x1c058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x64e1bffb
sub esp, 0xffffff80
jmp 0x64e03b30
Function at 0x4266e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
jmp 0x4266fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x426701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4266f0
mov eax, 1
add ebx, ebx
jne 0x426713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x426708
jne 0x426724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426708
xor ecx, ecx
sub eax, 3
jb 0x426738
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4267aa
mov ebp, eax
add ebx, ebx
jne 0x426743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x426750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x426774
inc ecx
add ebx, ebx
jne 0x426760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x426755
jne 0x426771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426755
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x426794
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x426785
jmp 0x4266f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x426794
add edi, ecx
jmp 0x4266f6
pop esi
mov edi, esi
mov ecx, 0x11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4267b2
cmp byte [edi], 4
jne 0x4267b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4267b7
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x42682f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x268e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26920]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4267e4
mov ecx, edi
jns 0x426813
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 + 0x26928]
or eax, eax
je 0x426829
mov dword [ebx], eax
add ebx, 4
jmp 0x426801
call dword [esi + 0x26924]
mov ebp, dword [esi + 0x2692c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x426863
sub esp, 0xffffff80
jmp 0x401128