joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7dc0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5fb097
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.IMdbScanner.0
mov dword [esp + 0x14], 0x20
lea eax, [esi + 0xc4]
push eax
call fcn.00424990
mov byte [esp + 0x14], 0x1f
lea ecx, [esi + 0xac]
push ecx
call fcn.00424990
mov byte [esp + 0x14], 0x1e
lea ecx, [esi + 0xa8]
call fcn.0040ba40
mov byte [esp + 0x14], 0x1d
lea edx, [esi + 0x90]
push edx
call fcn.00424990
mov byte [esp + 0x14], 0x1c
lea eax, [esi + 0x78]
push eax
call fcn.00424990
mov byte [esp + 0x14], 0x1b
lea ecx, [esi + 0x74]
call fcn.0040ba40
mov byte [esp + 0x14], 0x1a
lea ecx, [esi + 0x70]
call fcn.0040ba40
mov byte [esp + 0x14], 0x19
lea ecx, [esi + 0x6c]
call fcn.0040ba40
mov byte [esp + 0x14], 0x18
lea ecx, [esi + 0x68]
call fcn.0040ba40
mov byte [esp + 0x14], 0x17
lea ecx, [esi + 0x64]
call fcn.0040ba40
mov byte [esp + 0x14], 0x16
lea ecx, [esi + 0x60]
call fcn.0040ba40
mov byte [esp + 0x14], 0x15
lea ecx, [esi + 0x5c]
call fcn.0040ba40
mov byte [esp + 0x14], 0x14
lea ecx, [esi + 0x58]
call fcn.0040ba40
mov byte [esp + 0x14], 0x13
lea ecx, [esi + 0x54]
call fcn.0040ba40
mov byte [esp + 0x14], 0x12
lea ecx, [esi + 0x50]
call fcn.0040ba40
mov byte [esp + 0x14], 0x11
lea ecx, [esi + 0x4c]
call fcn.0040ba40
mov byte [esp + 0x14], 0x10
lea ecx, [esi + 0x48]
call fcn.0040ba40
mov byte [esp + 0x14], 0xf
lea ecx, [esi + 0x44]
call fcn.0040ba40
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0x40]
call fcn.0040ba40
mov byte [esp + 0x14], 0xd
lea ecx, [esi + 0x3c]
call fcn.0040ba40
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0x38]
call fcn.0040ba40
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0x34]
call fcn.0040ba40
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x30]
call fcn.0040ba40
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x2c]
call fcn.0040ba40
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x28]
call fcn.0040ba40
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x24]
call fcn.0040ba40
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x20]
call fcn.0040ba40
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x1c]
call fcn.0040ba40
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x18]
call fcn.0040ba40
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x14]
call fcn.0040ba40
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x10]
call fcn.0040ba40
mov byte [esp + 0x14], 1
lea ecx, [esi + 0xc]
call fcn.0040ba40
mov byte [esp + 0x14], 0
lea ecx, [esi + 8]
call fcn.0040ba40
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 4]
call fcn.0040ba40
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4c7fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5feacd
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x82c], ebx
mov edi, ecx
push edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
call fcn.0040b8d0
mov dword [esp + 0x82c], ebx
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x82c], eax
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x4c8053
push eax
call esi
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c80b4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push str.ProgramFilesDir
push eax
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c80b4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4c80b4
shr eax, 1
xor ecx, ecx
lea edx, [esp + 0x20]
mov word [esp + eax*2 + 0x20], cx
call fcn.0040bab0
mov byte [esp + 0x82c], bl
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4c80c6
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.005c397a
add esp, 0x820
ret
Function at 0x4c9610
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fea71
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov edi, ecx
xor ecx, ecx
push eax
lea ebx, [eax + 3]
lea esi, [esp + 0x2c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], 2
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], cx
call fcn.00430320
mov esi, 1
mov dword [esp + 0x50], esi
xor ebx, ebx
push ebp
mov dword [esp + 0x20], ebx
call fcn.0040b8d0
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
cmp byte [0x72a7bc], bl
je 0x4c96ae
mov eax, 0x101
cmp byte [esp + 0x5c], bl
jne 0x4c96b0
mov eax, esi
lea edx, [esp + 0x18]
push edx
push eax
push ebx
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4c97b7
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4c96da
lea eax, [esp + 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push eax
call edi
cmp eax, 0xea
jne 0x4c974d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
ja 0x4c9718
or eax, 0xffffffff
mov ebx, ecx
lea esi, [esp + 0x28]
call fcn.0040b490
jmp 0x4c9726
mov eax, ecx
push ebx
sub eax, edx
lea ebx, [esp + 0x2c]
call fcn.004455d0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4c9735
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push 0
push 0
push eax
call edi
xor ebx, ebx
cmp eax, ebx
jne 0x4c97ac
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x4c9764
cmp eax, 2
je 0x4c9764
cmp eax, 7
jne 0x4c97ac
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jbe 0x4c97ac
mov edx, dword [esp + 0x3c]
shr ecx, 1
cmp ecx, edx
ja 0x4c9786
or eax, 0xffffffff
mov ebx, ecx
lea esi, [esp + 0x28]
call fcn.0040b490
jmp 0x4c9794
mov eax, ecx
push ebx
sub eax, edx
lea ebx, [esp + 0x2c]
call fcn.004455d0
cmp dword [esp + 0x40], 8
mov edx, dword [esp + 0x2c]
jae 0x4c97a3
lea edx, [esp + 0x2c]
mov edi, ebp
call fcn.0040bab0
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x50], bl
cmp dword [esp + 0x40], 8
jb 0x4c97cf
mov edx, dword [esp + 0x2c]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov eax, ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005c397a
add esp, 0x40
ret
Function at 0x4cf140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x606394
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [ebp], esi
jne 0x4cf17f
call fcn.004ce980
mov eax, dword [ebp + 4]
cmp eax, esi
jne 0x4cf18b
call fcn.004ce980
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], esi
call fcn.005aae00
add esp, 4
cmp eax, 6
jne 0x4cf278
jmp 0x4cf1b0
cmp dword [esp + 0x14], 0x3e8
jg 0x4cf278
cmp dword [esp + 0x30], 3
jg 0x4cf278
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov edi, eax
call fcn.005c39f5
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 1
test esi, esi
je 0x4cf206
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x4cf208
xor esi, esi
mov byte [esp + 0x28], 0
mov eax, dword [ebp]
push esi
push 0x4ce7c0
push eax
call fcn.00594c16
add esp, 0xc
nop
push 1
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xc0
je 0x4cf220
test eax, eax
je 0x4cf23d
inc dword [esp + 0x30]
mov ecx, dword [ebp]
push 0
push 0
push ecx
call fcn.00594c16
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 4]
inc dword [esp + 0x14]
push edx
call fcn.005a4752
mov eax, dword [ebp + 4]
push eax
call fcn.005aae00
add esp, 8
xor esi, esi
cmp eax, 6
je 0x4cf1b0
cmp eax, 0x65
jne 0x4cf2c0
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov byte [ebx + 8], 1
call fcn.0057f0b2
add esp, 4
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 1
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
cmp eax, 0x64
mov eax, dword [ebp + 4]
push eax
jne 0x4cf2e6
mov edx, dword [ebp]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov byte [ebx + 8], 0
call fcn.0057f0b2
add esp, 4
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
jmp 0x4cf29c
call fcn.005a4752
mov ecx, dword [ebp]
push ecx
mov esi, eax
call fcn.0058d3b7
add esp, 8
push 0x6e4274
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], esi
call fcn.005c8d4a
int3
Function at 0x4cf6d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x606394
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebp], eax
jne 0x4cf70b
call fcn.004ce980
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push eax
mov ebx, ebp
call fcn.004cfa30
mov ebx, eax
push ebx
call fcn.005aae00
add esp, 4
cmp eax, 6
jne 0x4cf806
cmp dword [esp + 0x14], 0x3e8
jg 0x4cf806
cmp dword [esp + 0x30], 3
jg 0x4cf806
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov edi, eax
call fcn.005c39f5
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 1
test esi, esi
je 0x4cf78c
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x4cf78e
xor esi, esi
mov byte [esp + 0x28], 0
mov ecx, dword [ebp]
push esi
push 0x4ce7c0
push ecx
call fcn.00594c16
add esp, 0xc
push 1
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xc0
je 0x4cf7a5
test eax, eax
je 0x4cf7c2
inc dword [esp + 0x30]
mov edx, dword [ebp]
push 0
push 0
push edx
call fcn.00594c16
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x14]
push ebx
call fcn.005a46fb
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
mov ebx, ebp
call fcn.004cfa30
mov ebx, eax
push ebx
call fcn.005aae00
add esp, 4
cmp eax, 6
je 0x4cf733
push ebx
cmp eax, 0x65
jne 0x4cf853
mov ecx, dword [ebp]
mov esi, dword [esp + 0x38]
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
call fcn.0057f0b2
add esp, 4
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
cmp eax, 0x64
jne 0x4cf889
mov edx, dword [ebp]
mov esi, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
call fcn.0057f0b2
mov dword [esi + 0xc], eax
mov eax, 1
add esp, 4
mov byte [esi + 0x10], al
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
jmp 0x4cf83b
call fcn.005a46fb
mov esi, eax
mov eax, dword [ebp]
push eax
call fcn.0058d3b7
add esp, 8
push 0x6e4274
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], esi
call fcn.005c8d4a
int3
Function at 0x4d0520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x31], 0
lea eax, [esi + 0x24]
mov dword [ebp - 0x48], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004d0c80
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4d0591
cmp ecx, eax
je 0x4d0596
call fcn.005c475a
cmp dword [ebp - 0x38], ebx
jne 0x4d0693
lea eax, [ebp + 8]
push eax
push edi
lea ebx, [ebp - 0x20]
call fcn.004d0b80
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040b700
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
push str.CREATE_TABLE_scanned__x_file_id_INTEGER__file_time_INTEGER__detection_name_TEXT__
lea edi, [ebp - 0x38]
call fcn.0042a2b0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [esi]
call fcn.004cf530
mov dword [ebp - 4], 1
jmp 0x4d0620
mov edx, dword [ebp + 8]
push edx
push str.CREATE_INDEX_fileIndex_ON_scanned__x_file_id__file_time__
lea edi, [ebp - 0x38]
call fcn.0042a2b0
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [esi]
call fcn.004cf530
mov dword [ebp - 4], 1
jmp 0x4d0687
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040b810
mov byte [ebp - 4], 8
lea edx, [ebp - 0x38]
push edx
call fcn.0040b700
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
push eax
push str.SELECT_detection_name_FROM_scanned__x_WHERE_file_id____AND_file_time____
lea edi, [ebp - 0x38]
call fcn.0042a2b0
add esp, 8
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [esi]
call fcn.004cf4b0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
lea eax, [ebp - 0x44]
call fcn.004cf3d0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 2
lea eax, [ebp - 0x44]
call fcn.004cf3d0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004cf140
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x20], 0
jne 0x4d071e
xor esi, esi
lea edi, [ebp - 0x28]
call fcn.004ceca0
mov edx, eax
mov ebx, dword [ebp - 0x4c]
call fcn.0040b870
mov byte [ebp - 0x31], 1
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x28]
call fcn.004cebd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.004cef10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0040b810
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4d26e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61390a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
mov ecx, dword [esp + 0x34]
push eax
push esi
call fcn.004d2760
add esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4daa70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6060b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.004daaf0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x4dd890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fe7e2
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x810], eax
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x828], esi
mov edi, ecx
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
call fcn.0040b8d0
mov dword [esp + 0x828], esi
lea eax, [esp + 0xc]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4dd961
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.ProgramFilesDir
push eax
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4dd956
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4dd956
shr eax, 1
xor ecx, ecx
lea edx, [esp + 0x1c]
mov word [esp + eax*2 + 0x1c], cx
call fcn.0040bab0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.005c397a
add esp, 0x820
ret
Function at 0x4dd990
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x605fe4
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
push esi
mov dword [esp + 0x18], esi
call fcn.00443eb0
mov dword [esp + 0x22c], 0
lea eax, [esp + 0xc]
push 0x2a
push eax
call fcn.004c26c0
add esp, 8
mov byte [esp + 0x22c], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4dda39
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov ebx, 0x6da848
call fcn.0041e2b0
add esp, 8
mov byte [esp + 0x22c], 2
mov ebx, eax
mov edi, esi
call fcn.00424a30
mov byte [esp + 0x22c], 1
lea ecx, [esp + 0x10]
call fcn.0040ba40
lea ecx, [esp + 0x10]
call fcn.004dd890
mov byte [esp + 0x22c], 3
lea edi, [esp + 0xc]
call fcn.0040ddb0
mov byte [esp + 0x22c], 1
lea ecx, [esp + 0x10]
call fcn.0040ba40
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
je 0x4ddaa5
mov edx, edi
push edx
lea eax, [esp + 0x14]
push eax
mov ebx, 0x6da848
call fcn.0041e2b0
add esp, 8
mov byte [esp + 0x22c], 4
mov ebx, eax
mov edi, esi
call fcn.00424a30
mov byte [esp + 0x22c], 1
lea ecx, [esp + 0x10]
call fcn.0040ba40
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.005c8fb0
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ddad6
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
lea eax, [esp + 0x10]
call fcn.0040fac0
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], 0
je 0x4ddb38
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, str.InfusedApps
call fcn.0041e2b0
add esp, 8
mov byte [esp + 0x22c], 5
mov ebx, eax
mov edi, esi
call fcn.00424a30
mov byte [esp + 0x22c], 1
lea ecx, [esp + 0x10]
call fcn.0040ba40
mov byte [esp + 0x22c], 0
lea ecx, [esp + 0xc]
call fcn.0040ba40
mov dword [esp + 0x22c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.005c397a
add esp, 0x224
ret
Function at 0x4de8a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x600ddc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.00443eb0
xor edi, edi
mov dword [esp + 0x1c], edi
lea eax, [esi + 0x18]
push eax
call fcn.00443eb0
mov byte [esp + 0x1c], 1
lea eax, [esi + 0x50]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esp + 0xc], eax
mov dword [eax], 0xffffffff
mov byte [esp + 0x1c], 2
mov dword [eax + 4], edi
mov byte [esp + 0x1c], 3
add eax, 8
mov dword [esp + 0x10], eax
mov dword [eax], edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4