joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4249f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57eec1
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
mov ecx, dword [ebx]
xor edi, edi
cmp ecx, edi
je 0x424a47
mov eax, dword [ebx + 4]
push eax
call fcn.0042f9f0
mov ecx, dword [ebx]
push ecx
call fcn.004fe160
add esp, 8
mov dword [ebx], edi
lea edx, [esp + 0x10]
push edx
push 0x400
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [esp + 0x10]
cmp word [esp + 0x10], di
je 0x424af7
lea esp, [esp]
mov eax, dword [0x669e38]
mov edx, dword [eax + 0xc]
mov ecx, 0x669e38
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x81c], 1
push esi
push 0x632c04
lea edi, [esp + 0x14]
call fcn.0042e800
mov edi, dword [esp + 0x14]
add esp, 8
push edi
push ebx
call fcn.0042ea00
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424ab3
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov dword [esp + 0x81c], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
jne 0x424a70
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x814
ret
Function at 0x424b20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x580c11
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x828]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x18], esi
cmp dword [esi + 0xc], ebx
jbe 0x424b73
call fcn.004fe843
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp edi, dword [esi + 0x10]
jbe 0x424b86
call fcn.004fe843
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
push esi
lea ebx, [esp + 0x24]
call fcn.0042cf20
lea edx, [esp + 0x1c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x1c], 0
lea esi, [esp + 0x1c]
je 0x424c75
lea ebx, [ebx]
mov eax, dword [0x669e38]
mov edx, dword [eax + 0xc]
mov ecx, 0x669e38
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, 1
mov dword [esp + 0x830], ebx
push esi
push 0x632c04
lea edi, [esp + 0x18]
call fcn.0042e800
mov edi, dword [esp + 0x18]
add esp, 8
cmp dword [edi - 4], ebx
jle 0x424c0f
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00402a30
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x424c2c
mov edi, dword [esp + 0x18]
lea ebx, [esp + 0x10]
call fcn.0041c280
mov edi, dword [esp + 0x10]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424c31
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov dword [esp + 0x830], 0xffffffff
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
jne 0x424bc0
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret
Function at 0x4251b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x57b544
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28c]
mov dword [esp + 0x280], 0
lea eax, [esp + 0x288]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str..
call fcn.0042b340
add esp, 8
mov byte [esp + 0x280], 1
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x1c]
call fcn.00402750
cmp ebp, 0xffffffff
je 0x425379
mov ecx, 0x632c68
lea eax, [esp + 0x50]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425278
test dx, dx
je 0x425274
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425278
add eax, 4
add ecx, 4
test dx, dx
jne 0x425252
xor eax, eax
jmp 0x42527d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42535e
mov ecx, 0x632c6c
lea eax, [esp + 0x50]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4252b6
test dx, dx
je 0x4252b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4252b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x425290
xor eax, eax
jmp 0x4252bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42535e
lea eax, [esp + 0x288]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x63132c
call fcn.0042b340
mov byte [esp + 0x288], 2
push eax
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x60]
call fcn.0042b340
add esp, 0x10
mov bl, 4
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x18]
call fcn.00402750
lea edi, [esp + 0x14]
call fcn.0040cc50
test byte [esp + 0x24], 0x10
je 0x425340
push esi
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov ecx, edi
push ecx
push eax
call fcn.0040cbb0
mov byte [esp + 0x288], 5
mov byte [esp + 0x288], bl
call fcn.004251b0
add esp, 8
jmp 0x42534d
mov eax, dword [esp + 0x44]
add dword [esi], eax
mov ecx, dword [esp + 0x40]
adc dword [esi + 4], ecx
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x14]
call fcn.00402750
lea edx, [esp + 0x24]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425249
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x288]
call fcn.00402750
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x270
ret
Function at 0x4253c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579588
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x425432
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402750
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402750
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x425460
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x57c991
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov esi, 1
mov dword [esp + 0x24], esi
push ebx
call fcn.0040c980
mov eax, dword [esp + 0x30]
push edi
push edi
push 3
push edi
push edi
push connect
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x425528
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.004fe27d
mov edx, dword [esp + 0x18]
add esp, 4
push edi
lea ecx, [esp + 0x18]
push ecx
push edx
mov esi, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov byte [esi + eax], 0
cmp esi, edi
jne 0x425500
xor eax, eax
jmp 0x42550e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425505
sub eax, edx
mov edi, eax
push esi
mov eax, ebx
call fcn.0040ff00
push esi
call fcn.004fe160
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x30]
call fcn.00402750
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x425550
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x579560
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 1
xor bl, bl
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], eax
cmp eax, 0x80000001
jne 0x4255b6
lea eax, [esp + 0x20]
push eax
push 0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42564b
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 2
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x425603
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x30]
push ecx
push 4
push edx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0xc]
push ecx
call esi
test bl, bl
je 0x42561a
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [0x66b0b8]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
call fcn.00402750
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402750
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x20], connect
jmp 0x4255b6

Function at 0x4258c0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x425957
lea eax, [esp + 0xc]
push eax
push 0x28
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425954
lea ecx, [esp + 0x10]
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x42594d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ebx
push 0x10
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
push ebx
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42594d
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
call edi
push esi
call edi
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x20
ret
Function at 0x425af0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, connect
mov dword [esp + 4], 0
test ecx, ecx
je 0x425b2a
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x425b80
mov eax, dword [esp + 4]
test edi, edi
je 0x425b55
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
push edi
push edx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x425b73
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret

Function at 0x425e90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x6531f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0
push ecx
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x820], 0x400
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ecx
mov edx, esp
mov dword [ebp - 0x824], esp
push edx
lea ecx, [ebp - 0x810]
call fcn.004026a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x818]
push eax
mov byte [ebp - 4], 0
call fcn.004060e0
add esp, 8
mov dword [ebp - 4], 2
mov ebx, dword [eax]
test ebx, ebx
jne 0x425f2e
xor eax, eax
jmp 0x425f71
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x425f69
lea eax, [edi + edi]
call fcn.00506fa0
mov esi, esp
test esi, esi
je 0x425f69
push edi
push esi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
push 3
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x425f6b
xor eax, eax
mov esi, dword [ebp - 0x81c]
push esi
mov ecx, eax
call fcn.004026a0
mov dword [ebp - 0x814], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x818]
call fcn.0040ca90
mov eax, esi
lea esp, [ebp - 0x838]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret
Function at 0x425fc0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x580b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8a4]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x491]
push ebx
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x498], bl
call fcn.00501e30
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x91]
push ebx
push ecx
mov byte [esp + 0x98], bl
call fcn.00501e30
add esp, 0xc
lea ecx, [esp + 0x8c]
call fcn.00427a30
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00427e10
test al, al
je 0x42609b
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426070
sub eax, edx
mov edx, dword [esp + 0x18]
push edx
mov ecx, 0x400
push str._08X
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x98]
push edx
call fcn.004fe121
add esp, 0x10
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x8c]
push eax
mov eax, 0x400
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00430380
add esp, 4
lea esi, [esp + 0x24]
lea edi, [esp + 0x7c]
call fcn.00430420
movzx ecx, byte [esp + 0x8b]
movzx edx, byte [esp + 0x8a]
movzx eax, byte [esp + 0x89]
push ecx
movzx ecx, byte [esp + 0x8c]
push edx
movzx edx, byte [esp + 0x8f]
push eax
movzx eax, byte [esp + 0x92]
push ecx
movzx ecx, byte [esp + 0x95]
push edx
movzx edx, byte [esp + 0x98]
push eax
movzx eax, byte [esp + 0x9b]
push ecx
movzx ecx, byte [esp + 0x9e]
push edx
movzx edx, byte [esp + 0xa1]
push eax
movzx eax, byte [esp + 0xa4]
push ecx
movzx ecx, byte [esp + 0xa7]
push edx
movzx edx, byte [esp + 0xaa]
push eax
movzx eax, byte [esp + 0xad]
push ecx
movzx ecx, byte [esp + 0xb0]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x4d0]
push 0x400
push edx
call fcn.004fe121
add esp, 0x4c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x490]
call fcn.0040c9e0
mov esi, 1
mov dword [esp + 0x89c], esi
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.00423940
add esp, 8
mov dword [esp + 0x1c], esi
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x14]
call fcn.0040ca90
mov eax, ebp
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x88c
ret
Function at 0x426200
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x580afd
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8a4]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x491]
push ebx
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x498], bl
call fcn.00501e30
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x91]
push ebx
push ecx
mov byte [esp + 0x98], bl
call fcn.00501e30
add esp, 0xc
lea ecx, [esp + 0x8c]
call fcn.00427a30
xor eax, eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edx
mov eax, 0x400
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00430380
add esp, 4
lea esi, [esp + 0x24]
lea edi, [esp + 0x7c]
call fcn.00430420
movzx eax, byte [esp + 0x8b]
movzx ecx, byte [esp + 0x8a]
movzx edx, byte [esp + 0x89]
push eax
movzx eax, byte [esp + 0x8c]
push ecx
movzx ecx, byte [esp + 0x8f]
push edx
movzx edx, byte [esp + 0x92]
push eax
movzx eax, byte [esp + 0x95]
push ecx
movzx ecx, byte [esp + 0x98]
push edx
movzx edx, byte [esp + 0x9b]
push eax
movzx eax, byte [esp + 0x9e]
push ecx
movzx ecx, byte [esp + 0xa1]
push edx
movzx edx, byte [esp + 0xa4]
push eax
movzx eax, byte [esp + 0xa7]
push ecx
movzx ecx, byte [esp + 0xaa]
push edx
movzx edx, byte [esp + 0xad]
push eax
movzx eax, byte [esp + 0xb0]
push ecx
push edx
push eax
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea ecx, [esp + 0x4d0]
push 0x400
push ecx
call fcn.004fe121
add esp, 0x4c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x490]
call fcn.0040c9e0
mov esi, 1
mov dword [esp + 0x89c], esi
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.00423940
add esp, 8
mov dword [esp + 0x1c], esi
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x18]
call fcn.0040ca90
mov eax, ebp
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x88c
ret
Function at 0x426520
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42656c
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x426582
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
call fcn.0042bf20
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x426582
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret

Function at 0x4265c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x438
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x426662
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x42665b
lea esp, [esp]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jb 0x42662a
lea eax, [edi + 1]
mov esi, ebx
call fcn.0042f460
test al, al
je 0x426676
mov esi, dword [esp + 0xc]
imul edi, edi, 0x428
add edi, dword [ebx]
je 0x426643
mov ecx, 0x10a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
inc dword [ebx + 4]
cmp byte [ebp + 0xc], 0
jne 0x42665b
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x426610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
xor ecx, esp
call fcn.004fdb4a
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00401000
int3
Function at 0x426690
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x578588
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0xf], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4266fe
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4266dc
push eax
call edi
mov dword [esp + 0x10], ebx
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x426736
mov eax, dword [esp + 0x10]
jmp 0x426703
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov edx, dword [esp + 0x24]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push edx
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x426736
mov eax, dword [esp + 0x10]
cmp esi, ebx
jne 0x42672a
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [esp + 0xf], 1
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x426749
push eax
call edi
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret

Function at 0x426760
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x578558
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x4267d9
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4267bb
push eax
call ebx
mov dword [esp + 0x10], esi
lea eax, [esp + 0x10]
push eax
push 1
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42680f
mov eax, dword [esp + 0x10]
jmp 0x4267de
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x42680b
cmp dword [esp + 0x18], 4
jne 0x42680b
cmp dword [esp + 0x1c], esi
jne 0x42680f
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x426826
push eax
call ebx
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret