joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4344f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46a528
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434529
inc eax
mov dword [esi + 0x10], eax
jmp 0x43463c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43453d
mov eax, 0xffffffc7
jmp 0x43463e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43454e
cmp dword [esi + 8], eax
jne 0x43453d
cmp dword [esi + 8], eax
jne 0x434567
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x434567
mov eax, 0xffffffc7
jmp 0x43463e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43457b
push eax
mov ecx, ebx
call fcn.00433d20
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00406350
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4345ac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406370
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00433490
test eax, eax
mov dword [esp + 0x38], eax
je 0x4345df
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8270
call fcn.00406550
mov eax, dword [esp + 0x38]
jmp 0x43463e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00434350
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434623
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00434370
mov esi, eax
test esi, esi
jne 0x434653
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00434350
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4345f5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8270
call fcn.00406550
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8270
call fcn.00406550
mov eax, esi
jmp 0x43463e

Function at 0x437760
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4377c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4377c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4377c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4377c0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43d960
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ab58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00463bc2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d300
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00463af0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004603b6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004603b6
push 1
push 0
push 0
mov ecx, esi
call fcn.0046035e
push 1
push 0
push 1
mov ecx, esi
call fcn.0046035e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463c34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43dae0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ab78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00463bc2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d300
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00463af0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43dba4
cmp dword [esp + 0x40], 1
jne 0x43dba2
cmp ecx, eax
jge 0x43dba4
mov eax, ecx
cmp eax, 0xc8
jge 0x43dbb0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d960
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463c34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e320
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46abe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045e7d2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00463e6a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00465386
test eax, eax
je 0x43e43c
mov ecx, dword [esp + 0x3c]
call fcn.00463e97
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43e400
push edi
mov ecx, esi
call fcn.00461501
mov ecx, esi
call fcn.0043e5a0
cmp dword [esp + 0x38], 1
jne 0x43e435
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046163c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440e70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440ea3
push esi
call fcn.00443f60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x440e9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440f29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440f12
mov eax, dword [esi + 8]
test eax, eax
je 0x440ec7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x440f0e
cmp eax, 2
je 0x440f12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440eba
cmp eax, 3
je 0x440eed
cmp eax, 1
jne 0x440eba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x440eba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440eba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440f50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440f38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440f50
add esp, 4
pop esi
ret

Function at 0x45f5c7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45f5ff
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045d67e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045d656
jmp 0x45f60b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x460cbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460d00
call fcn.00466776
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460d00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460cf7
xor eax, eax
jmp 0x460d08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460d0e
pop edi
pop esi
pop ebx
ret 4

Function at 0x466ca6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x466cd4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466cf2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00466c0c
jmp 0x466cf2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466cf2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00466c0c
test edi, edi
mov eax, edi
jne 0x466cdc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401350
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401362
mov eax, dword [0x47e08b]
shl eax, 2
mov dword [0x47e08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00472d4c
pop edx
call fcn.00472cb0
call fcn.00472d8c
push 0
call fcn.00474198
pop ecx
push 0x47e034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x47e093], eax
push 0
jmp fcn.00477fdc
Function at 0x4072d4
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x101
call sub.WSOCK32.DLL_WSAStartup
test eax, eax
je 0x4072ed
xor eax, eax
jmp 0x4072ef
mov al, 1
add esp, 0x190
ret

Function at 0x407544
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
mov eax, 0x481494
push ebx
push esi
push edi
call fcn.004734f8
mov word [ebp - 0x1c], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.004072d4
test al, al
je 0x4075ec
push 0x100
lea ecx, [ebp - 0x12c]
push ecx
call sub.WSOCK32.DLL_gethostname
test eax, eax
jne 0x4075ec
lea eax, [ebp - 0x12c]
push eax
call sub.WSOCK32.DLL_gethostbyname
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4075ec
mov word [ebp - 0x1c], 0x20
mov eax, dword [esi + 0xc]
push edi
xor edx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
push ecx
inc dword [ebp - 0x10]
call fcn.004072f8
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
add esp, 8
mov ecx, dword [eax]
mov edx, dword [edx]
call dword [ecx + 0x38]
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047c298
inc ebx
jmp 0x4075a4
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x10]
call fcn.0047c298
pop eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c3c4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
xor esi, esi
jmp 0x40c423
lea eax, [ebp - 4]
push eax
push ebx
push edi
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
je 0x40c3e9
inc esi
jmp 0x40c423
lea edx, [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
call sub.ADVAPI32.DLL_RegCreateKeyA
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0040c3c4
add esp, 0x14
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
mov ecx, dword [ebp - 8]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
inc esi
push 0x100
push ebx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyA
test eax, eax
je 0x40c3d7
xor esi, esi
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x18]
push edx
push ecx
push 0
push eax
push ebx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumValueA
cmp eax, 0x103
je 0x40c4af
cmp eax, 0xea
jne 0x40c46f
inc esi
jmp 0x40c436
test eax, eax
jne 0x40c4af
cmp dword [ebp + 0x10], 0
jne 0x40c494
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40c494
inc esi
jmp 0x40c436
mov eax, dword [ebp - 0x10]
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
push 0
push ebx
mov eax, dword [ebp + 0xc]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
inc esi
jmp 0x40c436
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c85c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x488068
cmp dword [edi], 0
jne 0x41c8d8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x488064]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4837d0
mov ecx, 2
call fcn.00430cec
mov edx, 0x41c834
lea eax, [esi + 5]
call fcn.0041c854
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c854
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 0x41c8ad
mov dword [0x488064], 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 0x41dc90
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 0x41ddf9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0043262c
mov eax, dword [ebp - 0x10]
call fcn.0041d9f8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x41dce2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00432ae4
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.0041e1fc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41ddb7
xor eax, eax
push ebp
push 0x41ddb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041db68
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0041de08
test al, al
je 0x41dd8e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00432684
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x41dd8e
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.00432a44
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x41dd88
mov eax, dword [ebp - 0x14]
call fcn.00432a44
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00432784
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0041dc90
dec ebx
cmp ebx, 0xffffffff
jne 0x41dd41
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ddb7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041db68
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00432a44
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0041db54
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 0x41de00
lea eax, [ebp - 0x3c]
call fcn.00432594
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004325b8
ret
Function at 0x41ddb7
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 0x41ddf9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0043262c
mov eax, dword [ebp - 0x10]
call fcn.0041d9f8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x41dce2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00432ae4
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.0041e1fc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41ddb7
xor eax, eax
push ebp
push 0x41ddb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041db68
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0041de08
test al, al
je 0x41dd8e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00432684
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x41dd8e
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.00432a44
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x41dd88
mov eax, dword [ebp - 0x14]
call fcn.00432a44
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00432784
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0041dc90
dec ebx
cmp ebx, 0xffffffff
jne 0x41dd41
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ddb7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041db68
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00432a44
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0041db54
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 0x41de00
lea eax, [ebp - 0x3c]
call fcn.00432594
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004325b8
ret

Function at 0x41de08
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.00431374
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 [0x487ba4]
cmp byte [edx + 0xc], 0
je 0x41de6c
mov edx, dword [0x487b9c]
cmp dword [edx], 2
jne 0x41de6c
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 0x41de70
Capabilities:
Query or enumerate registry key

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 0x41df28
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.0041de08
test al, al
je 0x41df0a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00432684
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x41df0a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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.00432a44
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00432a44
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00432784
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x41dec3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df2f
lea eax, [ebp - 0x2c]
call fcn.00432594
lea eax, [ebp - 0xc]
call fcn.00432594
ret

Function at 0x41e120
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.0041da0c
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.00432a44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x41e17e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487b80]
mov dl, 1
mov eax, dword [0x41d904]
call fcn.00424680
call fcn.004321f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41e188
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.00432a44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x41e1e0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487b7c]
mov dl, 1
mov eax, dword [0x41d904]
call fcn.00424680
call fcn.004321f4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041da3c
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 0x420f88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00432a44
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x420fa1
test al, 0x10
jne 0x420fa5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret