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

Disassembly:
push 0xffffffffffffffff
push 0x4f681b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.004c55f0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.004c55f0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.004c55f0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.004c55f0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.004c55f0
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0xd05390
call fcn.004c5240
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0xd05390
call fcn.004c5240
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.004e1084
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.004e1084
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0xd05390
call fcn.004c5240
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xd05390
call fcn.004c5240
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.004e1084
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.004e1084
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004c55f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0xdb1c84
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pushal
lea esp, [esp + 0x17]
lea esp, [esp + 1]
lea esp, [esp + 8]
lea esp, [esp + 4]
jmp 0xdef820
push edx
mov dword [esp], esi
lea esp, [esp + 4]
push 0xdb1cf2
mov eax, dword fs:[0]
pushal
mov word [esp + 3], ax
pop dword [esp + 2]
mov dword [esp + 0x18], eax
pushfd
pop word [esp]
push word [esp]
mov dword [esp], ebp
mov byte [esp], bh
mov word [esp], si
mov word [esp], ax
mov dword [esp], edx
push word [esp + 2]
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x10]
sub esp, eax
push ebx
push esi
push dx
push word [esp + 1]
push esi
push word [esp + 6]
pop word [esp + 3]
push word [esp]
lea esp, [esp + 2]
mov dword [esp + 4], edi
pushal
push word [esp + 0xe]
pop word [esp + 0xf]
mov byte [esp + 1], ah
push esp
push dword [esp + 0x12]
mov dword [esp + 0x21], edi
push ebp
mov word [esp + 0xa], dx
lea esp, [esp + 0x30]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], esp
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, ebp
lea ecx, [ecx - 8]
mov dword [ecx], eax
pop ecx
ret
Function at 0xdb2ce1
Capabilities:
Enumerate pe sections
Hash data with md5

Disassembly:
push esi
lea esp, [esp + 4]
lea esp, [esp + 4]
jmp 0xdb2cf8
pushfd
lea esp, [esp + 4]
mov eax, dword [esp + 4]
push edi
mov edi, ecx
test eax, eax
je 0xdf073f
jmp 0xdf06fc
dec dword [esp + 8]
mov al, byte [edx]
mov byte [ecx], al
mov eax, dword [esp + 8]
inc ecx
inc edx
test eax, eax
jne 0xdf06fc
je 0xdf073f
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x3c]
xor edx, edx
add ecx, ebp
mov eax, 0x10b
mov dword [esp + 0x14], edx
cmp word [ecx + 0x18], ax
je 0xdf076d
jmp 0xdf074c
dec dword [esp + 8]
mov eax, edi
pop edi
ret
xor eax, eax
pop ebp
add esp, 0x24
ret 8
push ebp
pushal
xchg ebp, edi
mov dh, ch
mov edi, 0x7fc32cc7
mov dword [esp + 8], ecx
pushfd
push word [esp + 2]
push dword [esp]
push word [esp + 9]
lea esp, [esp + 0xc]
popal
lea ebp, [ebp + 0x78]
mov eax, dword [ebp]
pop ebp
push ebx
mov ebx, ecx
lea ebx, [ebx + 0x7c]
mov ecx, dword [ebx]
pop ebx
add eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0xdf072f
mov ecx, dword [eax + 0x20]
jmp 0xdf0813
cmp ecx, edx
je 0xdf072f
push ebx
push ecx
mov ecx, eax
lea ecx, [ecx + 0x18]
mov ebx, dword [ecx]
pop ecx
push esi
push edi
mov edi, eax
lea edi, [edi + 0x24]
mov esi, dword [edi]
pop edi
push edi
mov edi, dword [eax + 0x1c]
add ecx, ebp
add esi, ebp
add edi, ebp
sub ebx, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
js 0xdf07f4
mov edx, dword [esp + 0x3c]
mov al, byte [edx]
mov byte [esp + 0x38], al
movzx eax, al
mov dword [esp + 0x28], eax

Function at 0xdb3791
Capabilities:
Hash data with md5

Disassembly:
push eax
lea esp, [esp + 4]
lea esp, [esp + 4]
jmp 0xdb37a8
pushal
pushfd
lea esp, [esp + 3]
mov byte [esp + 0x14], al
push word [esp + 0x15]
jmp 0xdb382a
mov cx, word [esp]
bswap ecx
mov ch, 0xeb
mov ch, byte [esp]
lea ecx, [ecx + esi]
mov cl, 0xfe
lea ecx, [ebx*4]
bswap cx
mov dword [esp + 1], esi
jmp 0xdb386a
pop dword [esp + 0xc]
mov dword [esp + 6], ebx
mov byte [esp + 0xe], ch
pop dword [esp + 0xf]
lea esp, [esp + 3]
mov dword [esp + 0xa], ecx
jmp 0xdb37fc
mov ecx, 0x24a86cdb
push sp
mov ch, byte [esp + 1]
mov ch, 0x49
mov si, word [esp]
lea esi, [eax + ebp]
mov ecx, 0x4567563c
jmp 0xdb38a1
mov si, 0x6f63
lea esi, [edx*4]
mov esi, 0x74963dd5
setge ch
jmp 0xdf1555

Function at 0xde1bfd
Capabilities:
Hash data with md5

Disassembly:
call fcn.00db2f71
push esp
pop word [esp]
lea esp, [esp + 2]
pushfd
mov word [esp + 1], bx
jmp 0xde1c9b
lea esp, [esp + 4]
jmp 0xdb378c

Function at 0xde2281
Capabilities:
Enumerate pe sections
Hash data with md5

Disassembly:
call fcn.00db2ce1
pushal
setle al
popal
pushal
pushfd
pushal
pop dword [esp + 0x31]
push word [esp + 0x21]
push word [esp]
mov word [esp + 0x30], cx
mov dword [esp + 0x16], esi
lea esp, [esp + 0x44]
jmp 0xde22c2
push cx
lea esp, [esp + 2]
jmp 0xdb2d1c

Function at 0xde2388
Capabilities:
Enumerate pe sections
Hash data with md5

Disassembly:
push si
pushfd
lea esp, [esp + 2]
lea esp, [esp + 4]
push edx
mov dword [esp], edi
lea esp, [esp + 4]
jmp 0xdb2cdc
Function at 0xde2e48
Capabilities:
Enumerate pe sections
Hash data with md5

Disassembly:
call fcn.00db2cb1
pushal
lea esp, [esp + 0x20]
pushfd
lea esp, [esp + 4]
jmp 0xdb2cdc
Function at 0x402ed0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004045a4
test esi, esi
jne 0x402f07
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.00404694
jmp 0x402f28
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d6c
mov dword [esp], eax
test esi, esi
je 0x402f28
cmp dword [ebx], 0
je 0x402f28
dec esi
jmp 0x402f0f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f0020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036d8
xor eax, eax
push ebp
push 0x4036d1
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 0x403714
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 0x4036d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f0020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f0020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404420
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f504c], 0
je 0x404481
cmp word [0x4f5220], 0xd7b2
jne 0x404449
cmp dword [0x4f5228], 0
jbe 0x404449
mov eax, 0x4f521c
call dword [0x4f5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f006c
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 0x4044a8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f0030], 0
jne 0x40449d
push 0
push 0x4f0064
push 0x4f006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4068b0
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 0x406916
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.00404814
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040318c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406900
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40691d
lea eax, [ebp - 0x10]
call fcn.004045a4
ret

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

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

Function at 0x40c658
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 0x40c691
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404694
jmp 0x40c69a
mov eax, ebx
mov edx, esi
call fcn.004045f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cd5c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cbc4
mov eax, dword [0x4f480c]
cmp byte [eax], 0
je 0x40cdd8
mov eax, dword [0x4f4478]
call fcn.00402fec
call fcn.00402c98
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.00409cc4
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 0x40ce20
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ce0e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f43e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f5668]
call fcn.00405cd0
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 0x40d6d0
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 0x40d7a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040463c
lea eax, [ebp - 8]
call fcn.00404ab4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a64
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d790
mov eax, ebx
call fcn.00402b0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d789
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.00404a64
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d773
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d7b8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d773
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 0x40d790
mov eax, dword [ebp - 0x10]
call fcn.00402b3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7ad
lea eax, [ebp - 8]
call fcn.004045a4
ret

Function at 0x40de04
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 0x40de68
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.00404814
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004093f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de6f
lea eax, [ebp - 0xc]
call fcn.004045a4
ret

Function at 0x420d78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f5888
cmp dword [edi], 0
jne 0x420df4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f5884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f03fc
mov ecx, 2
call fcn.00402d2c
mov edx, 0x420d50
lea eax, [esi + 5]
call fcn.00420d70
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420d70
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 0x420dc9
mov dword [0x4f5884], 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 0x422458
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 0x42245e
ret
Function at 0x424e50
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 0x424ea1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424e88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424e78
jmp 0x424ea1
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 0x424e89
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430314
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.00404a54
xor eax, eax
push ebp
push 0x430442
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x430415
xor eax, eax
push ebp
push 0x43040e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404864
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4303e3
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 0x4303d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404864
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a64
mov edx, ebx
pop ecx
call fcn.00402d2c
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 0x4303d9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4f42ec]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040ceec
call fcn.00403f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430449
lea eax, [ebp - 4]
call fcn.004045a4
ret
Function at 0x430450
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 0x430601
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404c54
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430618
call fcn.004048b0
mov eax, ebx
call fcn.0042030c
mov edi, eax
dec edi
test edi, edi
jl 0x430508
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004202e0
mov edx, dword [0x4476a4]
call fcn.00403994
test al, al
je 0x430504
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004202e0
lea edx, [ebp - 0x14]
call fcn.00452e78
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404c54
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404924
inc esi
dec edi
jne 0x4304b6
mov al, byte [0x43061c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430628
mov eax, dword [ebp - 0xc]
call fcn.0040e3e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040463c
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.00452e78
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430618
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.00452e78
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430618
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, 0x430618
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, 0x430634
call fcn.0040a40c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430608
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x14]
call fcn.004045a4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004045c8
ret
Function at 0x436f38
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 0x4370a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040463c
mov eax, dword [ebp - 0x10]
call fcn.00436bc4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x436f8a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b04
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.00437320
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43705f
xor eax, eax
push ebp
push 0x437058
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00436d34
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004370b0
test al, al
je 0x437036
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404694
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x437036
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.00404a64
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x437030
mov eax, dword [ebp - 0x14]
call fcn.00404a64
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040479c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00436f38
dec ebx
cmp ebx, 0xffffffff
jne 0x436fe9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43705f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00436d34
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a64
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00436d20
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 0x4370a8
lea eax, [ebp - 0x3c]
call fcn.004045a4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045c8
ret
Function at 0x43705f
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 0x4370a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040463c
mov eax, dword [ebp - 0x10]
call fcn.00436bc4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x436f8a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b04
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.00437320
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43705f
xor eax, eax
push ebp
push 0x437058
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00436d34
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004370b0
test al, al
je 0x437036
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404694
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x437036
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.00404a64
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x437030
mov eax, dword [ebp - 0x14]
call fcn.00404a64
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040479c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00436f38
dec ebx
cmp ebx, 0xffffffff
jne 0x436fe9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43705f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00436d34
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a64
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00436d20
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 0x4370a8
lea eax, [ebp - 0x3c]
call fcn.004045a4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045c8
ret

Function at 0x4370b0
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.0040316c
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 [0x4f4a10]
cmp byte [edx + 0xc], 0
je 0x437114
mov edx, dword [0x4f4a00]
cmp dword [edx], 2
jne 0x437114
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