joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429c20
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4a108b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x18
mov dword [esp + 0x24], 1
xor ebx, ebx
call fcn.0045fc12
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x20], 2
je 0x429c71
mov ecx, eax
call fcn.00430d20
mov esi, eax
jmp 0x429c73
xor esi, esi
test esi, esi
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x20], 1
je 0x429cb7
mov eax, dword [0x4cd264]
push eax
mov ecx, esi
call fcn.00430d10
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
push 0
push ebp
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebx, eax
call edx
xor eax, eax
test ebx, ebx
setge al
mov ebx, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429cd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x429d40
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4a9cbc
push ecx
call fcn.00484103
mov esi, eax
add esp, 8
test esi, esi
jne 0x429d59
pop esi
ret 4
push edi
push 2
push 0
push esi
call fcn.00483fba
mov edx, dword [esp + 0x18]
mov eax, edx
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429d70
push esi
sub eax, edi
push eax
push 1
push edx
call fcn.00483eb1
push esi
call fcn.00483cd6
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x42a990
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x470
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
mov esi, dword [esp + 0x478]
xor eax, eax
push 0x400
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00483480
push 0x4a9d0c
push esi
call fcn.00484103
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42aa6d
push esi
push 0x400
lea ecx, [esp + 0x78]
push 1
push ecx
call fcn.00484521
add esp, 0x10
test eax, eax
je 0x42aa3b
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc]
call fcn.0042a7f0
push esi
push 0x400
lea eax, [esp + 0x78]
push 1
push eax
call fcn.00484521
add esp, 0x10
test eax, eax
jne 0x42aa13
lea ecx, [esp + 4]
call fcn.0042a8a0
push esi
call fcn.00483cd6
lea ecx, [esp + 0x60]
push ecx
call fcn.0042a000
add esp, 8
pop esi
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.004820a1
add esp, 0x470
ret
mov ecx, dword [esp + 0x470]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004820a1
add esp, 0x470
ret
Function at 0x42b770
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x28], eax
jne 0x42b789
xor al, al
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call edi
test eax, eax
je 0x42b7e8
mov ecx, dword [esi + 0x28]
push str.Process32First
push ecx
mov dword [esi + 0x10], eax
call edi
test eax, eax
je 0x42b810
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x28]
push str.Process32Next
push eax
call edi
test eax, eax
jne 0x42b7d6
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov edx, dword [esi + 0x28]
push str.Module32First
push edx
mov dword [esi + 0x18], eax
call edi
test eax, eax
jne 0x42b7fe
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x28]
push str.Module32Next
push ecx
mov dword [esi + 0x1c], eax
call edi
test eax, eax
jne 0x42b826
mov edx, dword [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov dword [esi + 0x20], eax
mov al, 1
pop edi
mov byte [esi + 0x2d], al
pop esi
ret
Function at 0x42ddd0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a1501
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov esi, 1
push 0x4a5956
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.00403080
mov edi, dword [esp + 0x38]
push 0x4a5956
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.00403080
mov ebp, dword [esp + 0x3c]
push ebp
lea eax, [esp + 0x14]
push str.SOFTWAREESTSOFTALUpdate_s
push eax
mov dword [esp + 0x20], esi
call fcn.00402320
add esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DownVersion
mov byte [esp + 0x3c], 3
call fcn.00403080
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
mov byte [esp + 0x40], 4
call fcn.004017c0
add esp, 4
add eax, 0x10
lea ecx, [esp + 0x24]
push reloc.WSOCK32.dll_accept
mov dword [esi], eax
push ecx
mov byte [esp + 0x44], 2
call fcn.00430400
add esp, 0x14
push eax
mov ecx, edi
mov byte [esp + 0x34], 5
call fcn.00402260
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ded5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42defa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42df1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x42fcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x1c]
jne 0x42fd54
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42fd49
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fd70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fd8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x42fda0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
push edi
mov edi, dword [esp + 0x18]
je 0x42fe9a
push 0x4a5956
push edi
call fcn.00481621
add esp, 8
test eax, eax
je 0x42fe9a
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42fe00
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42feaa
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
push ebx
mov ebx, dword [esp + 0x20]
cmp dword [ebx - 0xc], ebp
push eax
push esi
push 1
push 0
jne 0x42fe20
mov ecx, dword [esp + 0x28]
push 0
push ecx
jmp 0x42fe26
mov edx, dword [esp + 0x28]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42fe33
lea ebp, [eax + 1]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x42fe77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42feb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fed6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x42ff00
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
test esi, esi
push edi
mov edi, dword [esp + 0x18]
je 0x42fff7
push 0x4a5956
push edi
call fcn.00481621
add esp, 8
test eax, eax
je 0x42fff7
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42ff60
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x430007
cmp dword [esp + 0x24], ebx
mov esi, dword [esp + 0x1c]
je 0x42ff78
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x42ffad
cmp dword [esi - 0xc], ebx
push 4
jne 0x42ff91
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push 4
push 0
push 0
push eax
jmp 0x42ffa0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42ffad
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fff0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x430040
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
je 0x430118
push 0x4a5956
push esi
call fcn.00481621
add esp, 8
test eax, eax
je 0x430118
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4300a0
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x430128
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp dword [edi - 0xc], ebx
mov eax, dword [esp + 0x14]
push ecx
push edx
push 3
push 0
jne 0x4300bf
push 0
jmp 0x4300c0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4300ce
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4300f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430111
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x430160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
push ebx
push esi
mov esi, dword [esp + 0x124]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
xor edi, edi
push edi
push esi
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x12c]
jne 0x4301db
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4301d0
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430213
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x11c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004820a1
add esp, 0x114
ret

Function at 0x430230
Capabilities:
Delete registry key

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x14]
push eax
push 0x2001f
xor edi, edi
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x18]
jne 0x430276
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test eax, eax
jne 0x43026b
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4302ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x430400
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a1951
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x40], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [esp + 0x44]
add ebp, 0xfffffff0
push ebp
mov esi, eax
call fcn.004017c0
mov edi, dword [esp + 0x38]
add eax, 0x10
add esp, 4
mov dword [edi], eax
test esi, esi
mov ecx, 1
mov dword [esp + 0x18], ecx
jne 0x430510
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x43049a
push 0x104
mov ecx, edi
call fcn.00401770
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [edi]
test edx, edx
mov esi, eax
jne 0x4304cd
xor ecx, ecx
jmp 0x4304e3
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x4304d2
sub ecx, ebx
js 0x43058f
cmp ecx, dword [edx - 8]
jg 0x43058f
test esi, esi
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
je 0x430505
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00402260
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43055a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430579
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x80070057
call fcn.004010e0
int3
Function at 0x4305a0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a1978
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push esi
push eax
mov dword [esp + 0x130], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43063f
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430638
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4306c8
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0xc]
push 0xff
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x43067d
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43062c
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x430684
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00401dd0
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4306c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004820a1
add esp, 0x114
ret

Function at 0x430710
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 8], 0x6a09e667
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0x3c6ef372
mov dword [ecx + 0x14], 0xa54ff53a
mov dword [ecx + 0x18], 0x510e527f
mov dword [ecx + 0x1c], 0x9b05688c
mov dword [ecx + 0x20], 0x1f83d9ab
mov dword [ecx + 0x24], 0x5be0cd19
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
ret
Function at 0x431050
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
mov esi, dword [esp + 0xa4]
test esi, esi
push edi
je 0x431085
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x431085
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp eax, esi
je 0x431186
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x1c]
cmp eax, 2
jne 0x4310dd
cmp dword [esp + 0x10], 4
ja 0x4310f4
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004820a1
add esp, 0x9c
ret
cmp eax, 1
jne 0x4310b8
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x4310f4
jne 0x4310b8
cmp dword [esp + 0x14], 0
jbe 0x4310b8
push ebx
push ebp
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call ebx
push 0
push esi
mov edi, eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push edi
push ebx
call ebp
test eax, eax
je 0x431143
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp eax, esi
sete cl
mov eax, ecx
test eax, eax
jne 0x431184
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x2000
call edi
push 2
push 0
push 0
push 0x2001
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push 0x2001
call edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
xor ecx, esp
call fcn.004820a1
add esp, 0x9c
ret