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

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
cmp byte [0x4a7004], 0
jne 0x461a8c
mov edx, esp
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d270
mov eax, esp
call fcn.0040b578
mov edx, str.rarkey
mov ecx, 6
call fcn.0040e648
test eax, eax
jne 0x461a8c
mov edx, 0x49fa7b
mov eax, ebx
call fcn.0045ef74
test eax, eax
jne 0x4619d1
mov edx, str.rarreg.txt
mov eax, ebx
call fcn.0045ef74
test eax, eax
je 0x461a8c
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.00448fa4
test al, al
je 0x461a8c
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49fa7b
lea eax, [esp + 0x1004]
call fcn.0040b578
push eax
call fcn.0048d8e8
add esp, 8
push 0
lea edx, [esp + 0x1004]
push edx
lea ecx, [esp + 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
lea eax, [esp + 0x400]
push eax
call fcn.0049051c
pop ecx
push dword [0x4b9890]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040de34
mov byte [0x4a7004], al
mov eax, 0x4b98a4
call fcn.0045fbcc
cmp byte [0x4a7004], 0
je 0x461a8c
push 0x30
mov eax, 0x368
call fcn.004116e8
push eax
mov eax, 0x367
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x461a94
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff200
mov ebp, ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 0xc00]
mov eax, ebx
call fcn.0040a568
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a5b0
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.0048d8e8
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.00468290
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.0048d918
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040e648
test eax, eax
je 0x461b50
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0048da3d
add esp, 8
mov esi, eax
test eax, eax
je 0x461b50
mov edx, esp
cmp esi, edx
jbe 0x461b50
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x461b50
cmp edx, 0x5c
je 0x461b50
mov byte [esi], 0
push esp
call fcn.0048f2ec
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.004614ac
cmp eax, 0xffffffff
jne 0x461b79
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.004614ac
cmp eax, 1
je 0x461bf7
cmp eax, 2
je 0x461be5
inc eax
jne 0x461ba4
push ebx
mov eax, 0x1f5
call fcn.004116e8
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.004908b8
add esp, 0xc
jmp 0x461bc5
mov eax, 0x1fc
call fcn.004116e8
push eax
push ebx
push str._s_n_s
lea edx, [esp + 0x180c]
push edx
call fcn.004908b8
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.004116e8
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.0048f2ec
pop ecx
xor eax, eax
jmp 0x461bf9
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461c04
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f8
mov ebp, ecx
mov edi, edx
mov esi, eax
push 0x49f8b8
push edi
call fcn.0048d89c
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x461c85
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x461c4a
mov dword [esp], 1
push 0x49fa72
push edi
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x461c65
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x461c85
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.004630b4
xor edx, edx
mov eax, esi
call fcn.0045e350
jmp 0x461e70
mov eax, esi
call fcn.00464048
cmp dword [0x4bc218], 0
je 0x461d77
mov edx, str.FlatView
mov eax, 0x49f8bb
xor ecx, ecx
call fcn.00465b48
test eax, eax
je 0x461cb6
test bl, bl
je 0x461e70
lea edx, [esp + 8]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d244
push 0x49fa72
push edi
call fcn.0048d89c
add esp, 8
test eax, eax
je 0x461d09
mov eax, 0x4ba5d4
mov ecx, ebp
mov edx, edi
call fcn.0045d158
test eax, eax
je 0x461d09
test bl, bl
je 0x461cfb
lea eax, [esp + 8]
call fcn.0040b578
mov edx, eax
jmp 0x461cfd
xor edx, edx
mov eax, esi
call fcn.0045f0f8
jmp 0x461e70
lea edx, [esp + 0x408]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d270
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.0048d8e8
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040bb00
lea eax, [esp + 0x808]
xor edx, edx
call fcn.0046830c
mov eax, esi
call fcn.00463b8c
test al, al
je 0x461e70
lea eax, [esp + 0x408]
call fcn.0040b578
mov edx, eax
mov eax, esi
call fcn.0045e350
jmp 0x461e70
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x461e3a
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.0048d8e8
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040bfc4
lea eax, [esp + 0x1008]
call fcn.0040ba60
lea eax, [esp + 0x1408]
call fcn.0040ba60
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040e624
test eax, eax
jne 0x461e3a
cmp dword [esi + 0x520], 0
jle 0x461dfd
mov byte [esi + 0x41d], 1
jmp 0x461e2f
xor edx, edx
mov dword [esp + 4], edx
lea ecx, [esp + 4]
push ecx
push 0x11
push dword [esi]
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov eax, 0x4b98a4
mov edx, dword [esp + 4]
call fcn.00463fa8
push dword [esp + 4]
mov ecx, dword [0x4c11e4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.0045e350
jmp 0x461e70
mov edx, ebp
mov eax, edi
call fcn.0046830c
test al, al
jne 0x461e53
mov eax, 0x49fa72
xor edx, edx
call fcn.0046830c
test bl, bl
je 0x461e67
lea eax, [esp + 0xc08]
call fcn.0040b578
mov edx, eax
jmp 0x461e69
xor edx, edx
mov eax, esi
call fcn.0045e350
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46278c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov ebx, eax
push esp
call sub.USER32.DLL_GetCursorPos
push esp
push dword [ebx]
call sub.USER32.DLL_ScreenToClient
mov eax, esp
push eax
push 0
push 0x1012
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne bl
and ebx, 1
push 0x12
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x11
mov esi, eax
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
test byte [esp + 8], 1
jne 0x4627f7
test ebx, ebx
jne 0x4627f7
test esi, esi
jne 0x4627f7
test eax, eax
je 0x4627fb
xor edx, edx
jmp 0x462800
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x462808
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffa78
mov ebx, eax
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
mov eax, esp
mov edx, 0x400
call fcn.00468290
push 0x4001
push 0x160
lea ecx, [esp + 0x408]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
push 0x28
push 0
lea edx, [esp + 0x568]
push edx
call fcn.0048d768
add esp, 0xc
xor eax, eax
mov dword [esp + 0x560], 3
mov ecx, dword [esp + 0x404]
mov dword [esp + 0x57c], ecx
mov dword [esp + 0x564], esi
mov dword [esp + 0x568], eax
mov eax, 0x3d4
call fcn.004116e8
mov dword [esp + 0x574], eax
lea edx, [esp + 0x560]
push edx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push dword [ebx]
call sub.USER32.DLL_SetFocus
mov byte [ebx + 0x1c], 1
push 0
push esi
push 0x1017
push dword [ebx]
call sub.USER32.DLL_SendMessageA
add esp, 0x588
pop esi
pop ebx
ret
Function at 0x462c40
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff178
mov ebx, eax
cmp dword [0x4bc218], 0
je 0x462c5c
mov edx, str.ArcSort
jmp 0x462c61
mov edx, str.FileSort
mov eax, 0x49f8bb
xor ecx, ecx
call fcn.00465b48
mov edi, eax
mov eax, edi
and eax, 0x1f
cmp eax, 2
jne 0x462da0
xor esi, esi
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0xc], eax
lea edx, [esp + 4]
mov dword [esp + 4], 4
push edx
push 0
push 0x1005
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x462da0
mov eax, 0x4c04bc
mov edx, dword [esp + 0x24]
call fcn.004653dc
mov ebp, esi
mov dword [eax + 8], ebp
mov eax, dword [0x4bc218]
test eax, eax
jne 0x462d9a
mov byte [esp + 0x2c], 0
add eax, 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0x50
mov dword [esp + 0x90], edx
push ecx
push ebp
push 0x102d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp byte [esp + 0x2c], 0
jne 0x462d9a
lea ecx, [esp + 0xa4]
mov eax, 0x4c04bc
mov edx, dword [esp + 0x24]
call fcn.00465240
push 0x400
push 0x160
lea eax, [esp + 0xcdc]
push eax
push 0
lea edx, [esp + 0xb4]
push edx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x462d9a
cmp byte [esp + 0xde4], 0
jne 0x462d67
lea ecx, [esp + 0xde4]
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.0046290c
mov ecx, dword [0x4bc218]
lea eax, [esp + 0xde4]
add ecx, 2
lea edx, [esp + 0xe34]
mov dword [esp + 0xe3c], ecx
mov dword [esp + 0xe48], eax
push edx
push ebp
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc esi
jmp 0x462c7f
mov edx, 0x49fad5
mov eax, 0x49f8bb
mov ecx, 1
call fcn.00465b48
test eax, eax
je 0x462dbb
or edi, 0x40
mov edx, str.FlatView
mov eax, 0x49f8bb
xor ecx, ecx
call fcn.00465b48
test eax, eax
je 0x462dd6
or edi, 0x80
push 0x45dc8b
push edi
push 0x1030
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebx + 4], 0
je 0x462ef2
test edi, 0x20
setne al
and eax, 1
and edi, 0x1f
or ebp, 0xffffffff
mov byte [esp], al
xor eax, eax
mov edx, eax
shl edx, 3
sub edx, eax
cmp edi, dword [edx*4 + 0x49f748]
jne 0x462e22
mov ebp, dword [edx*4 + 0x49f744]
jmp 0x462e28
inc eax
cmp eax, 7
jl 0x462e09
push 0
push ebp
push 0x108c
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [esp + 0xe5c], 0x24
xor esi, esi
lea eax, [esp + 0xe5c]
push eax
mov edi, esi
push edi
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x462e93
test byte [esp + 0xe71], 8
je 0x462e8d
and dword [esp + 0xe70], 0xffffe7ff
lea eax, [esp + 0xe5c]
push eax
push edi
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
jmp 0x462e93
inc esi
cmp esi, 0x10
jl 0x462e44
push dword [ebx + 0xc]
push 0
push 0x1208
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
lea edx, [esp + 0xe5c]
push edx
push ebp
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
or dword [esp + 0xe70], 0x1800
cmp byte [esp], 0
je 0x462ed3
mov ecx, 1
jmp 0x462ed5
xor ecx, ecx
mov dword [esp + 0xe78], ecx
lea eax, [esp + 0xe5c]
push eax
push ebp
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
add esp, 0xe88
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x463b8c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.00464048
cmp dword [0x4bc218], 0
je 0x463c43
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, esp
call fcn.0040ba38
mov esi, eax
cmp esi, 0xffffffff
je 0x463c06
call fcn.004682e8
mov ecx, esi
mov edx, 1
shl edx, cl
and eax, edx
jne 0x463c06
lea edx, [esp + 0x400]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d270
lea eax, [esp + 0x400]
call fcn.0040bb00
lea edx, [esp + 0x400]
push edx
call fcn.0048f2ec
pop ecx
xor eax, eax
jmp 0x463c45
mov eax, dword [0x4b9894]
test eax, eax
je 0x463c15
push eax
call sub.USER32.DLL_DestroyWindow
mov eax, ebx
call fcn.00463af8
xor edx, edx
mov eax, ebx
mov dword [0x4bc218], edx
call fcn.00463538
mov eax, ebx
call fcn.00463cd0
mov byte [0x4b9e28], 0
mov eax, 0x4b9dfc
call fcn.00445520
mov al, 1
add esp, 0x800
pop esi
pop ebx
ret
Function at 0x464745
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
push edx
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
ret

Function at 0x464b40
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffaa0
mov esi, eax
mov dword [0x4c0dd0], esi
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x49fd70
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
test ebx, ebx
jne 0x464ba3
lea eax, [esp + 0x160]
push eax
push 0x400
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
push 0x4001
push 0x160
lea edx, [esp + 8]
push edx
push 0
lea ecx, [esp + 0x170]
push ecx
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
push ebx
push 0
push 0x1109
push esi
call sub.USER32.DLL_SendMessageA
call fcn.004644b1
add esp, 0x560
pop esi
pop ebx
ret

Function at 0x465058
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x28], eax
mov eax, 0x49fddc
call fcn.0048dd88
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, 0xf8
call fcn.00465190
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul edx, dword [eax + 0x104], 0x38
mov esi, dword [ecx + 0xf8]
add esi, edx
cmp word [ebx + 0x400], 0
je 0x4650af
lea ecx, [ebx + 0x400]
jmp 0x4650b1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.0040efdc
mov word [ebp - 0x14], 0
jmp 0x465101
mov edx, dword [ebx + 0xc2c]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0xc00]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0xc04]
mov dword [esi + 0x10], ecx
mov eax, dword [ebx + 0xc08]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0xc0c]
mov dword [esi + 0x18], eax
mov edx, dword [ebx + 0xc10]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0xc14]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebx + 0xc18]
mov dword [esi + 0x24], ecx
mov eax, dword [ebx + 0xc1c]
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0xc20]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0xc24]
mov dword [esi + 0x30], ecx
mov eax, dword [ebx + 0xc28]
mov dword [esi + 0x34], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x104]
inc dword [edx + 0x104]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4653e8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff664
mov esi, edx
mov edi, eax
mov ebp, 0x49fdf4
push esp
push 0x20019
push 0
push edi
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x465419
xor eax, eax
jmp 0x465582
mov edx, esi
mov eax, 0x80000001
call fcn.0046558d
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x46545a
mov eax, dword [esp]
call fcn.00465714
xor eax, eax
jmp 0x465582
xor ebx, ebx
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0x14], 0x3e8
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x4654bb
push dword [esp + 0x14]
lea ecx, [esp + 0xf0]
push ecx
push dword [esp + 0x14]
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call sub.ADVAPI32.DLL_RegSetValueExA
inc ebx
jmp 0x46545c
xor ebx, ebx
mov dword [esp + 0x18], 0xc8
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x4e8]
push ecx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x46556f
lea eax, [esp + 0x4d4]
lea edx, [ebp + 0x17]
push eax
push edi
push edx
lea ecx, [esp + 0x5a8]
push ecx
call fcn.004908b8
add esp, 0x10
lea edx, [ebp + 0x17]
lea eax, [esp + 0x4d4]
push eax
push esi
push edx
lea ecx, [esp + 0x7a8]
push ecx
call fcn.004908b8
add esp, 0x10
lea eax, [esp + 8]
push eax
lea edx, [esp + 8]
push edx
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [esp + 0x7b8]
push ecx
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x46556f
lea edx, [esp + 0x79c]
lea eax, [esp + 0x59c]
call fcn.004653e8
inc ebx
jmp 0x4654bd
mov eax, dword [esp]
call fcn.00465714
mov eax, dword [esp + 4]
call fcn.00465714
mov al, 1
add esp, 0x99c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4655c3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov esi, edx
push edi
add esp, 0xfffffd28
mov edi, eax
cmp byte [esi], 0
je 0x46565e
push esp
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46565e
xor ebx, ebx
mov dword [esp + 4], 0xc8
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x465645
lea eax, [esp + 0x10]
push eax
push esi
push str._s_s
lea edx, [esp + 0xe4]
push edx
call fcn.004908b8
add esp, 0x10
mov eax, edi
lea edx, [esp + 0xd8]
call fcn.004655c3
inc ebx
jmp 0x4655ee
mov eax, dword [esp]
call fcn.00465714
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x46565e
inc dword [0x4c11e0]
add esp, 0x2d8
pop edi
pop esi
pop ebx
ret
Function at 0x465804
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
call fcn.0040f820
test eax, eax
je 0x46586f
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00465668
mov ebx, eax
test ebx, ebx
je 0x4658a7
lea edx, [ebp - 0xa8]
mov ecx, 0x10000000
mov eax, dword [ebp - 8]
call fcn.0040f898
mov eax, esi
call fcn.0040f914
add eax, eax
lea edx, [ebp - 0xa8]
add eax, 2
push eax
push esi
push 1
push 0
push edx
push ebx
call sub.ADVAPI32.DLL_RegSetValueExW
mov eax, ebx
call fcn.00465714
jmp 0x4658a7
mov eax, esi
call fcn.0040f914
add eax, eax
add eax, 2
push eax
call fcn.0048c0c4
pop ecx
mov ebx, eax
mov ecx, 0x10000000
mov edx, ebx
mov eax, esi
call fcn.0040f874
push ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004657b8
push ebx
call fcn.0048beec
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4659a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
call fcn.004656ca
mov ebx, eax
mov esi, 1
test ebx, ebx
je 0x4659e2
lea eax, [ebp + 8]
lea edx, [ebp - 0xc]
push eax
push edi
push edx
push 0
push dword [ebp - 8]
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov esi, eax
mov eax, ebx
call fcn.00465714
test esi, esi
je 0x4659f6
push dword [ebp + 0xc]
push edi
call fcn.0048d8e8
add esp, 8
xor eax, eax
jmp 0x4659f8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x465a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
call fcn.0040f820
test eax, eax
je 0x465a93
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004656ca
mov ebx, eax
lea edx, [ebp - 0xac]
mov ecx, 0x10000000
mov eax, dword [ebp - 8]
call fcn.0040f898
mov esi, 1
test ebx, ebx
je 0x465a89
lea eax, [ebp + 8]
lea edx, [ebp - 0xc]
push eax
push edi
push edx
lea ecx, [ebp - 0xac]
push 0
push ecx
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
mov esi, eax
mov eax, ebx
call fcn.00465714
test esi, esi
sete bl
and ebx, 1
jmp 0x465acb
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.0048c0c4
pop ecx
mov esi, eax
push esi
push 0x49fdf4
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004659a0
mov ebx, eax
mov ecx, dword [ebp + 8]
mov edx, edi
mov eax, esi
call fcn.0040f898
push esi
call fcn.0048beec
pop ecx
test bl, bl
jne 0x465ad9
mov edx, dword [ebp + 0xc]
mov eax, edi
call fcn.0040f928
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465ae4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
call fcn.004656ca
mov ebx, eax
mov esi, 1
mov dword [ebp - 0x10], 4
test ebx, ebx
je 0x465b2d
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
push eax
push edi
push edx
push 0
push dword [ebp - 8]
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov esi, eax
mov eax, ebx
call fcn.00465714
test esi, esi
je 0x465b3a
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edi], edx
jmp 0x465b3c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
call fcn.004656ca
mov ebx, eax
mov dword [ebp - 0xc], esi
mov edi, 1
test ebx, ebx
je 0x465bd1
lea eax, [ebp - 0xc]
lea edx, [ebp - 8]
push eax
push dword [ebp + 0x10]
push edx
push 0
push dword [ebp - 4]
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov edi, eax
mov eax, ebx
call fcn.00465714
test edi, edi
je 0x465bfe
cmp dword [ebp + 0xc], 0
je 0x465bec
push esi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0048d6f8
add esp, 0xc
jmp 0x465bfa
push esi
push 0
push dword [ebp + 0x10]
call fcn.0048d768
add esp, 0xc
xor eax, eax
jmp 0x465c01
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x465c1c
Capabilities:
Delete registry key

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, ebx
push 0x100
lea ecx, [esp + 4]
call fcn.00465730
test al, al
je 0x465c40
push esp
push ebx
call sub.ADVAPI32.DLL_RegDeleteKeyA
add esp, 0x100
pop ebx
ret

Function at 0x465c58
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, ecx
mov ebx, eax
mov eax, ebx
push 0x100
lea ecx, [esp + 8]
call fcn.00465730
test al, al
je 0x465ca1
push esp
push 0x20006
push 0
lea edx, [esp + 0x10]
push edx
push ebx
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x465ca1
push esi
push dword [esp + 4]
call sub.ADVAPI32.DLL_RegDeleteValueA
mov eax, dword [esp]
call fcn.00465714
add esp, 0x104
pop esi
pop ebx
ret