joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010be
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x4130b0
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
test ebp, ebp
push edi
je 0x41315a
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x41315a
add esi, 2
push esi
call fcn.00529cd7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41315a
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebp
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, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 6
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ebx
mov word [esp + 0x24], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebx
call fcn.00529d00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x4010ff
Capabilities:
Get common file path

Disassembly:
jmp 0x40bd50
push 0xffffffffffffffff
push 0x554c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x599508]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0052ae12
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40bde6
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0052a9e2
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0052a9e2
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0052ae61
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.0052a757
push 0x58c914
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.0051efd1
push 0x58c914
lea ecx, [esp + 8]
call fcn.0052adbe
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0052a757
push 0x33
push 0x592a50
mov ecx, esi
call fcn.004011cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.0052a9e2
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0052a9e2
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4011cc
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x40c2c0
push 0xffffffffffffffff
push 0x554d4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [0x599508]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x24], 3
call fcn.0052a757
push 0x58c914
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 4
call fcn.0051efd1
push 0x58c914
lea ecx, [esp + 0x34]
call fcn.0052adbe
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x40c4a9
mov ecx, dword [esp + 0x28]
push ebp
push edi
mov dword [esp + 0x34], eax
lea edi, [ecx + 4]
mov edx, dword [edi - 4]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0052ac77
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.0052ab1b
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.0052a9e2
mov edx, dword [esp + 0x14]
push edx
call fcn.004015ff
add esp, 4
test eax, eax
jne 0x40c422
mov ebp, dword [edi + 4]
mov ecx, 0x5af6b8
call fcn.004012d5
test ebp, eax
je 0x40c422
test ebp, 0x1000000
je 0x40c3e2
call fcn.0040101e
test eax, eax
jne 0x40c422
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
inc edx
mov dword [esi + 4], edx
mov eax, dword [edi]
push eax
push 0x8d
push ecx
call fcn.0051eeb9
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x80
call fcn.0052ecfd
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
jmp 0x40c416
mov ecx, dword [esi + 4]
push 0x80
inc ecx
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
call fcn.0052ecfd
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push ecx
push 0x8d
push edx
call fcn.0051eeb9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
push 0
mov ecx, 0x5af7a8
call fcn.004012ee
mov edx, dword [esi + 8]
push 0x79
inc edx
mov eax, edx
mov dword [esi + 8], edx
push eax
lea edx, [esp + 0x20]
push 0x8e
push edx
call fcn.0051eeb9
push 4
call fcn.00529cd7
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 6
je 0x40c464
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0052a757
mov ebp, eax
jmp 0x40c466
xor ebp, ebp
mov byte [esp + 0x28], 4
call fcn.00528ee8
test eax, eax
je 0x40c47f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x40c483
xor eax, eax
jmp 0x40c486
mov eax, dword [eax + 0x1c]
push ebp
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x34]
add edi, 0xc
dec eax
mov dword [esp + 0x34], eax
jne 0x40c341
pop edi
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.0052a9e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.0052a9e2
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0052a9e2
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0052a9e2
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x18]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4012b2
Capabilities:
Copy file

Disassembly:
jmp 0x413450
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
test edi, edi
jne 0x413491
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x413491
push esi
call fcn.004010af
add esp, 4
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401451
Capabilities:
Set registry value

Disassembly:
jmp 0x40fbd0
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push esi
push 3
push 0
push str.Policy
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 1]
push 1
push ecx
push 3
push 0
push str.Policy
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 2]
push 1
push edx
push 3
push 0
push str.Policy
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x10]
add esi, 3
push 0x10
push esi
push 3
push 0
push str.PrivateHash
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4014c4
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x40fa50
sub esp, 0xc
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 3
mov dword [esp + 0x28], 1
call edi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
push 0
push str.Policy
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 1]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.Policy
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 2]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.Policy
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [esp + 0x14], 0x10
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x10]
add esi, 3
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0
push str.PrivateHash
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4014e2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x40d620
push 0xffffffffffffffff
push 0x554fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x599508]
push esi
push edi
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
push 0x92
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0052ecfd
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x2c]
push eax
push str._s_r_n
push esi
call fcn.0051eea6
mov eax, dword [0x599508]
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
push esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0052ab1b
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push 0x3f9
mov ecx, edi
call fcn.0052c027
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x3ef
call fcn.0052c027
push 0x93
lea ecx, [esp + 0xc]
call fcn.0052ecfd
push 0x94
lea ecx, [esp + 0x1c]
call fcn.0052ecfd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push str._s_r_n_s_s_t_t_s_s
push esi
call fcn.0051eea6
add esp, 0x1c
lea ecx, [esp + 0xc]
push esi
call fcn.0052ab1b
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x3f1
call fcn.0052c027
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 0x3f0
call fcn.0052c027
push 0x95
lea ecx, [esp + 0xc]
call fcn.0052ecfd
push 0x96
lea ecx, [esp + 0x1c]
call fcn.0052ecfd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push str._s_r_n_s_s_t_t_s_s
push esi
call fcn.0051eea6
add esp, 0x1c
lea ecx, [esp + 8]
push 0x97
call fcn.0052ecfd
push esi
lea ecx, [esp + 0x10]
call fcn.0052ab1b
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x3f2
call fcn.0052c027
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
push str._s_r_n_s_s
push esi
call fcn.0051eea6
add esp, 0x14
lea ecx, [esp + 8]
push 0x98
call fcn.0052ecfd
push esi
lea ecx, [esp + 0x10]
call fcn.0052ab1b
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x5af6b8
call fcn.0040119f
mov edx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
push str._s_r_n_s_s_r_n_r_n
push esi
mov byte [esp + 0x38], 5
call fcn.0051eea6
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.0052a9e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0052a9e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.0052a9e2
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0052a9e2
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x40150f
Capabilities:
Get common file path

Disassembly:
jmp 0x404dc0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x554030
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call fcn.00468640
test eax, eax
je 0x404deb
mov dword [esi + 8], 0x400
call fcn.00468570
test eax, eax
je 0x404e00
mov dword [esi + 8], 0x200
jmp 0x404ea3
call fcn.004684f0
test eax, eax
je 0x404e15
mov dword [esi + 8], 0x100
jmp 0x404ea3
call fcn.004684b0
test eax, eax
je 0x404e27
mov dword [esi + 8], 0x80
jmp 0x404ea3
call fcn.00468450
test eax, eax
je 0x404e39
mov dword [esi + 8], 0x40
jmp 0x404ea3
call fcn.00468400
test eax, eax
je 0x404e4b
mov dword [esi + 8], 0x20
jmp 0x404ea3
call fcn.004683c0
test eax, eax
je 0x404e5d
mov dword [esi + 8], 0x10
jmp 0x404ea3
call fcn.004683a0
test eax, eax
je 0x404e6f
mov dword [esi + 8], 8
jmp 0x404ea3
call fcn.00468370
test eax, eax
je 0x404e81
mov dword [esi + 8], 4
jmp 0x404ea3
call fcn.00468350
test eax, eax
je 0x404e93
mov dword [esi + 8], 2
jmp 0x404ea3
call fcn.00468330
test eax, eax
je 0x404ea3
mov dword [esi + 8], 1
mov eax, dword [0x599508]
mov dword [esp + 4], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0052ae12
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0052ae61
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x404f00
push 0x58c914
lea ecx, [esp + 8]
call fcn.0051efd1
push str.ocularoagent.ini
lea ecx, [esp + 8]
call fcn.0052adbe
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push edx
call fcn.0043a5d0
lea eax, [esp + 8]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x18], 1
call fcn.0043b100
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0043af50
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40152d
Capabilities:
Get common file path

Disassembly:
jmp 0x40b9f0
push 0xffffffffffffffff
push 0x554c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x599508]
push ebx
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.0052ae12
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40ba5f
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0052a9e2
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0052ae61
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.0052a757
mov ebx, 1
push 0x58c914
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.0051efd1
push 0x58c914
lea ecx, [esp + 0xc]
call fcn.0052adbe
mov esi, dword [esp + 0x24]
push 0x5c
mov ecx, esi
call fcn.0051eafe
cmp eax, 0xffffffff
jne 0x40bad9
lea edx, [esp + 8]
push esi
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0052ac11
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.0052ab1b
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
jmp 0x40bb9b
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0051ea30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0052ab1b
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.0052a9e2
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0051eafe
cmp eax, 0xffffffff
jne 0x40bb42
push 0x5c
mov ecx, esi
call fcn.0051f11a
lea edx, [esp + 8]
push esi
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0052ac11
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.0052ab1b
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
jmp 0x40bb9b
mov ecx, dword [esi]
lea edx, [esp + 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
mov ecx, esi
call fcn.0051e9b4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 5
call fcn.0052ab1b
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.0052a9e2
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0052ac11
push eax
mov ecx, esi
mov byte [esp + 0x20], 6
call fcn.0052ab1b
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x10]
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.0052a9e2
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x14]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4015a5
Capabilities:
Get common file path

Disassembly:
jmp 0x40bee0
push 0xffffffffffffffff
push 0x554cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x599508]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0052ae12
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x40bf76
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0052a9e2
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0052a9e2
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0052ae61
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.0052a757
push 0x58c914
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.0051efd1
push 0x58c914
lea ecx, [esp + 8]
call fcn.0052adbe
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0052a757
push 0x41
push 0x592cb8
mov ecx, esi
call fcn.004011cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.0052a9e2
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0052a9e2
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x4015aa
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x40f790
push 0xffffffffffffffff
push 0x555308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
lea ecx, [esp]
mov dword [esp + 0x15], eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov word [esp + 0x1d], ax
push ecx
push 0x20019
push eax
push str.SYSTEMWPAPnP
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x2c], 0
mov byte [esp + 0x33], al
call edi
test eax, eax
jne 0x40f98b
mov ecx, dword [esp + 4]
push ebp
lea edx, [esp + 0x14]
push esi
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.seed
push ecx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x4c]
and eax, 0xff
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.00489630
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00488c10
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.00489d90
push 0
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 2
call fcn.00489df0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push 8
push edx
lea ecx, [esp + 0x34]
call fcn.00489fe0
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
push 1
push ecx
push 3
push 0
push str.Policy
push edx
call ebp
mov eax, dword [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 1
push edx
push 3
push 0
push str.Policy
push eax
call ebp
mov ecx, dword [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 1
push eax
push 3
push 0
push str.Policy
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x10
lea ecx, [esp + 0x18]
call fcn.00489510
mov ecx, dword [esp + 0x10]
push eax
push 3
push 0
push str.PrivateHash
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.00489dd0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.00488d70
mov dword [esp + 0x44], 0xffffffff
call fcn.004896a0
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4

Function at 0x4015ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x40af40
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40af5b
cmp eax, 0x10
je 0x40af5b
mov eax, 1
ret
xor eax, eax
ret
Function at 0x401618
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
jmp 0x40c5f0
push 0xffffffffffffffff
push 0x554da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x599508]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00449ac0
push 0xf003f
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.00449be0
test eax, eax
jne 0x40c757
push 0x104
push 0x104
lea ecx, [esp + 0xc]
call fcn.0052ae12
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40c70a
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0052ae61
lea eax, [esp + 0x10]
push 3
push eax
lea ecx, [esp + 0xc]
call fcn.0051ea30
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 4
call fcn.0052ab1b
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0052a9e2
push str.Program_FilesCommon_Files
lea ecx, [esp + 8]
call fcn.0052adbe
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c6d8
cmp eax, 0x10
je 0x40c787
push 0x8f
lea ecx, [esp + 0x10]
call fcn.0052ecfd
push 0x80
lea ecx, [esp + 0xc]
call fcn.0052ecfd
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edx
push eax
push 0
mov ecx, 0x5af7a8
call fcn.004012ee
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00449b60
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.0052a9e2
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0052a9e2
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
lea ecx, [esp + 0x10]
push 0x593574
push ecx
lea ecx, [esp + 0x20]
call fcn.0044a210
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 5
call fcn.0052ab1b
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0052a9e2
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0052a757
push 5
push 0x592fc8
mov ecx, esi
call fcn.004011cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00449b60
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.0052a9e2
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0052a9e2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0052a9e2
mov ecx, dword [esp + 0x20]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret