joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e0e8
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x4b0b95], eax
pop eax
push eax
call 0x48e0bf
dec esp
outsd dx, dword [esi]
outsd dx, dword [esi]
imul esi, dword [ebp + 0x70], 0x50
jb 0x48e11b
jbe 0x48e11d
insb byte es:[edi], dx
push esi
popal
insb byte es:[edi], dx
jne 0x48e122
push edi
add byte [eax - 1], dl
adc eax, sym.imp.KERNEL32.DLL_GetProcAddress
mov dword [0x4b0b99], eax
pop eax
push eax
call 0x48e0e8
inc ecx
push 0x75
jae 0x48e14c
push esp
outsd dx, dword [esi]
imul esp, dword [ebp + 0x6e], 0x50
jb 0x48e149
jbe 0x48e14b
insb byte es:[edi], dx
jae 0x48e0e8
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x4b0b9d], eax
pop eax
jmp 0x48e135
jbe 0x48e11d
imul eax, dword [eax], 0x65006c
add byte [di], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi], ah
add byte gs:[eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, ch
or eax, 0x9d000000
call fcn.0048e147
popfd
popal
jmp fcn.0044e076
in al, dx
sub esp, 0x14
push esi
in al, dx
adc al, 0x56
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [0x4b0b95]
test eax, eax
je 0x48e1b0
lea eax, [ebp - 0x10]
push eax
push 0x48e107
push esi
call dword [0x4b0b99]
test eax, eax
je 0x48e1a7
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [0x4b0b9d]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x50e4405d
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x48bd414f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
ret
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
imul edi, dword [ebx + 0x22010b54], 0x323cc9c1
lds ebx, [ebp - 0x75ef83d]
jge 0x415354
pop ecx
popal
or esp, 0x22394f4e
ror ecx, 0x3c
xor dh, byte [ecx + 0x72fb3c88]
mov byte [edx + esi], bh
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
aam 0xf9
stc
dec esi
ja 0x415308
int1
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
push dword [edx]
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
push dword [edx]
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
cmp al, 0x32
mov cl, 0x88
pushfd
mov dl, 0xd1
leave
cmp al, 0x90
cmp eax, 0x8872327d
jge 0x4153ac
jb 0x415304
cmp al, 0x32
mov cl, 0x88
imul edi, dword [ebx + 0x3a790354], 0xb930cd3a
in al, 0x98
mov esp, 0x7de9610f
xor dh, byte [ecx + 0x49b17bfd]
mov dword [esi + 0x70], ecx
xor ah, byte [eax + 0x3d]
inc esi
mov ebp, 0xc533d40b
wait
mov edi, 0x23fcb0da
fld dword [eax + 0x4e66fc60]
cmp bh, byte [edx]
int 0x30
mov ecx, 0xfbc98e4
popal
jmp 0xfdf28611
aam 0x33
lds ebx, [ebx - 0x34f2541]
and ebx, ecx
and byte [eax - 4], 0x66
dec esi
cld
dec si
ja 0x415385
fldlg2
ja 0x415378
fst dword [eax + 0x774e6b18]
test byte [edx], dh
mov cl, 0x88
cmp eax, 0xc3defbda
ja 0x415341
xor dh, byte [ecx - 0x425c278]
faddp st(3)
int 0x5a
pushfd
ret
imul edi, dword [ebx - 0x2dc6b1ac], 0x333cc9d0
fstp dword [eax + 0x2e]
jno 0x4153a0
loop 0x4153bb
invalid
Function at 0x402d80
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402dbd
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402ddd
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404d7c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402fbc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403015
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402e58
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402e58
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402fff
inc ebx
jmp 0x402fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40301c
lea eax, [ebp - 8]
call fcn.00404afc
ret

Function at 0x403024
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404afc
test esi, esi
jne 0x40305b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404bec
jmp 0x40307c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e58
mov dword [esp], eax
test esi, esi
je 0x40307c
cmp dword [ebx], 0
je 0x40307c
dec esi
jmp 0x403063
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403670
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a3008], 0x8088405
inc edx
mov dword [ebx + 0x4a3008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403bdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a3024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c54
xor eax, eax
push ebp
push 0x403c4d
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 0x403c90
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 0x403c54
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a3024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a3024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404978
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a704c], 0
je 0x4049d9
cmp word [0x4a7220], 0xd7b2
jne 0x4049a1
cmp dword [0x4a7228], 0
jbe 0x4049a1
mov eax, 0x4a721c
call dword [0x4a7238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a3094
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 0x404a00
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a3034], 0
jne 0x4049f5
push 0
push 0x4a308c
push 0x4a3094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406c70
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 0x406cd6
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.00404d7c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406cc0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cdd
lea eax, [ebp - 0x10]
call fcn.00404afc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404fcc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4097d9
test al, 0x10
jne 0x4097dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c938
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 0x40c971
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bec
jmp 0x40c97a
mov eax, ebx
mov edx, esi
call fcn.00404b50
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d188
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cff0
mov eax, dword [0x4a632c]
cmp byte [eax], 0
je 0x40d204
mov eax, dword [0x4a602c]
call fcn.00403428
call fcn.00402d00
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.00409ab0
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 0x40d24c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d23a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a5fb4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a7668]
call fcn.00406070
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 0x40dafc
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 0x40dbd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b94
lea eax, [ebp - 8]
call fcn.0040501c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404fcc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dbbc
mov eax, ebx
call fcn.00402b74
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dbb5
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.00404fcc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40db9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dbe4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40db9f
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 0x40dbbc
mov eax, dword [ebp - 0x10]
call fcn.00402ba4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbd9
lea eax, [ebp - 8]
call fcn.00404afc
ret

Function at 0x40e140
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 0x40e1a4
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.00404d7c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409420
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1ab
lea eax, [ebp - 0xc]
call fcn.00404afc
ret

Function at 0x422940
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a788c
cmp dword [edi], 0
jne 0x4229bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a7888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a35c8
mov ecx, 2
call fcn.00402e18
mov edx, 0x422918
lea eax, [esi + 5]
call fcn.00422938
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422938
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 0x422991
mov dword [0x4a7888], 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 0x424b6c
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 0x424cd5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404b94
mov eax, dword [ebp - 0x10]
call fcn.004247f8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x424bbe
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040506c
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.00425000
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x424c93
xor eax, eax
push ebp
push 0x424c8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00424968
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00424d04
test al, al
je 0x424c6a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404bec
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x424c6a
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.00404fcc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x424c64
mov eax, dword [ebp - 0x14]
call fcn.00404fcc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404d04
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00424b6c
dec ebx
cmp ebx, 0xffffffff
jne 0x424c1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424c93
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00424968
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404fcc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00424954
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 0x424cdc
lea eax, [ebp - 0x3c]
call fcn.00404afc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b20
ret
Function at 0x424c93
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 0x424cd5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404b94
mov eax, dword [ebp - 0x10]
call fcn.004247f8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x424bbe
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040506c
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.00425000
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x424c93
xor eax, eax
push ebp
push 0x424c8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00424968
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00424d04
test al, al
je 0x424c6a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404bec
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x424c6a
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.00404fcc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x424c64
mov eax, dword [ebp - 0x14]
call fcn.00404fcc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404d04
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00424b6c
dec ebx
cmp ebx, 0xffffffff
jne 0x424c1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424c93
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00424968
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404fcc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00424954
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 0x424cdc
lea eax, [ebp - 0x3c]
call fcn.00404afc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b20
ret

Function at 0x424d04
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.00403650
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 [0x4a64b8]
cmp byte [edx + 0xc], 0
je 0x424d68
mov edx, dword [0x4a64ac]
cmp dword [edx], 2
jne 0x424d68
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 0x424d6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x424e24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00424d04
test al, al
je 0x424e06
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404bec
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x424e06
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.00404fcc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404fcc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404d04
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x424dbf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424e2b
lea eax, [ebp - 0x2c]
call fcn.00404afc
lea eax, [ebp - 0xc]
call fcn.00404afc
ret

Function at 0x424f24
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.0042480c
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.00404fcc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x424f82
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a61d4]
mov dl, 1
mov eax, dword [0x424698]
call fcn.0040d354
call fcn.00404510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424f8c
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.00404fcc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x424fe4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a64c4]
mov dl, 1
mov eax, dword [0x424698]
call fcn.0040d354
call fcn.00404510
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042483c
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 0x425224
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 0x42533b
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.00424968
xor eax, eax
push ebp
push 0x425316
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.00424d04
test al, al
je 0x4252fa
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00425104
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404bec
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4252fa
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.00404fcc
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x4252f6
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404fcc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00404d04
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00425104
pop ecx
inc edi
dec ebx
jne 0x4252ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42531d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00424968
ret