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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483e01
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004064a0
mov dword [ebp - 0x82c], eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x830]
call fcn.00406ad0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x454aab
mov dword [ebp - 0x840], 0
jmp 0x454b13
mov ecx, dword [ebp - 0x834]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x454ad3
mov dword [ebp - 0x844], 0
jmp 0x454b07
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00464ed0
mov dword [ebp - 0x848], esp
mov edx, dword [ebp - 0x82c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [ebp - 0x848]
push edx
call fcn.004064b0
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x840], eax
mov ecx, dword [ebp - 0x840]
push ecx
lea ecx, [ebp - 0x830]
call fcn.00401c40
push str.Connection
lea ecx, [ebp - 0x830]
call fcn.00401c40
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x830]
call fcn.0041a040
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x454b82
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x830]
call fcn.004029a0
mov eax, dword [ebp - 0x838]
jmp 0x454c0c
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x1c], 0x7fe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x824]
push ecx
push 0
push 0
push str.PnpInstanceID
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x454bde
xor eax, eax
mov word [ebp - 0x81e], ax
push 0x489fbc
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x454bde
mov dword [ebp - 0x828], 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x828]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x830]
call fcn.004029a0
mov eax, dword [ebp - 0x83c]
lea esp, [ebp - 0x84c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x45ebd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45ebe0
xor eax, eax
jmp 0x45ed7d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45ed3e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48bac8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48bac8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48bac8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48bac8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48bac8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48bac8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48bac8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48bac8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x45ebe9
cmp dword [ebp + 0x10], 0
je 0x45ed77
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48bac8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x45ed44
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x45fc90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x45fcdf
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45fcd5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x45fd39
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x45fcff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00464a00
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x461690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4616aa
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x4616b4
mov eax, 0x1000000
jmp 0x46173b
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48bf54
mov eax, dword [ebp - 0x10]
add eax, 0x138
push eax
call fcn.00468d0b
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4616ff
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x4616ff
mov eax, 0x2000000
jmp 0x46173b
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045f960
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x461725
mov eax, dword [ebp - 8]
jmp 0x46173b
mov eax, dword [ebp - 4]
push eax
call fcn.00460120
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [0x4a11fc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461ea0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x461ec3
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x461ec8
jmp 0x461fb0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x461f1a
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x461f00
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x461f09
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x461ed7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x461f7b
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.00469778
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x420], ax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00461ea0
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00468d3c
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00468d0b
add esp, 8
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x4632e1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a1274], 0
push esi
push edi
jne 0x463257
call fcn.004631c3
test eax, eax
je 0x46329c
mov eax, dword [0x4a1274]
cmp eax, 1
jne 0x463278
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46329c
jmp 0x4632de
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4632de
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 0x4632a0
xor eax, eax
jmp 0x4632de
mov eax, dword [esi]
push dword [0x4a1274]
call edi
mov edi, eax
test edi, edi
je 0x4632c2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4632de
lea edi, [esi + 0xff0]
push esi
push dword [0x4a1274]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4632c8
mov eax, esi
pop edi
pop esi
ret
jmp 0x463243

Function at 0x464355
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49f56c]
jne 0x46435f
repz ret
jmp fcn.0046c67c
Function at 0x4790c6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f56c]
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.0046c06d
and dword [ebp - 0x14], 0
cmp dword [0x4a226c], 0
mov dword [ebp - 0x18], eax
jne 0x479179
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x479221
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48f1c4
push ebx
call edi
test eax, eax
je 0x479221
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a226c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a2270], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a2274], eax
call edi
push eax
call esi
mov dword [0x4a227c], eax
test eax, eax
je 0x479179
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a2278], eax
mov eax, dword [0x4a2278]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4791d2
cmp dword [0x4a227c], ecx
je 0x4791d2
push eax
call esi
push dword [0x4a227c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4791d2
test ebx, ebx
je 0x4791d2
call edi
test eax, eax
je 0x4791c9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4791c9
test byte [ebp - 8], 1
jne 0x4791d2
or dword [ebp + 0x10], 0x200000
jmp 0x479205
mov eax, dword [0x4a2270]
cmp eax, dword [ebp - 0x18]
je 0x479205
push eax
call esi
test eax, eax
je 0x479205
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x479205
mov eax, dword [0x4a2274]
cmp eax, dword [ebp - 0x18]
je 0x479205
push eax
call esi
test eax, eax
je 0x479205
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a226c]
call esi
test eax, eax
je 0x479221
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x479223
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464355
leave
ret

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

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069d1
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 0x4069ab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x4069a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069e4
pop edi
not eax
pop esi
ret 0xc
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b258
push 0x403b34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x401190
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x13c], ecx
mov cl, byte [ebp + 0x14]
test cl, cl
mov ecx, str.SendMessageW
jne 0x401067
mov ecx, str.SendMessageA
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x138], eax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x401190
push 4
push 0x1000
push 0x108
push 0
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x401196
lea edx, [ebp - 0x20]
push edx
push 0x108
lea eax, [ebp - 0x13c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, 0x401230
sub edi, 0x401200
mov dword [ebp - 0x140], edi
push 0x40
push 0x1000
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x401196
lea ecx, [ebp - 0x20]
push ecx
push edi
push 0x401200
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 0x24]
push edx
push 0
push esi
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401196
push 0xffffffffffffffff
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x20]
push edx
push 0x108
lea eax, [ebp - 0x13c]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov al, byte [ebp + 0x14]
test al, al
je 0x40116a
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403a17
add esp, 8
jmp 0x401196
lea edi, [ebp - 0x134]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x401193
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004011bc
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bd850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x157000]
push edi
jmp 0x5bd86a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bd871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bd860
mov eax, 1
add ebx, ebx
jne 0x5bd883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bd894
jne 0x5bd8b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bd8b3
dec eax
add ebx, ebx
jne 0x5bd8a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bd878
add ebx, ebx
jne 0x5bd8af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bd905
xor ecx, ecx
sub eax, 3
jb 0x5bd8cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bd93a
sar eax, 1
mov ebp, eax
jmp 0x5bd8d6
add ebx, ebx
jne 0x5bd8d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bd8a4
inc ecx
add ebx, ebx
jne 0x5bd8e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bd8a4
add ebx, ebx
jne 0x5bd8f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bd8e6
jne 0x5bd902
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bd8e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bd924
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bd916
jmp 0x5bd866
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bd924
add edi, ecx
jmp 0x5bd866
pop esi
mov edi, esi
mov ecx, 0x68e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bd942
cmp byte [edi], 0x13
jne 0x5bd942
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 0x5bd947
lea edi, [esi + 0x1ba000]
mov eax, dword [edi]
or eax, eax
je 0x5bd9bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ce3a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ce4c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bd974
mov ecx, edi
jns 0x5bd9a3
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 + 0x1ce4c4]
or eax, eax
je 0x5bd9b9
mov dword [ebx], eax
add ebx, 4
jmp 0x5bd991
call dword [esi + 0x1ce4d4]
mov ebp, dword [esi + 0x1ce4c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x5bd9f3
sub esp, 0xffffff80
jmp 0x4c7cca
Function at 0x427e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4f9b
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.004e9a1e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x427f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e7760
mov eax, dword [eax]
push 0x5ca24c
push eax
call fcn.004d5fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e9ca9
test bl, bl
je 0x427f12
push 0x5ca24c
lea ecx, [esp + 0xc]
call fcn.004ea039
push 0x5cddd4
lea ecx, [esp + 0xc]
call fcn.004ea039
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 0x427f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e9ca9
jmp 0x428019
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 0x427fd2
lea edx, [esp + 0x7c]
push 0x5cddd0
push edx
call fcn.004d5fb4
add esp, 8
test eax, eax
je 0x427fd2
lea eax, [esp + 0x7c]
push 0x5cddcc
push eax
call fcn.004d5fb4
add esp, 8
test eax, eax
je 0x427fd2
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 0x427f62
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.004e9ca9
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 0x428810
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 0x428872
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