joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa610
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x94
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
push 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
call fcn.00621270
mov ecx, dword [str.S_1_16_8192]
mov eax, dword [0x689744]
mov edx, dword [0x689740]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x689748]
mov dword [esp + 0x8c], eax
mov eax, dword [0x689750]
add esp, 0xc
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [0x68974c]
mov dword [esp + 0x8c], eax
xor eax, eax
push ecx
push 0x8b
xor ebp, ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x4aa79c
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 1
push 2
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, edi
je 0x4aa79c
push str.Advapi32.dll
call fcn.00447cb0
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x4aa79c
push str.ConvertStringSidToSidW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4aa79c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
push edx
call eax
mov esi, eax
cmp esi, edi
je 0x4aa79c
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, dword [esp + 0x10]
add eax, 8
push eax
lea eax, [esp + 0x20]
push eax
push 0x19
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x4aa79c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x4aa7ad
push eax
call ebx
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4aa7b8
push eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4aa7ce
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4aa7d9
push eax
call ebx
cmp ebp, edi
je 0x4aa7e4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xa0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00620b8d
add esp, 0x94
ret
Function at 0x4ab2f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x64fe00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp dword [0x75dbac], 0
je 0x4ab43b
cmp dword [0x75e5b8], 0
jne 0x4ab34f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [0x75e5ac], 0
jne 0x4ab36c
call fcn.004aa550
mov dword [0x75e4a4], eax
mov dword [0x75e5ac], 1
cmp dword [0x75e4a4], 0
je 0x4ab398
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov esi, dword [esp + 0x2c]
push esi
call fcn.004aaf10
mov edi, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x4ab3f8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4ab3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4ab3f8
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esp + 0x30], 0
jne 0x4ab41c
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 0
push esi
push edi
call fcn.004aaa10
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
test ebp, ebp
jne 0x4ab50d
cmp dword [0x752d28], eax
jne 0x4ab50d
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00402a60
mov dword [esp + 0x2c], ebp
push ebp
lea edx, [esp + 0x20]
push esi
push edx
call fcn.00402a60
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x2c]
push 0x3f
push eax
call fcn.00622170
add esp, 0x20
test eax, eax
jne 0x4ab4ee
mov ecx, dword [esp + 0x10]
push 0x3f
push ecx
call fcn.00622170
add esp, 8
test eax, eax
jne 0x4ab4ee
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.00402560
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.00402560
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x4ab530
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x64fe30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
cmp dword [0x75dbac], 0
je 0x4ab667
cmp dword [0x75e5b8], 0
jne 0x4ab596
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [0x75e5ac], 0
jne 0x4ab5b3
call fcn.004aa550
mov dword [0x75e4a4], eax
mov dword [0x75e5ac], 1
cmp dword [0x75e4a4], 0
jne 0x4ab56d
mov esi, dword [esp + 0x30]
push esi
call fcn.004aaf10
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4ab623
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4ab60a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4ab623
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esp + 0x38], 0
jne 0x4ab648
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push edi
push esi
push ebx
call fcn.004aab40
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, eax
test ebp, ebp
jne 0x4ab740
cmp dword [0x752d28], eax
jne 0x4ab740
push eax
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00402a60
mov dword [esp + 0x30], ebp
push ebp
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.00402a60
mov byte [esp + 0x3c], 1
mov edx, dword [esp + 0x30]
push 0x3f
push edx
call fcn.00622170
add esp, 0x20
test eax, eax
jne 0x4ab721
mov eax, dword [esp + 0x14]
push 0x3f
push eax
call fcn.00622170
add esp, 8
test eax, eax
jne 0x4ab721
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x14]
call fcn.00402560
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402560
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x14]
call fcn.00402560
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402560
mov eax, ebp
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 0x4ab760
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x646198
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [0x75dbac], 0
je 0x4ab890
cmp dword [0x75e5b8], 0
jne 0x4ab7b6
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [0x75e5ac], 0
jne 0x4ab7d3
call fcn.004aa550
mov dword [0x75e4a4], eax
mov dword [0x75e5ac], 1
cmp dword [0x75e4a4], 0
je 0x4ab7f9
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov esi, dword [esp + 0x20]
push esi
call fcn.004aaf10
add esp, 4
test eax, eax
jne 0x4ab852
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4ab83b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4ab852
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [esp + 0x24], 0
jne 0x4ab875
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push esi
call fcn.004aac70
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x4ab8ea
cmp dword [0x752d28], eax
jne 0x4ab8ea
push eax
lea edx, [esp + 0x10]
push edi
push edx
call fcn.00402a60
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
push 0x3f
push eax
call fcn.00622170
add esp, 0x14
test eax, eax
jne 0x4ab8d9
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4ab900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x646198
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [0x75dbac], 0
je 0x4aba5d
cmp dword [0x75e5b8], 0
jne 0x4ab960
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [0x75e5ac], 0
jne 0x4ab97d
call fcn.004aa550
mov dword [0x75e4a4], eax
mov dword [0x75e5ac], 1
cmp dword [0x75e4a4], 0
je 0x4ab98d
mov edx, dword [esp + 0x20]
push edx
jmp 0x4ab93e
mov esi, dword [esp + 0x20]
push esi
call fcn.004aaf10
add esp, 4
test eax, eax
jne 0x4ab9e7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4ab9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4aba1f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [0x75e5bc]
test eax, eax
jne 0x4ab9f5
mov eax, 0x75e5c0
push eax
push esi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x4ab9d0
mov eax, dword [0x75e5c8]
test eax, eax
jne 0x4aba11
mov eax, 0x75e5cc
push eax
push esi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x4ab9d0
cmp dword [esp + 0x24], 0
jne 0x4aba42
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push esi
call fcn.004aad50
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x4abac7
cmp dword [0x752d28], edx
jne 0x4abac7
push edx
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00402a60
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x18]
push 0x3f
push ecx
call fcn.00622170
add esp, 0x14
test eax, eax
jne 0x4abab6
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4abae0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x646198
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [0x75dbac], 0
je 0x4abc15
cmp dword [0x75e5b8], 0
jne 0x4abb38
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [0x75e5ac], 0
jne 0x4abb55
call fcn.004aa550
mov dword [0x75e4a4], eax
mov dword [0x75e5ac], 1
cmp dword [0x75e4a4], 0
je 0x4abb7d
mov ecx, dword [esp + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov esi, dword [esp + 0x20]
push esi
call fcn.004aaf10
add esp, 4
test eax, eax
jne 0x4abbd7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4abbc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4abbd7
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [esp + 0x24], 0
jne 0x4abbfa
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push esi
call fcn.004aae30
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov edi, dword [esp + 0x20]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x4abc72
cmp dword [0x752d28], eax
jne 0x4abc72
push eax
lea edx, [esp + 0x10]
push edi
push edx
call fcn.00402a60
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
push 0x3f
push eax
call fcn.00622170
add esp, 0x14
test eax, eax
jne 0x4abc61
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4aca40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659938
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004024f0
mov dword [esp + 0x18], 0
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x74]
call fcn.005fae1b
push 0x67997c
push 0x679010
lea ecx, [esp + 0x10]
call fcn.00402c00
push 0x67997c
push 0x678ff0
lea ecx, [esp + 0x10]
call fcn.00402c00
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esi + 0xc8]
call fcn.004acb10
mov eax, dword [0x75dbe4]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.bExPnEd
push eax
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.005f67d9
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402560
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4acb10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ff50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4acb54
push eax
call fcn.005f4e52
add esp, 4
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4acb60
sub eax, edx
inc eax
push eax
call fcn.005f4e47
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x4acc15
mov ecx, esi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4acb82
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4acb91
sub eax, edx
mov ecx, dword [edi + 8]
inc eax
push eax
push esi
push 1
push 0
push ecx
mov eax, dword [0x75dbe4]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4acc0e
lea edx, [ebp + 8]
push edx
call fcn.00624331
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push 0x67997c
mov edx, dword [ebp - 0x14]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ad130
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650008
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.0044ad90
mov ecx, dword [0x75dbe4]
test ecx, ecx
je 0x4ad302
lea esi, [ebx + 8]
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push eax
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4ad2a2
mov eax, dword [ebx + 4]
test eax, eax
je 0x4ad1ab
push eax
call fcn.005f4e52
add esp, 4
mov dword [ebx + 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ad302
inc eax
push eax
call fcn.005f4e47
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x4ad302
mov esi, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push 0
push esi
mov edx, dword [0x75dbe4]
push edx
call edi
test eax, eax
mov eax, dword [ebx + 4]
je 0x4ad203
push eax
call fcn.005f4e52
add esp, 4
mov dword [ebx + 4], 0
jmp 0x4ad302
push 0x679010
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x4ad243
mov eax, dword [ebx + 4]
push 0x678ff0
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x4ad243
mov eax, dword [ebx + 4]
push 0x679430
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x4ad302
mov eax, dword [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov byte [ebp - 4], 1
push 0x67997c
push 0x679010
lea ecx, [ebp - 0x14]
call fcn.00402c00
push 0x67997c
push 0x679430
lea ecx, [ebp - 0x14]
call fcn.00402c00
push 0x67997c
push 0x678ff0
lea ecx, [ebp - 0x14]
call fcn.00402c00
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.004acb10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402560
jmp 0x4ad302
push str.ExceptionServers
push esi
call fcn.004221b0
add esp, 8
test al, al
je 0x4ad302
push 0x84
call fcn.005f4e47
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x4ad302
mov ecx, 0x21
mov esi, str..update.microsoft.com_download.windowsupdate.com_.download.windowsupdate.com_siteseal.thawte.com_ecom.cimetz.com_.voice2page.com
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ad2e0
sub eax, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
inc eax
push eax
push ebx
push 1
push 0
push ecx
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret