joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468d80
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6597f5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x468ddf
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x468ddf
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c], 5
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00437ed0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040ca80
mov byte [ebp - 4], 3
mov eax, dword [0x74b7b0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ca80
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x68]
call fcn.004603d0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [0x74b7ac]
push edx
call fcn.0040ca80
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xc]
call fcn.00437a00
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00460ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041a1b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040cb40
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004603d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 0xc]
call fcn.00437a00
mov ecx, eax
call fcn.00460b90
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.0041a1b0
cmp dword [ebp - 0x30], 0
jl 0x468ee8
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00437ed0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0044ec10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00407400
jmp 0x468f17
mov dword [ebp - 0x38], 4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x58]
call fcn.00437ed0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044ec10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00407400
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0046a070
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040cb40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00407400
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00437760
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46a8d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659db7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0046a700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0046af70
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0xffffffff
je 0x46a9a4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0046ae30
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0046b5d0
mov ecx, eax
call fcn.0046b000
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.0046b380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
push 0x69b8d4
lea ecx, [ebp - 0x10]
call fcn.0046af70
push eax
push SysReAllocStringLen
call fcn.0040e550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004071f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x46f700
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a8e4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 8
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0062db60
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0062db60
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.0062db60
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x46f7ac
mov dword [ebp - 4], 0xffffffff
jmp 0x46f7bc
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476c80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x663194
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041a9d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0041a9d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0041a9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0041a9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x477af0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ba05
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push str.MD::RL
lea ecx, [ebp - 0x38]
call fcn.0043f3a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0x1f4
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
je 0x477ba1
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 4], 0
je 0x477ba1
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x477ba1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004b3d00
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004b5270
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0
je 0x477bef
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x477bde
push 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x48], eax
jmp 0x477be5
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0
je 0x477c1a
push 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 0xb8]
call edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
je 0x477c43
push 1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0xbc]
call eax
mov dword [ebp - 0x4c], eax
jmp 0x477c4a
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043f460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x4787b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65bcff
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004b3c40
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp + 8]
push eax
call fcn.0040c560
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x30]
call edx
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00437760
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47f6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x47f70f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
je 0x47f70d
mov byte [ebp - 1], 1
jmp 0x47f726
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x47f726
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
je 0x47f74c
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 8]
call fcn.0040d440
push 0
mov ecx, dword [ebp - 8]
call fcn.004806e0
mov esp, ebp
pop ebp
ret
Function at 0x49f9d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65f9f0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x49fa25
xor eax, eax
jmp 0x49faff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x49fa43
xor eax, eax
jmp 0x49faff
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
jmp 0x49fa82
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x18]
jae 0x49fae4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00634f83
add esp, 8
test eax, eax
jne 0x49fae2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
jmp 0x49fae4
jmp 0x49fa79
jmp 0x49faec
mov dword [ebp - 4], 0xffffffff
jmp 0x49fafc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49fe60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65fa73
mov eax, dword fs:[0]
push eax
mov eax, 0x6814
call fcn.0062f6d0
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x681c], ecx
mov dword [ebp - 0x6820], 0
lea ecx, [ebp - 0x6818]
call fcn.00407030
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004e4160
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call fcn.00408240
movzx eax, al
test eax, eax
jne 0x49ff2b
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call fcn.0046af70
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x6818]
call fcn.00407590
jmp 0x49fffc
lea eax, [ebp - 0x6814]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x681c]
call fcn.0046af70
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x49ff9e
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.0062db60
add esp, 0xc
lea eax, [ebp - 0x26b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6818]
call fcn.00407590
jmp 0x49fffc
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
call fcn.0046af70
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.006302e7
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x6818]
call fcn.00407590
lea eax, [ebp - 0x6818]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406e10
mov ecx, dword [ebp - 0x6820]
or ecx, 1
mov dword [ebp - 0x6820], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004e4290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6818]
call fcn.004071f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65fbfb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004a0f00
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x4a0cf4
jmp 0x4a0ea1
movzx eax, byte [0x75a318]
test eax, eax
jne 0x4a0d11
mov ecx, dword [ebp - 0x228]
call fcn.004a0f90
mov byte [0x75a318], 1
push 0x100
lea ecx, [ebp - 0x210]
push ecx
call fcn.004a0fc0
add esp, 8
lea ecx, [ebp - 0x240]
call fcn.0041a9a0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s____s_r_n
lea ecx, [ebp - 0x240]
push ecx
call fcn.0041b220
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x75a110
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x4a0e8f
call fcn.00408f00
mov dword [ebp - 0x230], eax
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x240]
call fcn.0041ae70
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4a0dd4
mov dword [ebp - 0x220], 0
jmp 0x4a0e4c
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0062eae8
add esp, 4
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x3fffffff
jle 0x4a0e04
mov dword [ebp - 0x224], 0
jmp 0x4a0e40
mov eax, dword [ebp - 0x218]
shl eax, 1
call fcn.0062f6a0
mov dword [ebp - 0x22c], esp
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x218]
shl edx, 1
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00407a50
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x220], edx
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x240]
call fcn.0041ae90
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0041a9d0
lea esp, [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x4a7d30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660ba7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov byte [ebp - 0x21d], 0
mov ecx, dword [ebp - 0x224]
call fcn.004a8770
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.004a7bf0
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x260]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a7f94
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0x104
mov edx, dword [ebp - 0x22c]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4a7f80
push 0x2c
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x4a7e55
mov ecx, dword [ebp - 0x238]
call fcn.004aa910
mov dword [ebp - 0x23c], eax
jmp 0x4a7e5f
mov dword [ebp - 0x23c], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.004a7c60
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.0041aca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0041a9d0
mov edx, dword [ebp - 0x228]
add edx, 0x1c
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.004a7fe0
mov ecx, dword [ebp - 0x228]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.004a8280
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.0041aa50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004aab70
mov edx, dword [ebp - 0x228]
mov dword [eax], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0041a9d0
mov dword [ebp - 0x22c], 0x104
mov eax, dword [ebp - 0x22c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0062db60
add esp, 0xc
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
jmp 0x4a7dfb
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x21d], 1
mov cl, byte [ebp - 0x21d]
mov byte [ebp - 0x21e], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0041a9d0
mov al, byte [ebp - 0x21e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x4a7fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
mov byte [ebp - 0x421], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x450]
push ecx
mov ecx, dword [ebp - 0x43c]
call fcn.004a7a70
mov dword [ebp - 4], 0
push str.CustomData
push 0x6b3ff0
lea edx, [ebp - 0x450]
push edx
lea eax, [ebp - 0x474]
push eax
call fcn.0041dc90
add esp, 0xc
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x440]
push edx
lea eax, [ebp - 0x45c]
push eax
call fcn.0041dc90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x474]
call fcn.0041a9d0
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x434]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x45c]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a8224
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x42c], 0x104
mov dword [ebp - 0x428], 0x104
mov edx, dword [ebp - 0x428]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.0062db60
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x438]
push edx
push 0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4a8210
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x468]
call fcn.0041aa50
mov byte [ebp - 4], 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043ebd0
mov ecx, eax
call fcn.0041ac50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x468]
call fcn.0041a9d0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x42c], 0x104
mov ecx, dword [ebp - 0x428]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0062db60
add esp, 0xc
mov eax, dword [ebp - 0x42c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0062db60
add esp, 0xc
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
jmp 0x4a8127
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x421], 1
mov cl, byte [ebp - 0x421]
mov byte [ebp - 0x422], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.0041a9d0
mov al, byte [ebp - 0x422]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 8