joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582780
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x5828c0
cmp dword [esp + 0x28], ebp
je 0x5828c0
push edi
push 0x2800
call fcn.00588eb5
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x5827e3
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005886fc
add esp, 0x1c
ret
push ebx
push esi
xor ebx, ebx
jmp 0x5827f0
push ebx
push str..PhysicalDrive_d
push 0x2800
call fcn.00580980
add esp, 0xc
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x582896
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0058e300
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push edi
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x582889
mov eax, dword [edi + 0x18]
cmp eax, ebp
jbe 0x582889
mov edx, dword [esp + 0x18]
add eax, edi
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.00582510
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x5828a0
inc ebx
cmp ebx, 0x10
jl 0x5827f0
push edi
call fcn.0058870b
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005886fc
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.005886fc
add esp, 0x1c
ret
Function at 0x582970
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x5829aa
cmp dword [esp + 0x34], esi
je 0x5829aa
push 0x200
call fcn.00588eb5
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x5829b5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x582b14
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
push esi
push edx
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x582aaa
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x582a0d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x582a83
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x582a78
mov eax, edi
mov dword [edi], 0x5c2e5c5c
call fcn.005828e0
cmp edx, ebx
jb 0x582a78
ja 0x582a72
cmp eax, dword [esp + 0x24]
jbe 0x582a78
mov dword [esp + 0x24], eax
mov ebx, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
inc esi
push esi
push edx
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
test eax, eax
je 0x582a00
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
ja 0x582ac0
cmp dword [esp + 0x24], 0
jbe 0x582b14
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push str._012I64X
push 0x200
call fcn.00580980
add esp, 0x10
test eax, eax
jne 0x582af9
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.0058870b
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push edi
push edx
push str.MAC:
call fcn.00582510
add esp, 0xc
mov dword [esp + 0x18], eax
push edi
call fcn.0058870b
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x584c90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9c00
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x623e3c]
xor edi, edi
cmp ecx, edi
jne 0x584cdb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x584ce8
mov dword [ebp - 0x14], edi
jmp 0x584d00
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x584da6
mov ecx, dword [0x623e3c]
mov eax, dword [ecx]
cmp eax, edi
je 0x584cc7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x584cc7
mov dword [ebp - 4], edi
mov ebx, 0x623e3c
call fcn.00584dc0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x584d3e
mov dword [ebp - 0x18], 1
push 0x5f9988
lea eax, [ebp - 0x18]
push eax
call fcn.0058ddff
mov ecx, dword [0x623e3c]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x584d58
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x584d6d
mov dword [ebp - 0x1c], 4
push 0x5f9988
lea edx, [ebp - 0x1c]
push edx
call fcn.0058ddff
mov dword [ebp - 4], 0xffffffff
jmp 0x584d92
mov eax, dword [0x623e3c]
mov eax, dword [eax]
test eax, eax
je 0x584da4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x584dc0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x584ded
xor ecx, ecx
jmp 0x584df9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x584ead
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x584e20
mov dword [esp + 0xc], esi
jmp 0x584e80
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x584e79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x584e6c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x584e80
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x584e80
push 0x5e79b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x584e80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x584ea3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x584e12
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x584ec1
mov ecx, dword [ebx]
add ecx, 8
call fcn.00585050
test eax, eax
je 0x584ec1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x584ed0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x5aa0ab
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0058e300
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x584f68
push 0x5f9988
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0058ddff
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x587c5a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6211b8], 0
push esi
jne 0x587bcd
call fcn.00587af3
test eax, eax
je 0x587c10
mov eax, dword [0x6211b8]
cmp eax, 1
jne 0x587bee
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x587c10
pop esi
ret
push eax
call dword [0x6211c0]
test eax, eax
jne 0x587c58
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x587c14
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x6211b8]
call dword [0x6211c0]
mov edi, eax
test edi, edi
je 0x587c39
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x587c55
mov edi, esi
add esi, 0xff0
push edi
push dword [0x6211b8]
call dword [0x6211bc]
add edi, 0x10
cmp edi, esi
jb 0x587c41
mov eax, edi
pop edi
pop esi
ret
jmp 0x587bba

Function at 0x5886fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x615370]
jne 0x588706
repz ret
jmp fcn.00592ded

Function at 0x5a34db
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00593d72
and dword [ebp - 4], 0
cmp dword [0x621fb8], 0
mov ebx, eax
jne 0x5a358c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5a363d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5a363d
push eax
call fcn.00593d00
mov dword [esp], 0x5c94e0
push edi
mov dword [0x621fb8], eax
call esi
push eax
call fcn.00593d00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x621fbc], eax
call esi
push eax
call fcn.00593d00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x621fc0], eax
call esi
push eax
call fcn.00593d00
pop ecx
mov dword [0x621fc8], eax
test eax, eax
je 0x5a358c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00593d00
pop ecx
mov dword [0x621fc4], eax
mov eax, dword [0x621fc4]
cmp eax, ebx
je 0x5a35e4
cmp dword [0x621fc8], ebx
je 0x5a35e4
push eax
call fcn.00593d7b
push dword [0x621fc8]
mov esi, eax
call fcn.00593d7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5a35e4
test edi, edi
je 0x5a35e4
call esi
test eax, eax
je 0x5a35db
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a35db
test byte [ebp - 0xc], 1
jne 0x5a35e4
or dword [ebp + 0x10], 0x200000
jmp 0x5a361d
mov eax, dword [0x621fbc]
cmp eax, ebx
je 0x5a361d
push eax
call fcn.00593d7b
pop ecx
test eax, eax
je 0x5a361d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5a361d
mov eax, dword [0x621fc0]
cmp eax, ebx
je 0x5a361d
push eax
call fcn.00593d7b
pop ecx
test eax, eax
je 0x5a361d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x621fb8]
call fcn.00593d7b
pop ecx
test eax, eax
je 0x5a363d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a363f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407805
Capabilities:
Get cpu information
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push edi
push 8
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
push 0x3c
mov dword [ebp - 0x3c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00408c0c
mov edi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 8], ebx
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jle 0x407917
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x407917
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
shrd eax, ecx, 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
shr ecx, 0x14
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4078c0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.MHz
push dword [ebp - 8]
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
jg 0x4078e5
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x407917
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 0xf4240
idiv ecx
cmp eax, ebx
mov dword [ebp - 4], eax
jle 0x407917
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
mov dword [ebp + 8], eax
shl dword [ebp + 8], 0x10
push ebx
call esi
or eax, dword [ebp + 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x10]
push str._d__d__d__u
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x407c72
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46cc84], 0
jne 0x407cad
xor ecx, ecx
push esi
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 0x407c86
mov dword [ecx*4 + 0x46cc80], eax
inc ecx
cmp ecx, 0x100
jl 0x407c81
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407cda
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46cc80]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x407cbb
not eax
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4cf1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x91000]
push edi
or ebp, 0xffffffff
jmp 0x4cf202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cf209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cf1f8
mov eax, 1
add ebx, ebx
jne 0x4cf21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cf22c
jne 0x4cf24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cf24b
dec eax
add ebx, ebx
jne 0x4cf238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cf210
add ebx, ebx
jne 0x4cf247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cf29d
xor ecx, ecx
sub eax, 3
jb 0x4cf263
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cf2d2
sar eax, 1
mov ebp, eax
jmp 0x4cf26e
add ebx, ebx
jne 0x4cf26e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cf23c
inc ecx
add ebx, ebx
jne 0x4cf27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cf23c
add ebx, ebx
jne 0x4cf289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cf27e
jne 0x4cf29a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cf27e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cf2bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cf2ae
jmp 0x4cf1fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cf2bc
add edi, ecx
jmp 0x4cf1fe
pop esi
mov edi, esi
mov ecx, 0x4d97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cf2da
cmp byte [edi], 0x1f
jne 0x4cf2da
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 0x4cf2df
lea edi, [esi + 0xcb000]
mov eax, dword [edi]
or eax, eax
je 0x4cf34e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xea624]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xea7dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cf30c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xea7e0]
or eax, eax
je 0x4cf348
mov dword [ebx], eax
add ebx, 4
jmp 0x4cf329
call dword [esi + 0xea7f0]
mov ebp, dword [esi + 0xea7e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4cf382
sub esp, 0xffffff80
jmp 0x48f888
Function at 0x535f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
jmp 0x535f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x535f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f20
mov eax, 1
add ebx, ebx
jne 0x535f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x535f54
jne 0x535f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f73
dec eax
add ebx, ebx
jne 0x535f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x535f38
add ebx, ebx
jne 0x535f6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x535fc5
xor ecx, ecx
sub eax, 3
jb 0x535f8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x535ffa
sar eax, 1
mov ebp, eax
jmp 0x535f96
add ebx, ebx
jne 0x535f96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
inc ecx
add ebx, ebx
jne 0x535fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
add ebx, ebx
jne 0x535fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x535fa6
jne 0x535fc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x535fa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x535fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x535fd6
jmp 0x535f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x535fe4
add edi, ecx
jmp 0x535f26
pop esi
mov edi, esi
mov ecx, 0x997f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536002
cmp byte [edi], 0x2f
jne 0x536002
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 0x536007
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x53607f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13d4dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13d644]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x536034
mov ecx, edi
jns 0x536063
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 + 0x13d648]
or eax, eax
je 0x536079
mov dword [ebx], eax
add ebx, 4
jmp 0x536051
call dword [esi + 0x13d658]
mov ebp, dword [esi + 0x13d64c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5360b3
sub esp, 0xffffff80
jmp 0x4b20a6
Function at 0x100350f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009153b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10085f8f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10035172
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10083d3a
mov eax, dword [eax]
push 0x100ab264
push eax
call fcn.100768e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1008621a
test bl, bl
je 0x10035172
push 0x100ab264
lea ecx, [esp + 0xc]
call fcn.100865aa
push 0x100aedc8
lea ecx, [esp + 0xc]
call fcn.100865aa
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x100351ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1008621a
jmp 0x10035279
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10035232
lea edx, [esp + 0x7c]
push 0x100aedc4
push edx
call fcn.100768e4
add esp, 8
test eax, eax
je 0x10035232
lea eax, [esp + 0x7c]
push 0x100aedc0
push eax
call fcn.100768e4
add esp, 8
test eax, eax
je 0x10035232
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100351c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.1008621a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10035a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10035ad2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc