joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d45d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x12a480f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404c88
push eax
call fcn.00406e68
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4d462f
mov byte [ebp - 2], 1
jmp 0x4d47f3
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d465e
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407148
test eax, eax
je 0x4d465e
mov bl, 1
test bl, bl
jne 0x4d466b
mov byte [ebp - 2], 1
jmp 0x4d47f3
xor ebx, ebx
cmp word [ebp - 0x54], 0x5a4d
je 0x4d467b
cmp dword [ebp - 8], 0x40
jne 0x4d46c9
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d46c9
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407148
test eax, eax
je 0x4d46c9
cmp dword [ebp - 0x14c], 0x4550
jne 0x4d46c9
cmp word [ebp - 0x134], 0x10b
jne 0x4d46c9
mov bl, 1
test bl, bl
je 0x4d47ea
xor eax, eax
push ebp
push 0x12a47e0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004d4508
mov dword [ebp - 0x144], eax
call fcn.004029fc
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d4729
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407208
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp word [ebp - 0x54], 0x5a4d
je 0x4d4769
mov word [ebp - 0xe], 0x5a4d
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d4769
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407208
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
and al, byte [ebp - 1]
je 0x4d47d6
mov eax, 0x200
call fcn.004030bc
mov ebx, eax
shl ebx, 4
test ebx, ebx
jle 0x4d47d6
push 2
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d47d6
push ebx
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x12a45b0]
call fcn.00405c44
add esp, 4
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004079d4
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407208
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d47ea
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12a4816
lea eax, [ebp - 0x14]
mov edx, dword [0x12a45b0]
call fcn.00405c50
ret
Function at 0x4d49cc
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
add esp, 0xfffffec4
mov ebx, eax
xor esi, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00404c88
push eax
call fcn.00406e68
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d4a73
push 0
push 0
push 0
push ebx
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d4a6d
push 0
lea eax, [esp + 4]
push eax
push 0x40
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00407148
test eax, eax
je 0x4d4a6d
cmp word [esp + 4], 0x5a4d
jne 0x4d4a6d
push 0
push 0
mov eax, dword [esp + 0x48]
push eax
push ebx
call fcn.00407188
cmp eax, 0xffffffff
je 0x4d4a6d
push 0
lea eax, [esp + 4]
push eax
push 0xf8
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.00407148
test eax, eax
je 0x4d4a6d
cmp dword [esp + 0x44], 0x4550
jne 0x4d4a6d
mov esi, dword [esp + 0x4c]
push ebx
call fcn.00406e40
mov eax, esi
add esp, 0x13c
pop esi
pop ebx
ret
Function at 0x4d6078
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x12a62b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
call fcn.004047ac
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404c88
push eax
call fcn.00406e68
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4d6107
lea eax, [ebp - 0x154]
call fcn.004d0500
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp + 8]
call fcn.00404800
jmp 0x4d628d
cmp byte [ebp + 0xc], 0
je 0x4d6145
call fcn.004029fc
mov eax, 0x1ff
call fcn.004030bc
mov edx, eax
inc edx
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x12a6054]
call fcn.00405c44
add esp, 4
jmp 0x4d6148
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x12a6054]
call fcn.00405c44
add esp, 4
mov ecx, edi
mov eax, ebx
dec eax
test eax, eax
jb 0x4d617e
inc eax
xor edx, edx
mov bl, byte [ecx]
xor bl, 0xff
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bl
inc ecx
inc edx
dec eax
jne 0x4d616e
xor ebx, ebx
cmp byte [ebp + 0x10], 0
je 0x4d6235
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x58]
mov ecx, 0x40
call fcn.004079cc
cmp word [ebp - 0x58], 0x5a4d
jne 0x4d6215
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea edx, [eax + edx]
lea eax, [ebp - 0x150]
mov ecx, 0xf8
call fcn.004079cc
cmp dword [ebp - 0x150], 0x4550
jne 0x4d61f5
cmp word [ebp - 0x138], 0x10b
jb 0x4d61f5
call fcn.004d4508
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx + 8]
lea edx, [ebp - 0x14]
mov ecx, 4
call fcn.004079c4
mov bl, 1
jmp 0x4d6237
lea edx, [ebp - 0x158]
mov eax, 0x12a62d4
call fcn.004cc154
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp + 8]
call fcn.00404800
jmp 0x4d6237
lea edx, [ebp - 0x15c]
mov eax, 0x12a62ec
call fcn.004cc154
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 8]
call fcn.00404800
jmp 0x4d6237
mov bl, 1
test bl, bl
je 0x4d6284
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00407188
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407208
test eax, eax
je 0x4d626b
mov byte [ebp - 1], 1
jmp 0x4d6284
lea eax, [ebp - 0x160]
call fcn.004d0500
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp + 8]
call fcn.00404800
mov eax, dword [ebp - 8]
push eax
call fcn.00406e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12a62c0
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.004047d0
lea eax, [ebp - 0x18]
mov edx, dword [0x12a6054]
call fcn.00405c50
ret
Function at 0x402a84
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404090
test esi, esi
jne 0x402aba
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404180
jmp 0x402ad8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402998
mov edi, eax
test esi, esi
je 0x402ad8
cmp dword [ebx], 0
je 0x402ad8
dec esi
jmp 0x402ac1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403228
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403208
xor eax, eax
push ebp
push 0x403201
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403244
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403208
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ef4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49204c], 0
je 0x403f55
cmp word [0x492220], 0xd7b2
jne 0x403f1d
cmp dword [0x492228], 0
jbe 0x403f1d
mov eax, 0x49221c
call dword [0x492238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f7c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48f030], 0
jne 0x403f71
push 0
push 0x48f064
push 0x48f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ee0
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 0x405f46
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.00404300
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d30
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f30
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f4d
lea eax, [ebp - 0x10]
call fcn.00404090
ret

Function at 0x40bb5c
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 0x40bb95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404180
jmp 0x40bb9e
mov eax, ebx
mov edx, esi
call fcn.004040e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bba8
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 0x40bbc9
mov al, byte [esp]
jmp 0x40bbcb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c250
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0c8
mov eax, dword [0x49127c]
cmp byte [eax], 0
je 0x40c2cc
mov eax, dword [0x490f1c]
call fcn.00402b9c
call fcn.004028c4
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.00408b2c
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 0x40c314
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c302
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x490ea4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x492668]
call fcn.004053b0
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 0x40cbbc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cc92
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404128
lea eax, [ebp - 8]
call fcn.004045a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404550
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc7c
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404550
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cca4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc5f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc7c
mov eax, dword [ebp - 0x10]
call fcn.0040277c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc99
lea eax, [ebp - 8]
call fcn.00404090
ret

Function at 0x40d19c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d200
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404300
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d207
lea eax, [ebp - 0xc]
call fcn.00404090
ret

Function at 0x41ef10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x492888
cmp dword [edi], 0
jne 0x41ef8c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x492884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48f47c
mov ecx, 2
call fcn.00402958
mov edx, 0x41eee8
lea eax, [esi + 5]
call fcn.0041ef08
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ef08
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41ef61
mov dword [0x492884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4205b8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4205be
ret
Function at 0x422b24
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x422b75
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422b5c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422b4c
jmp 0x422b75
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x422b5d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b9c
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 0x432d05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404128
mov eax, dword [ebp - 0x10]
call fcn.00432828
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x432bee
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004045f0
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.00432f74
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432cc3
xor eax, eax
push ebp
push 0x432cbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00432998
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00432d14
test al, al
je 0x432c9a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404180
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x432c9a
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.00404550
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x432c94
mov eax, dword [ebp - 0x14]
call fcn.00404550
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404288
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00432b9c
dec ebx
cmp ebx, 0xffffffff
jne 0x432c4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432cc3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00432998
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404550
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00432984
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 0x432d0c
lea eax, [ebp - 0x3c]
call fcn.00404090
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004040b4
ret
Function at 0x432cc3
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 0x432d05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404128
mov eax, dword [ebp - 0x10]
call fcn.00432828
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x432bee
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004045f0
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.00432f74
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432cc3
xor eax, eax
push ebp
push 0x432cbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00432998
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00432d14
test al, al
je 0x432c9a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404180
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x432c9a
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.00404550
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x432c94
mov eax, dword [ebp - 0x14]
call fcn.00404550
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404288
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00432b9c
dec ebx
cmp ebx, 0xffffffff
jne 0x432c4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432cc3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00432998
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404550
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00432984
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 0x432d0c
lea eax, [ebp - 0x3c]
call fcn.00404090
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004040b4
ret

Function at 0x432d14
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.00402d10
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 [0x491438]
cmp byte [edx + 0xc], 0
je 0x432d78
mov edx, dword [0x491424]
cmp dword [edx], 2
jne 0x432d78
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
Function at 0x432e98
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0043283c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404550
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x432ef6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x491104]
mov dl, 1
mov eax, dword [0x4326c8]
call fcn.0040c41c
call fcn.00403aac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404550
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x432f58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x491444]
mov dl, 1
mov eax, dword [0x4326c8]
call fcn.0040c41c
call fcn.00403aac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043286c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x433198
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4332af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00432998
xor eax, eax
push ebp
push 0x43328a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00432d14
test al, al
je 0x43326e
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00433078
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404180
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x43326e
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
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 - 0xc]
call fcn.00404550
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x43326a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404550
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00404288
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00433078
pop ecx
inc edi
dec ebx
jne 0x43321f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433291
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00432998
ret