joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11012968
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1104ca2f
call fcn.1101f140
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor edx, edx
push edx
push edx
push ecx
push edx
push 1
push dword [eax - 0xc]
mov dword [ebp - 4], edx
push eax
call esi
test eax, eax
je 0x110129d2
push dword [ebp - 0x14]
call fcn.1101eb5d
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.11021a60
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x110129e3
push ebx
call fcn.1101eb66
pop ecx
mov ecx, edi
call fcn.110126b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x11012a04
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.11012aa7
mov esi, eax
test esi, esi
je 0x110129fd
mov ecx, edi
call fcn.110126b3
push ebx
call fcn.1101eb66
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1101695d
mov eax, esi
call fcn.1101f0ea
ret 8

Function at 0x11012a19
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1104ca2f
call fcn.1101f140
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x11012a94
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x11012a56
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x11012a8c
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1101dcc1
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.1101c9c5
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x11012a94
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1101695d
mov eax, ebx
call fcn.1101f0ea
ret
Function at 0x11012aa7
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x1104c431
call fcn.1101f140
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.1101eb5d
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.11021a60
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1101e125
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x11012b21
push esi
call fcn.1101eb66
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.110126b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x11012b87
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.11014cde
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.11018cd0
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.11018c07
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x11012b7e
push dword [ebp - 0x120]
call fcn.11028771
pop ecx
push esi
call fcn.1101eb66
pop ecx
xor eax, eax
call fcn.1101f0ea
ret 0xc
Function at 0x11014ea6
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1302572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x11014eda
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x11014fdf
push edi
mov edi, 0x94
push edi
call fcn.1101eb5d
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.11021a60
mov eax, dword [esi + 0x10]
push 0x80
push 0x12002b68
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.1101e125
add esp, 0x20
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x11014fc2
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x11014fc2
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x11014fc2
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x11014fc2
push dword [ebp - 8]
call fcn.1101eb5d
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.11021a60
add esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x11014fca
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x11014fde
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1101ea1f
mov esp, ebp
pop ebp
ret
Function at 0x1101a08f
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x1104cae4
call fcn.1101f140
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xa8], eax
call fcn.11014da3
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1100fd97
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x1101a103
push dword [ebp - 0xa8]
call fcn.11028771
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x1101a18a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.1101eb5d
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.11021a60
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.1101e125
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push esi
call fcn.1101e125
add esp, 0x30
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1101a192
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1101695d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1101695d
mov eax, edi
call fcn.1101f0ea
ret 0xc
Function at 0x1101e343
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1302572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.1101e306
push esi
call fcn.1101e66b
mov esi, eax
push edi
mov dword [ebp - 0x14], esi
call fcn.1101e66b
push 0x58
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.11021a60
lea eax, [ebp - 0x7c]
push eax
push 5
push esi
call fcn.1101e1f0
mov edi, eax
add esp, 0x20
cmp edi, 5
jb 0x1101e4e1
push edi
push esi
call fcn.1101e74f
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push esi
call fcn.1101e8db
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x1101e4dc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
and dword [ebp - 8], 0
push ecx
push 0x40
push edi
push esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1101e4c1
lea eax, [ebp - 8]
push eax
push 0x40
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1101e4a4
xor edx, edx
lea ecx, [ebx + 0x2c]
test edi, edi
je 0x1101e42a
sub esi, ecx
mov al, byte [esi + ecx]
mov byte [ecx], al
mov byte [ebx + edx + 0x4c], al
inc edx
inc ecx
cmp edx, edi
jb 0x1101e415
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x2c]
lea eax, [edi + esi]
push eax
lea eax, [ecx + edi]
push eax
call fcn.1101e2bd
mov edx, dword [ebp - 0x18]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
push edx
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x1101e470
lea esi, [ebx + 0xc]
push esi
call fcn.1101e2bd
pop ecx
pop ecx
sub eax, ebx
sub eax, 0xc
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.1101e2bd
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebx + 8], eax
lea eax, [ebx + 0x2c]
push edi
push eax
push dword [ebp - 0x10]
mov dword [ebx + 4], edi
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [ebx], 0
je 0x1101e4d0
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x2c]
mov dword [ecx], eax
jmp 0x1101e4dc
push 1
push ebx
call fcn.1101e9e2
pop ecx
pop ecx
xor ebx, ebx
call fcn.1101e5ed
push 0x13027988
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1101ea1f
mov esp, ebp
pop ebp
ret
Function at 0x1101e504
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1302572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
call fcn.1101e306
xor esi, esi
mov eax, dword [esi*4 + 0x130279a0]
test eax, eax
je 0x1101e53c
add eax, 0x2c
cmp eax, dword [ebx]
je 0x1101e5e1
inc esi
cmp esi, 0x40
jb 0x1101e526
xor esi, esi
test esi, esi
je 0x1101e5c3
push dword [esi + 4]
push dword [esi]
call fcn.1101e74f
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 8], edi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1101e5be
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x1101e58b
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x1101e57e
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 0xc]
xor edi, edi
mov eax, dword [esi]
inc edi
push 0
push esi
mov dword [ecx], eax
call fcn.1101e9e2
pop ecx
pop ecx
call fcn.1101e5ed
push 0x13027988
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1101ea1f
mov esp, ebp
pop ebp
ret
mov esi, dword [esi*4 + 0x130279a0]
jmp 0x1101e544

Function at 0x1101e5ed
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x13027aa8], esi
jbe 0x1101e63f
mov eax, dword [0x13027aa4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x13027aa4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x13027aa8]
jb 0x1101e61a
push dword [0x13027aa4]
call fcn.11028771
and dword [0x13027aa4], 0
and dword [0x13027aa8], 0
pop ecx
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1101e6a3
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x1302572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1101e73d
test esi, esi
je 0x1101e73d
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1101e734
mov dword [ebp - 0x2d0], 0x10001
xor ebx, ebx
jmp 0x1101e720
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x218], eax
jb 0x1101e73d
add eax, dword [ebp + 0x10]
cmp dword [ebp - 0x218], eax
jae 0x1101e73d
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp ebx, 3
jge 0x1101e734
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
inc ebx
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1101e6ee
jmp 0x1101e73d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1101ea1f
mov esp, ebp
pop ebp
ret

Function at 0x1101e8db
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1302572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], eax
cmp dword [0x13027aa0], 0x40
jae 0x1101e9d1
push esi
lea esi, [edx + ecx]
add ecx, dword [ebp + 0x14]
push edi
cmp ecx, 0x80000000
lea edi, [ebp - 0x44]
push 9
lea eax, [ecx + 0x7ff80000]
mov edx, 0xfff80000
cmovb edx, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
mov esi, dword [ebp - 0x48]
cmovb edi, eax
cmp edi, esi
jae 0x1101e9cf
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1101e9aa
cmp dword [ebp - 0x10], 0x10000
jne 0x1101e99e
mov eax, dword [ebp - 0x14]
cmp eax, 0x6c
jb 0x1101e9a1
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jb 0x1101e9a1
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1101e9ae
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add edi, eax
cmp edi, esi
jb 0x1101e953
test ebx, ebx
je 0x1101e9cf
xor eax, eax
cmp dword [eax*4 + 0x130279a0], 0
je 0x1101e9c2
inc eax
cmp eax, 0x40
jb 0x1101e9b0
jmp 0x1101e9cf
inc dword [0x13027aa0]
mov dword [eax*4 + 0x130279a0], ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1101ea1f
mov esp, ebp
pop ebp
ret

Function at 0x1102b850
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1102b755
Function at 0x11035902
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4207c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x4207e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4207e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4207d8
mov eax, 1
add ebx, ebx
jne 0x4207fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4207f0
jne 0x42080c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4207f0
xor ecx, ecx
sub eax, 3
jb 0x420820
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x420892
mov ebp, eax
add ebx, ebx
jne 0x42082b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x420838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42085c
inc ecx
add ebx, ebx
jne 0x420848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42083d
jne 0x420859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42083d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42087c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42086d
jmp 0x4207de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42087c
add edi, ecx
jmp 0x4207de
pop esi
mov edi, esi
mov ecx, 0x19b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42089a
cmp byte [edi], 4
jne 0x42089a
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 0x42089f
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x420917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x208f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20930]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4208cc
mov ecx, edi
jns 0x4208fb
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 + 0x20934]
or eax, eax
je 0x420911
mov dword [ebx], eax
add ebx, 4
jmp 0x4208e9
call dword [esi + 0x2093c]
mov ebp, dword [esi + 0x20938]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x42094b
sub esp, 0xffffff80
jmp 0x4029f0
Function at 0x5b24dc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
jmp 0x5b2525
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x10], edx
jge 0x5b2572
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jb 0x5b2567
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 8]
cmp dword [ebp + 0xc], eax
jae 0x5b2567
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x20
test eax, eax
je 0x5b2563
mov eax, 1
jmp 0x5b2574
xor eax, eax
jmp 0x5b2574
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
jmp 0x5b251c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x5b2c82
Capabilities:
Set global application hook
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [0x5b5578], 0
jne 0x5b2d9f
mov dword [0x5b5578], 1
mov ax, word [0x5b5588]
sub ax, 1
mov word [0x5b5588], ax
mov ecx, dword [0x5b59e0]
add ecx, 1
mov dword [0x5b59e0], ecx
cmp dword [0x5b59e0], 5
jbe 0x5b2cf5
call fcn.005b4660
mov dword [0x5b59e4], eax
cmp dword [0x5b59dc], 0
je 0x5b2ceb
cmp dword [0x5b59e4], 0
je 0x5b2ceb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x5b59e0], 0
call fcn.005b3c1e
test eax, eax
je 0x5b2d14
xor edx, edx
mov dx, word [0x5b5588]
test edx, edx
jne 0x5b2d80
call fcn.005b3c52
test eax, eax
jne 0x5b2d80
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0x5b51f0
call fcn.005b3ab4
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x5b4268
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5b559c], eax
push 0x2000
push 0x5b5168
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x5b559c]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov word [0x5b5588], 0
jmp 0x5b2cf5
xor eax, eax
mov ax, word [0x5b5588]
test eax, eax
jne 0x5b2d95
mov word [0x5b5588], 0xa
mov dword [0x5b5578], 0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5b4318
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x5b4330
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x5b438a
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x5b4351
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x5b437b
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x5b4371
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x5b4379
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x5b4348
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x5b55b4], ecx
jmp 0x5b4327
mov esp, ebp
pop ebp
ret