joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414060
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push eax
call fcn.00413f70
mov esi, eax
test esi, esi
je 0x414150
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call edi
push eax
call fcn.00413b50
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
mov dword [esp + 0x18], eax
call ebp
push esi
call edi
test eax, eax
jne 0x4140a4
mov dword [esp + 0x10], eax
jmp 0x4140b9
cmp dword [eax], 0x28
jne 0x4140ae
mov ebx, dword [eax + 4]
jmp 0x4140b2
movzx ebx, word [eax + 4]
push esi
call ebp
mov dword [esp + 0x10], ebx
push esi
call edi
test eax, eax
jne 0x4140c4
xor ebx, ebx
jmp 0x4140d5
cmp dword [eax], 0x28
jne 0x4140ce
mov ebx, dword [eax + 8]
jmp 0x4140d2
movzx ebx, word [eax + 6]
push esi
call ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax], ebx
mov edx, dword [edi + 4]
push ecx
push edx
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push esi
push ebx
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00413ed0
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push 1
push edx
push eax
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x414150
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
add esp, 0xc
ret

Function at 0x414360
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x160], eax
push esi
push 0
mov esi, ecx
call fcn.00415a10
test eax, eax
je 0x41438a
lea ecx, [esi + 0x5c]
call fcn.0043a883
push 0x4001
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x46ef50
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x4143cf
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x58]
call fcn.00402710
xor eax, eax
pop esi
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0044b758
add esp, 0x164
ret
push edi
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.0043a8f9
test eax, eax
jne 0x414405
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x58]
call fcn.00402710
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0044b758
add esp, 0x164
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0
push edi
mov ecx, esi
call fcn.00415a30
mov ecx, dword [esp + 0x168]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0044b758
add esp, 0x164
ret
Function at 0x414440
Capabilities:
Get disk information

Disassembly:
sub esp, 0x84
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, ecx
call fcn.004159d0
lea eax, [esp + 4]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x414495
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [ebx + 0x58]
call fcn.00402710
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044b758
add esp, 0x84
ret
cmp byte [esp + 4], 0
push esi
lea esi, [esp + 8]
je 0x4144ec
push edi
push esi
push 0xffff0000
mov ecx, ebx
call fcn.004147c0
push esi
mov ecx, ebx
mov edi, eax
call fcn.00414aa0
test eax, eax
je 0x4144d3
push 0xffff0002
push edi
push 0
push 0
push 0x46ef4a
mov ecx, ebx
call fcn.00415950
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4144d8
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x4144a2
pop edi
mov ecx, dword [esp + 0x88]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044b758
add esp, 0x84
ret
Function at 0x4147c0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x467ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x198]
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00402670
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x194], 0
call fcn.004152e0
push 0x5c
push eax
call fcn.00415450
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.004026e0
test bl, bl
je 0x41485c
push 0x46efdc
lea ecx, [esp + 0x18]
call fcn.00401ff0
push 0x101
push 0x160
lea edx, [esp + 0x28]
push edx
push 0
lea ecx, [esp + 0x24]
call fcn.00402730
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
call ebx
test eax, eax
jne 0x4148a0
push 0x46efe0
lea ecx, [esi + 0x58]
call fcn.00402710
lea ecx, [esp + 0x14]
call fcn.004026e0
xor eax, eax
jmp 0x41496a
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
push eax
call edi
mov ebp, dword [esp + 0x24]
push 0x103
push 0x160
lea ecx, [esp + 0x28]
push ecx
push 0
lea ecx, [esp + 0x24]
call fcn.00402730
push eax
call ebx
test eax, eax
jne 0x4148d9
push str.Error_Gettting_SystemFileInfo_
jmp 0x414888
mov edx, dword [esp + 0x20]
push edx
call edi
mov edi, dword [esp + 0x24]
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004152e0
push 0x46f020
push eax
call fcn.004153e0
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.004026e0
test bl, bl
je 0x414927
push 0
lea ecx, [esp + 0x18]
call fcn.00402750
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00415480
mov eax, dword [esp + 0x1c]
push 0xffff0002
lea ecx, [esp + 0x18]
cmp eax, 0xffff0000
jne 0x414945
push eax
push edi
push ebp
call fcn.00402730
jmp 0x414955
push eax
push edi
push ebp
call fcn.00402730
push eax
mov ecx, esi
call fcn.004149a0
push eax
mov ecx, esi
call fcn.00415950
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004026e0
mov eax, esi
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0044b758
add esp, 0x17c
ret 8
Function at 0x414aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467b17
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0043aef8
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.00402670
mov eax, esi
mov byte [esp + 0x30], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414af0
sub eax, edx
cmp eax, 3
jne 0x414b18
cmp byte [esi + 1], 0x3a
jne 0x414b11
cmp byte [esi + 2], 0x5c
jne 0x414b11
push 0x46f024
jmp 0x414b1d
push 0x46f028
jmp 0x414b1d
push 0x46f030
lea ecx, [esp + 0x10]
call fcn.00401ff0
push 0
lea ecx, [esp + 0x10]
call fcn.00402730
push eax
lea ecx, [esp + 0x18]
call fcn.0043af8d
test eax, eax
je 0x414b88
nop
lea ecx, [esp + 0x10]
call fcn.0043abfc
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004157a0
test eax, eax
je 0x414b65
lea ecx, [esp + 0x10]
call fcn.0043aebd
test eax, eax
je 0x414bb8
lea ecx, [esp + 0x10]
call fcn.004157a0
test eax, eax
jne 0x414b84
cmp dword [edi + 0x54], eax
je 0x414b84
lea ecx, [esp + 0x10]
call fcn.004157b0
test eax, eax
je 0x414bb8
test esi, esi
jne 0x414b40
lea ecx, [esp + 0xc]
call fcn.004026e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043af1e
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
lea ecx, [esp + 0xc]
call fcn.004026e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043af1e
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x4163d0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x804]
mov dword [esi + 0x818], 0
mov dword [esi + 0x81c], 0
test eax, eax
jne 0x4163f7
xor edx, edx
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41641d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41641d
pop edi
xor eax, eax
xor edx, edx
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.0044d550
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
mov dword [esi + 0x818], eax
mov dword [esi + 0x81c], edx
pop esi
pop ecx
ret

Function at 0x4164f0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 0xc]
mov dword [edx], 0
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x416509
xor al, al
ret 0xc
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x416530
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x41653f
xor al, al
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
ret 0xc
Function at 0x416f20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1388]
mov dword [ebp], eax
mov ecx, dword [esi + 0x138c]
mov dword [ebp + 4], ecx
mov eax, dword [esi + 0x1388]
mov ecx, dword [esi + 0x1184]
mov edx, dword [esi + 0x1180]
push edi
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x138c]
adc eax, ebx
cmp eax, ecx
mov dword [esp + 0x10], edx
jl 0x416f9f
mov eax, edx
jg 0x416f79
cmp dword [esp + 0x18], eax
jbe 0x416f9f
sub eax, dword [esi + 0x1388]
sbb ecx, dword [esi + 0x138c]
mov edi, eax
mov ebx, ecx
or eax, ebx
jne 0x416f9f
pop edi
pop esi
mov dword [ebp], eax
mov dword [ebp + 4], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
mov edx, dword [esi + 0x1390]
mov eax, dword [esi + 0x1394]
mov ecx, dword [0x48d2bc]
mov dword [esp + 0x28], edx
add edx, edi
mov dword [esp + 0x2c], eax
adc eax, ebx
cmp eax, ecx
jl 0x4170d4
mov eax, dword [0x48d2b8]
jg 0x416fd4
cmp edx, eax
jbe 0x4170d4
sub eax, dword [esp + 0x28]
sbb ecx, dword [esp + 0x2c]
mov dword [esi + 0x1178], eax
mov dword [esi + 0x117c], ecx
test ecx, ecx
jl 0x417038
jg 0x416ff2
test eax, eax
jbe 0x417038
mov edx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0x1170]
push ebp
mov ecx, eax
mov eax, dword [esi + 0x1160]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp]
add dword [esi + 0x1388], ecx
mov edx, dword [esi + 0x1178]
mov eax, dword [esi + 0x117c]
adc dword [esi + 0x138c], 0
add dword [esi + 0x1390], edx
adc dword [esi + 0x1394], eax
mov ecx, esi
call fcn.00416c40
test al, al
jne 0x417054
pop edi
pop esi
pop ebp
mov byte [0x48d267], 1
pop ebx
add esp, 0x10
ret 0x10
mov eax, edi
sub eax, dword [esi + 0x1178]
mov ecx, ebx
sbb ecx, dword [esi + 0x117c]
mov dword [esp + 0x2c], ecx
js 0x417127
jg 0x417078
test eax, eax
jbe 0x417127
mov eax, dword [esi + 0x1178]
mov ecx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0x1170]
push ebp
mov edx, edi
sub edx, eax
push edx
mov edx, dword [esi + 0x1160]
add eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp]
add dword [esi + 0x1388], eax
mov al, 1
adc dword [esi + 0x138c], 0
sub edi, dword [esi + 0x1178]
sbb ebx, dword [esi + 0x117c]
add dword [esi + 0x1390], edi
pop edi
adc dword [esi + 0x1394], ebx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1160]
push 0
lea eax, [esi + 0x1170]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x1170]
add dword [esi + 0x1388], eax
mov ecx, dword [esi + 0x1388]
adc dword [esi + 0x138c], 0
add dword [esi + 0x1390], edi
mov edx, dword [esi + 0x138c]
adc dword [esi + 0x1394], ebx
sub ecx, dword [ebp]
sbb edx, dword [ebp + 4]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x41b070
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0xdd], al
je 0x41b0ca
push 0x48d244
push eax
push esi
push 0x4063c0
mov byte [esi + 0xdd], al
push eax
push 0x48d248
mov byte [0x48d266], al
mov dword [0x48d248], 0xc
mov dword [0x48d24c], eax
mov dword [0x48d250], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
push eax
mov dword [0x48d240], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 5
mov ecx, esi
call fcn.004345b6
pop esi
ret

Function at 0x41cd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468cfe
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], 0
call fcn.00425580
push str..TempFile
lea ecx, [esp + 0x10]
call fcn.004253a0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x38], 1
call fcn.0041ce50
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00425570
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00425410
mov ecx, esi
call fcn.0041cef0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.00425570
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc

Function at 0x41e050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469043
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x34], 0
call fcn.00412a80
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00425480
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425790
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00425580
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00425570
push edi
mov ecx, esi
call fcn.0041db00
mov edi, eax
cmp edi, 0xffffffff
je 0x41e148
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0xc]
push edx
push edi
add ecx, 8
call fcn.00402270
mov ecx, eax
call fcn.00425580
push 0x47085c
lea ecx, [esp + 0x1c]
call fcn.004253a0
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x18]
push eax
push edi
add ecx, 8
mov byte [esp + 0x34], 3
call fcn.00402270
mov ecx, eax
call fcn.004256c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00425570
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x18]
push edi
add ecx, 8
call fcn.00402270
mov ecx, eax
call fcn.004256c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00425570
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0x10
Function at 0x421a90
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x46981a
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x840]
mov dword [esp + 0x834], 0
call fcn.00402730
push eax
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.0044bd9e
lea esi, [esp + 0x34]
add esp, 0xc
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x421b00
sub esi, ecx
test esi, esi
jle 0x421b1b
mov al, 0x5c
nop
cmp byte [esp + esi + 0x28], al
je 0x421b1b
dec esi
test esi, esi
jg 0x421b10
lea ecx, [esp + 0x83c]
push ecx
lea ecx, [esp + 0x10]
inc esi
call fcn.00425410
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
lea edx, [esi - 1]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.00425790
mov ecx, edi
call fcn.004217e0
lea ecx, [esp + 0xc]
call fcn.00425480
sub eax, esi
push eax
inc esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425790
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.00425580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.00425570
lea ecx, [esp + 0x10]
call fcn.00402730
mov edx, dword [edi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.00425570
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.0044b758
add esp, 0x82c
ret 0xc
Function at 0x421c00
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x469866
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x840]
mov dword [esp + 0x834], 0
call fcn.00402730
push eax
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.0044bd9e
lea esi, [esp + 0x34]
add esp, 0xc
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x421c70
sub esi, ecx
test esi, esi
jle 0x421c8b
mov al, 0x5c
nop
cmp byte [esp + esi + 0x28], al
je 0x421c8b
dec esi
test esi, esi
jg 0x421c80
lea ecx, [esp + 0x83c]
push ecx
lea ecx, [esp + 0x10]
inc esi
call fcn.00425410
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
lea edx, [esi - 1]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.00425790
mov ecx, edi
call fcn.004217e0
lea ecx, [esp + 0xc]
call fcn.00425480
sub eax, esi
push eax
inc esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425790
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.00425580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.00425570
lea ecx, [esp + 0x10]
call fcn.00402730
mov edx, dword [edi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.00425570
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.0044b758
add esp, 0x82c
ret 0xc

Function at 0x421d90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4698be
mov eax, dword fs:[0]
push eax
sub esp, 0xa3c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0xa38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0xa50]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa60]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
mov ebp, 1
mov dword [esp + 0xa58], ebp
cmp dword [edi + 8], ebx
jne 0x421dfd
push 0x47101a
mov ecx, esi
call fcn.004253a0
jmp 0x421e52
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
lea ecx, [esp + 0xa78]
mov dword [esp + 0x28], 0x800
call fcn.00402730
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x421e46
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
mov byte [esp + ecx + 0x24], bl
push edx
mov ecx, esi
call fcn.00425490
jmp 0x421e52
push 0x47101b
mov ecx, esi
call fcn.004253a0
lea ecx, [esp + 0xa64]
mov dword [esp + 0x14], ebp
mov byte [esp + 0xa58], bl
call fcn.00425570
mov eax, esi
mov ecx, dword [esp + 0xa50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa38]
xor ecx, esp
call fcn.0044b758
add esp, 0xa48
ret 0x10
Function at 0x422160
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46992a
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0044ce20
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x201c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
mov ebx, 1
push eax
lea ecx, [esp + 0x203c]
mov dword [esp + 0x2028], ebx
call fcn.004256e0
lea ecx, [esp + 0x10]
call fcn.00402730
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
call fcn.0044bd9e
add esp, 0xc
lea edx, [esp + 0x1018]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00422020
cmp dword [esi + 8], 0
je 0x422259
push eax
lea ecx, [esp + 0x101c]
push ecx
push 3
push 0
lea ecx, [esp + 0x2040]
call fcn.00402730
mov edx, dword [esi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422259
lea ecx, [esp + 0xc]
mov byte [esp + 0x2024], bl
call fcn.00425570
lea ecx, [esp + 0x202c]
mov byte [esp + 0x2024], 0
call fcn.00425570
lea ecx, [esp + 0x2038]
mov dword [esp + 0x2024], 0xffffffff
call fcn.00425570
mov al, bl
jmp 0x422296
lea ecx, [esp + 0xc]
mov byte [esp + 0x2024], bl
call fcn.00425570
lea ecx, [esp + 0x202c]
mov byte [esp + 0x2024], 0
call fcn.00425570
lea ecx, [esp + 0x2038]
mov dword [esp + 0x2024], 0xffffffff
call fcn.00425570
xor al, al
mov ecx, dword [esp + 0x201c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.0044b758
add esp, 0x201c
ret 0x18

Function at 0x4222c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x469968
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esp + 0x10], 1
je 0x422354
lea ecx, [esp + 0x24]
call fcn.00425480
push eax
lea ecx, [esp + 0x2c]
call fcn.00402730
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.00402730
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422354
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], al
call fcn.00425570
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425570
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00425570
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425570
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x422a60
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x469a60
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x422ad2
push 4
lea eax, [esp + 0x28]
push eax
push 4
push 0
lea ecx, [esp + 0x2c]
call fcn.00402730
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422ad2
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425570
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425570
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x10