joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1c80
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004017c1
mov eax, dword [0x4de00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4e0258]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4a1e58
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x4a1da7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x4a1da7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4a1d85
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x4a1d09
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4a1e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4a1e78
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4a1e53
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4a1e78
jmp 0x4a1ce2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022ac
mov esp, ebp
pop ebp
ret
Function at 0x4a1f10
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004017c1
mov eax, dword [0x4de00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4e0258]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4a20fb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x4a2046
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x4a2046
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x4a2022
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4a1f99
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4a20b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4a211b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4a20f6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4a211b
jmp 0x4a1f72
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022ac
mov esp, ebp
pop ebp
ret
Function at 0x40d4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496719
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004779e3
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004779e3
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 8
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004779e3
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004779e3
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004779e3
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x50], ecx
mov edx, dword [ebp + 8]
add edx, 0x54
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.0040d670
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d824
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x40d83a
xor eax, eax
jmp 0x40d93b
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x908], 0
je 0x40d84e
mov ecx, dword [ebp - 0x18]
call fcn.0040dcd5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x804], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x910], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x910], 0
jne 0x40d880
xor eax, eax
jmp 0x40d93b
push 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x910]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042a850
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x10]
push edx
call fcn.0042b150
add esp, 0xc
mov word [ebp - 0x10], 2
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 0x804]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0xe], ax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 9]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0xa]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0xb]
and edx, 0xff
push edx
mov eax, dword [ebp - 0xc]
and eax, 0xff
push eax
push 0x4b29f0
mov ecx, dword [ebp - 0x18]
add ecx, 0x808
push ecx
call fcn.0042b333
add esp, 0x18
push 0x10
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x90c]
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
je 0x40d929
xor eax, eax
jmp 0x40d93b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x908], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x40dc0e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x908], 0
jne 0x40dc27
xor eax, eax
jmp 0x40dc82
cmp dword [ebp + 8], 0
jne 0x40dc36
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp + 8], ecx
cmp dword [ebp + 0xc], 0
jne 0x40dc4e
mov edx, dword [ebp - 8]
add edx, 4
push edx
call fcn.0042ab90
add esp, 4
mov dword [ebp + 0xc], eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x90c]
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x40dc71
xor eax, eax
jmp 0x40dc82
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040ddd1
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x40dc88
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x908], 0
jne 0x40dca1
xor eax, eax
jmp 0x40dccf
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x90c]
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x40dccc
mov ecx, dword [ebp - 8]
call fcn.0040dcd5
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x40dd7b
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0
jne 0x40dd93
mov dword [ebp + 0xc], 0x1006
jmp 0x40dd9a
mov dword [ebp + 0xc], 0x1005
push 4
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x90c]
push eax
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ddc6
xor eax, eax
jmp 0x40ddcb
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x40ddd1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x918], 0
jne 0x40deb6
mov byte [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x40de9d
cmp dword [ebp - 0xc], 0x400
jge 0x40de9d
push 0
push 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x90c]
push eax
call dword [sym.imp.WSOCK32.dll_recv]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ecx + 0x404], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jl 0x40de98
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
movsx edx, byte [ecx + 0x400]
cmp edx, 0xd
jne 0x40de98
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x401]
cmp ecx, 0xa
jne 0x40de98
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx + 0x402]
cmp eax, 0xd
jne 0x40de98
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
movsx edx, byte [ecx + 0x403]
cmp edx, 0xa
jne 0x40de98
mov dword [ebp - 4], 1
jmp 0x40ddfc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x91c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x918], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x91c]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
add eax, 0x404
mov esp, ebp
pop ebp
ret 4
Function at 0x40e2e0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x9e3779b9
mov ecx, dword [ebp - 0x10]
shl ecx, 3
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x40e31f
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 8
jge 0x40e383
mov eax, dword [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
xor eax, edx
mov ecx, dword [ebp - 0xc]
shr ecx, 5
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 4
mov eax, dword [ebp + 0x10]
add edx, dword [eax]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 4]
xor edx, ecx
mov eax, dword [ebp - 0x14]
shr eax, 5
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 4]
xor edx, eax
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x40e316
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret

Function at 0x40e4da
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push 0x4bf9a0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00420102
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e504
xor eax, eax
jmp 0x40e5ed
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004202e5
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40e530
mov eax, dword [ebp - 4]
push eax
call fcn.00420344
add esp, 4
xor eax, eax
jmp 0x40e5ed
lea ecx, [ebp - 0x134]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call fcn.00420136
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40e561
mov eax, dword [ebp - 4]
push eax
call fcn.00420344
add esp, 4
xor eax, eax
jmp 0x40e5ed
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], 0
jmp 0x40e588
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x13c]
jge 0x40e5d2
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00420136
add esp, 0xc
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004202a9
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x40e579
mov ecx, dword [ebp - 4]
push ecx
call fcn.00420344
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40fe56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
cmp dword [ebp - 4], 0
jne 0x40fea5
mov eax, 1
jmp 0x40fea7
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40fead
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
cmp dword [ebp - 4], 0
jne 0x40fef4
mov eax, 1
jmp 0x40fef6
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40fefc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0
cmp dword [ebp - 4], 0
jne 0x40ff40
mov eax, 1
jmp 0x40ff42
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x40ff48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], 4
cmp dword [ebp - 8], 0
jne 0x40ff9f
mov eax, 1
jmp 0x40ffa1
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x410000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042ab90
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042ab90
add esp, 4
add eax, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax + 8], 1
cmp dword [ebp - 4], 0
jne 0x41006a
mov eax, 1
jmp 0x41006c
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x410072
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
cmp dword [ebp - 4], 0
jne 0x4100d4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 1
jmp 0x4100d6
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x410146
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 0xc8
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
cmp dword [ebp - 4], 0
jne 0x4101cd
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00477df7
mov eax, 1
jmp 0x4101cf
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4101d5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0x32
call fcn.004779af
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push 0x32
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x103
jne 0x41022a
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004779d8
add esp, 4
xor eax, eax
jmp 0x410257
cmp dword [ebp - 4], 0
jne 0x410255
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00477df7
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004779d8
add esp, 4
mov eax, 1
jmp 0x410257
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41034d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10c], 0xc8
push 0x28
call fcn.004779af
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x103
jne 0x4103ef
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.004779d8
add esp, 4
xor eax, eax
jmp 0x410476
cmp dword [ebp - 0x104], 0
jne 0x410438
mov edx, dword [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00477df7
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00477df7
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004779d8
add esp, 4
mov eax, 1
jmp 0x410476
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.00477df7
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00477df7
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.004779d8
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc