joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4af
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040d220
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40e54a
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x419e70]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40e54a
cmp eax, 1
je 0x40e56b
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40e54a
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40e517
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40e546
xor eax, eax
inc eax
jmp 0x40e58a
cmp edi, eax
jae 0x40e54e
xor eax, eax
jmp 0x40e58a
cmp eax, esi
jae 0x40e555
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x419e70]
jmp 0x40e56e
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ea84
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40eab2
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40eab9
cmp ebx, dword [eax + 4]
jae 0x40eab9
xor eax, eax
jmp 0x40eca9
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40eaca
xor eax, eax
inc eax
jmp 0x40eca8
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40eae0
cmp ecx, edx
jae 0x40ec25
cmp dword [eax + 4], 0
je 0x40eae9
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40ead1
cmp dword [ebp + 8], 0
je 0x40eb0b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40ec25
cmp eax, esi
jae 0x40ec25
mov eax, dword [0x41a1f8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40eb30
cmp dword [esi*4 + 0x41a200], edi
je 0x40ec29
inc esi
cmp esi, eax
jl 0x40eb1e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40eca5
cmp dword [ebp - 8], 0x1000000
jne 0x40eca5
test byte [ebp - 0xc], 0xcc
je 0x40ebae
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40eca5
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40eca5
cmp word [eax + 0x18], 0x10b
jne 0x40eca5
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40eca5
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40ebae
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40ebae
test byte [ecx + 0x27], 0x80
jne 0x40ec25
push 1
push 0x41a240
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40eac2
mov ecx, dword [0x41a1f8]
test ecx, ecx
mov edx, ecx
jle 0x40ebe2
lea eax, [ecx*4 + 0x41a1fc]
cmp dword [eax], edi
je 0x40ebe2
dec edx
sub eax, 4
test edx, edx
jg 0x40ebd6
test edx, edx
jne 0x40ec13
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40ebef
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40ec07
lea eax, [edx*4 + 0x41a200]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40ebf5
cmp ecx, 0x10
jge 0x40ec13
inc ecx
mov dword [0x41a1f8], ecx
push 0
push 0x41a240
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40eac2
xor eax, eax
jmp 0x40eca8
test esi, esi
jle 0x40eac2
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x41a240
call ebx
test eax, eax
jne 0x40eac2
cmp dword [esi*4 + 0x41a200], edi
je 0x40ec7f
mov eax, dword [0x41a1f8]
lea esi, [eax - 1]
test esi, esi
jl 0x40ec6d
cmp dword [esi*4 + 0x41a200], edi
je 0x40ec69
dec esi
jns 0x40ec5d
test esi, esi
jge 0x40ec7d
cmp eax, 0x10
jge 0x40ec78
inc eax
mov dword [0x41a1f8], eax
lea esi, [eax - 1]
jmp 0x40ec7f
je 0x40ec97
xor ecx, ecx
test esi, esi
jl 0x40ec97
lea eax, [ecx*4 + 0x41a200]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40ec85
push 0
push 0x41a240
call ebx
jmp 0x40eac2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ffa2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x41a274], ebx
push esi
push edi
jne 0x410022
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41005d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x41a274], eax
je 0x41005d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x41a278], eax
call esi
cmp dword [0x419e70], 2
mov dword [0x41a27c], eax
jne 0x410022
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x41a284], eax
je 0x410022
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x41a280], eax
mov eax, dword [0x41a280]
test eax, eax
je 0x410067
call eax
test eax, eax
je 0x41004e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x41a284]
test eax, eax
je 0x41004e
test byte [ebp - 8], 1
jne 0x410067
cmp dword [0x419e7c], 4
jb 0x410061
or byte [ebp + 0x12], 0x20
jmp 0x410086
xor eax, eax
jmp 0x410096
or byte [ebp + 0x12], 4
jmp 0x410086
mov eax, dword [0x41a278]
test eax, eax
je 0x410086
call eax
mov ebx, eax
test ebx, ebx
je 0x410086
mov eax, dword [0x41a27c]
test eax, eax
je 0x410086
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x41a274]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41084f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040d220
mov eax, dword [0x419bb0]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0040e5d1
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x410982
push 2
push esi
push dword [ebp + 8]
call fcn.0040e5d1
add esp, 0xc
cmp eax, ebx
je 0x410982
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x410922
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00407610
push 0x8000
push dword [ebp + 8]
call fcn.00411435
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x4108d8
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0040b237
add esp, 0xc
cmp eax, 0xffffffff
je 0x4108f8
sub edi, eax
test edi, edi
jg 0x4108d0
jmp 0x410910
call fcn.00407ef3
cmp dword [eax], 5
jne 0x41090d
call fcn.00407eea
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00411435
pop ecx
pop ecx
jmp 0x41096a
jge 0x41096a
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e5d1
push dword [ebp + 8]
call fcn.0040d358
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x41096a
call fcn.00407eea
mov dword [eax], 0xd
call fcn.00407ef3
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0040e5d1
add esp, 0xc
mov eax, esi
pop edi
jmp 0x410984
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0040e5c3
leave
ret
Function at 0x411c6c
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x4168d8
call fcn.0040ab70
mov eax, dword [0x419bb0]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x411d10
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0040d220
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x411cfd
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x411d10
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x411d2b
cmp byte [edi + 1], 0x3a
jne 0x411d2b
movzx eax, byte [edi]
push eax
call fcn.00412007
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x411d3b
push edi
call fcn.00408b1f
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0040e5c3
call fcn.0040abab
ret

Function at 0x411dd6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x411e04
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x411e09
cmp eax, 1
je 0x411e09
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x411e0d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x419bb0]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x411e85
push ebx
call fcn.00411dd6
test eax, eax
pop ecx
jne 0x411e54
call fcn.00407ef3
mov dword [eax], 0xf
call fcn.00407eea
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0040e5c3
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x411e97
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x411e47
inc eax
cmp eax, 0x104
ja 0x411e47
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x411ecf
cmp eax, dword [ebp + 0x10]
jg 0x411eb2
mov eax, dword [ebp + 0x10]
push eax
call fcn.00408960
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x411ee4
call fcn.00407eea
mov dword [eax], 0xc
jmp 0x411e47
cmp eax, dword [ebp + 0x10]
jle 0x411ee4
call fcn.00407eea
mov dword [eax], 0x22
jmp 0x411e47
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.004073c0
pop ecx
pop ecx
jmp 0x411e49
Function at 0x4060cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406132
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404484
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e30
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40611c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406139
lea eax, [ebp - 0x10]
call fcn.00404214
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004046d4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408e7d
test al, 0x10
jne 0x408e81
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c28c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c2c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404304
jmp 0x40c2ce
mov eax, ebx
mov edx, esi
call fcn.00404268
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c2d8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c2f9
mov al, byte [esp]
jmp 0x40c2fb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c980
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c7f8
mov eax, dword [0x4dae48]
cmp byte [eax], 0
je 0x40c9fc
mov eax, dword [0x4daaf0]
call fcn.00402c80
call fcn.00402924
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409188
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ca44
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca32
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4daa64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dc668]
call fcn.0040559c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x42d424
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004046c4
xor eax, eax
push ebp
push 0x42d552
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42d525
xor eax, eax
push ebp
push 0x42d51e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044d4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42d4f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42d4e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044d4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046d4
mov edx, ebx
pop ecx
call fcn.004029b8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d4e9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4da9b4]
mov dl, 1
mov eax, dword [0x4076c8]
call fcn.0040cb10
call fcn.00403bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d559
lea eax, [ebp - 4]
call fcn.00404214
ret
Function at 0x42d560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d711
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004048c4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42d728
call fcn.00404520
mov eax, ebx
call fcn.0041f150
mov edi, eax
dec edi
test edi, edi
jl 0x42d618
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041f124
mov edx, dword [0x436e4c]
call fcn.004035ac
test al, al
je 0x42d614
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041f124
lea edx, [ebp - 0x14]
call fcn.004444e0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004048c4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404594
inc esi
dec edi
jne 0x42d5c6
mov al, byte [0x42d72c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42d738
mov eax, dword [ebp - 0xc]
call fcn.0040df58
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004042ac
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004444e0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42d728
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004444e0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42d728
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42d728
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42d744
call fcn.00409c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d718
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404238
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404238
lea eax, [ebp - 0x14]
call fcn.00404214
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404238
ret
Function at 0x432450
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4325b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004042ac
mov eax, dword [ebp - 0x10]
call fcn.004320a0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4324a2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404774
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00432858
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432577
xor eax, eax
push ebp
push 0x432570
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043224c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004325e8
test al, al
je 0x43254e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404304
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43254e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004046d4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x432548
mov eax, dword [ebp - 0x14]
call fcn.004046d4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040440c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00432450
dec ebx
cmp ebx, 0xffffffff
jne 0x432501
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432577
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0043224c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004046d4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00432238
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4325c0
lea eax, [ebp - 0x3c]
call fcn.00404214
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404238
ret
Function at 0x432577
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4325b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004042ac
mov eax, dword [ebp - 0x10]
call fcn.004320a0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4324a2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404774
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00432858
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432577
xor eax, eax
push ebp
push 0x432570
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043224c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004325e8
test al, al
je 0x43254e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404304
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43254e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004046d4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x432548
mov eax, dword [ebp - 0x14]
call fcn.004046d4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040440c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00432450
dec ebx
cmp ebx, 0xffffffff
jne 0x432501
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432577
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0043224c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004046d4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00432238
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4325c0
lea eax, [ebp - 0x3c]
call fcn.00404214
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404238
ret

Function at 0x4325e8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402df4
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4db010]
cmp byte [edx + 0xc], 0
je 0x43264c
mov edx, dword [0x4db004]
cmp dword [edx], 2
jne 0x43264c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret