joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463234
Capabilities:
Create thread
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov edi, esp
movzx ecx, byte [ebx + 1]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x46329e
add ebx, 3
mov esi, dword [ebp + 0x18]
movzx eax, byte [ebx]
test al, 0x80
jne 0x463287
cmp al, 0xc
je 0x463277
cmp al, 5
jb 0x46328f
cmp al, 7
ja 0x46328f
push dword [esi + 4]
push dword [esi]
push edx
push eax
add esi, 8
jmp 0x463297
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
add esi, 0x10
jmp 0x463297
and al, 0x7f
or eax, 0x4000
push edx
push dword [esi]
push edx
push eax
add esi, 4
inc ebx
dec ecx
jne 0x463255
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
movzx eax, byte [ebx + 2]
mov dword [ebp - 4], eax
test eax, eax
je 0x4632b6
mov esi, dword [ebp + 0x14]
push dword [esi + eax*4 - 4]
dec eax
jne 0x4632af
movzx ecx, byte [ebx]
cmp ecx, 4
jne 0x4632d4
push 0xfffffffffffffffd
inc dword [ebp - 4]
cmp byte [ebx + 3], 9
je 0x4632cf
cmp byte [ebx + 3], 0xd
jne 0x4632d4
mov ecx, 8
mov dword [ebp - 0xc], esp
push edx
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
call fcn.00463224
pop edx
pop ecx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push 0x4952d4
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x46330e
lea edx, [ebp - 0x30]
mov ecx, dword [ebp + 4]
jmp fcn.00463164
mov esp, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e0c
xor eax, eax
push ebp
push 0x4637eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403e1c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4637cc
test byte [ebp - 0xc], 0x10
jne 0x4637d0
xor eax, eax
jmp 0x4637d2
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4637f2
lea eax, [ebp - 4]
call fcn.004039dc
ret

Function at 0x46a194
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e1c
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
setne al
pop ebx
ret
Function at 0x47394c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473a4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403e1c
push eax
call sub.wsock32.dll_inet_addr
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0xffffffff
je 0x47399c
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.00403a30
jmp 0x473a0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403e1c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4739ef
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x52], 0
je 0x473a37
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x34]
mov edx, 0x473a64
call fcn.00403ca4
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x54]
call dword [ebx + 0x50]
jmp 0x473a37
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.00403b90
mov eax, dword [ebp - 4]
push dword [eax + 0x40]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0xc]
call fcn.00407f30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00403a30
mov eax, dword [ebp - 4]
mov byte [eax + 0x6c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a54
lea eax, [ebp - 0xc]
call fcn.004039dc
ret
Function at 0x476390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4765c6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x495ea8]
mov eax, dword [eax]
call fcn.0042fd24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e1c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x47653a
mov eax, dword [ebp - 0xc]
call fcn.00407174
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00403e1c
push eax
call sub.version.dll_GetFileVersionInfoA
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax*4 + 0x495c18]
lea eax, [ebp - 0x24]
mov edx, 0x4765dc
call fcn.00403ca4
mov eax, dword [ebp - 0x24]
call fcn.00403e1c
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je case.0x47644c.0
mov eax, dword [ebp - 0x14]
cmp eax, 0xa
ja case.0x47644c.0
jmp dword [eax*4 + 0x476453]
mov eax, dword [ebp - 4]
add eax, 0x24
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x2c
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x30
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x34
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 0x20]
call fcn.00403b90
jmp case.0x47644c.0
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp - 0x20]
call fcn.00403b90
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xb
jne 0x476407
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004026c8
jmp 0x4765a8
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004039dc
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004039dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4765cd
lea eax, [ebp - 0x24]
call fcn.004039dc
lea eax, [ebp - 8]
call fcn.004039dc
ret
Function at 0x4818c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x481a99
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2c], 0
jne 0x481a80
mov eax, dword [esi + 0x24]
call fcn.00403c58
test eax, eax
jne 0x481919
mov eax, dword [esi + 0x28]
call fcn.00403c58
test eax, eax
jne 0x481919
mov eax, esi
call fcn.00481b38
jmp 0x481a80
cmp dword [esi + 0x94], 0
jne 0x481950
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x24]
call fcn.00407df0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x496ac8]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x94], eax
cmp dword [esi + 0x98], 0
jne 0x481987
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x28]
call fcn.00407df0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x496ac8]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.00481b78
mov ebx, eax
test bl, bl
jne 0x481a35
mov eax, dword [esi + 0x24]
call fcn.00403c58
test eax, eax
jne 0x4819bf
mov eax, dword [esi + 0xb0]
call fcn.00403c58
test eax, eax
je 0x481a35
mov eax, dword [esi + 0xb0]
call fcn.00403c58
test eax, eax
je 0x4819e1
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xb0]
call fcn.00407df0
jmp 0x481a0d
push dword [esi + 0x24]
push 0x481ab4
push dword [esi + 0x28]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00403d18
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00407df0
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jl 0x481a35
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.00481b78
mov ebx, eax
test bl, bl
jne 0x481a42
mov eax, esi
call fcn.00481b38
jmp 0x481a80
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x481a51
mov dword [esi + 0x9c], eax
jmp 0x481a5b
mov dword [esi + 0x9c], 1
mov eax, esi
call fcn.00481bf0
test al, al
je 0x481a80
mov eax, esi
mov bx, 0xfff0
call fcn.00402fa4
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00481db4
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481aa0
lea eax, [ebp - 0x108]
call fcn.004039dc
ret
Function at 0x486f2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e0c
mov eax, dword [ebp - 8]
call fcn.00403e0c
mov eax, dword [ebp - 0xc]
call fcn.00403e0c
xor eax, eax
push ebp
push 0x4870ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4870c0
call fcn.00403f40
mov ecx, eax
add ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403e5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403c58
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00403c58
sub ebx, eax
push ebx
mov eax, dword [ebp - 0x14]
call fcn.00403c58
mov edx, eax
inc edx
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00403e5c
cmp dword [ebp - 4], 0
jne 0x486fc9
cmp dword [ebp - 8], 0
je 0x486fec
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x4870cc
push dword [ebp - 8]
push 0x4870d8
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00403d18
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00482f7c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00407234
mov edx, dword [ebp - 0x18]
mov eax, 0x4870e4
call fcn.00403f40
test eax, eax
jle 0x487035
mov eax, dword [0x496af8]
mov eax, dword [eax + 0x5c4]
call fcn.004378d0
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x4870f8
mov eax, dword [ebp - 0x10]
call fcn.0048312c
jmp 0x487091
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00407234
mov edx, dword [ebp - 0x18]
mov eax, 0x48710c
call fcn.00403f40
test eax, eax
jle 0x487065
push 0
mov ecx, dword [ebp - 0xc]
mov edx, 0x487120
mov eax, dword [ebp - 0x10]
call fcn.0048312c
jmp 0x487091
push 1
push 0x48712c
push 0x48712c
mov eax, dword [ebp - 0xc]
call fcn.00403e1c
push eax
push 0
mov eax, dword [0x495ea8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
call fcn.004237a8
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4870b3
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403a00
ret
Function at 0x4167d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x2c], 0x15327
mov dword [ebp - 0x30], 0xd9c3
mov dword [ebp - 0x44], 0x1139b
mov dword [ebp - 0x58], 0x10033
mov dword [ebp - 0x34], 0x96ab
mov dword [ebp - 0x20], 0xf291
mov dword [ebp - 0x24], 0xd660
mov dword [ebp - 0x5c], 0x12c42
mov dword [ebp - 0x60], 0x10f6
mov dword [ebp - 0x28], 0xe14f
mov dword [ebp - 0x64], 0xc6b4
mov dword [ebp - 0x10], 0x13580
mov dword [ebp - 0x68], 0x89fd
mov dword [ebp - 0x6c], 0xba7a
mov dword [ebp - 0x54], 0x34e6
mov dword [ebp - 0x3c], 0x14d77
mov dword [ebp - 0x40], 0xe530
mov dword [ebp - 0x4c], 0x891e
mov dword [ebp - 0x48], 0x689d
mov dword [ebp - 0x50], 0x14d4a
mov dword [ebp - 0x38], 0x16a20
mov dword [ebp - 0x70], 0x11318
mov dword [ebp - 0x1c], 0xf6f9
mov dword [ebp - 0x74], 0x12c72
mov dword [ebp - 4], 0x650f
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jge 0x416896
mov dword [ebp - 0xc], 1
jmp 0x41689d
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0xc]
je 0x4168e6
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x34]
jne 0x4168e6
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x38]
jne 0x4168e6
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x20]
jne 0x4168e6
push 0x375a
push 0xf25a
push 0xe06c
push 0x97fd
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
add esp, 0x10
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jge 0x4168f7
mov dword [ebp - 0x14], 1
jmp 0x4168fe
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x4c]
jge 0x416913
mov dword [ebp - 0x18], 1
jmp 0x41691a
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x18]
je 0x41692b
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 0x69d8
push ecx
mov edx, dword [ebp - 4]
add edx, 0xaa66
push edx
mov eax, dword [ebp - 4]
add eax, 0xbc80
push eax
mov ecx, dword [ebp + 0x14]
sub ecx, 0x5b34
push ecx
call fcn.00412290
add esp, 0x10
mov dword [ebp - 8], 0
jmp 0x41696c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
sub eax, 0xf290
cmp dword [ebp - 8], eax
jge 0x416984
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x416963
mov edx, dword [ebp - 0x54]
add edx, 0x5b3f
push edx
call fcn.0041db70
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x417810
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x30], 0x85fa
mov dword [ebp - 0x54], 0xde9
mov dword [ebp - 0x44], 0x16b72
mov dword [ebp - 0x20], 0x15ab6
mov dword [ebp - 0x40], 0x39c5
mov dword [ebp - 0x28], 0xa3c7
mov dword [ebp - 0x58], 0x5d8b
mov dword [ebp - 8], 0xbad6
mov dword [ebp - 4], 0x1751d
mov dword [ebp - 0x2c], 0xf214
mov dword [ebp - 0x50], 0xb266
mov dword [ebp - 0x5c], 0xb3c
mov dword [ebp - 0x60], 0x7b69
mov dword [ebp - 0x64], 0x11c9d
mov dword [ebp - 0x68], 0x11fca
mov dword [ebp - 0x4c], 0x15245
mov dword [ebp - 0x6c], 0x1188f
mov dword [ebp - 0x3c], 0xccd0
mov dword [ebp - 0x48], 0x7b89
mov dword [ebp - 0x14], 0xcd33
mov dword [ebp - 0x10], 0x1869
mov dword [ebp - 0xc], 0x18be
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x38]
jge 0x4179ea
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x3c]
jne 0x4179ea
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x4179ea
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x18]
jne 0x4179ea
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 8]
jne 0x4179ea
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x4179ea
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp + 0x14]
jge 0x417927
mov dword [ebp - 0x18], 1
jmp 0x41792e
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x44]
imul edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x28]
jge 0x417943
mov dword [ebp - 0x1c], 1
jmp 0x41794a
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x48]
jge 0x41795b
mov dword [ebp - 0x24], 1
jmp 0x417962
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x24]
je 0x4179ea
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0xc]
jne 0x4179ea
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x4c]
jne 0x4179ea
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp + 8]
jne 0x4179ea
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x50]
jne 0x4179ea
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x1c]
jne 0x4179ea
push 0xb39a
push 0x16820
call dword [sym.imp.KERNEL32.dll_GetProcessDEPPolicy]
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
push 0xd71f
push 0x6db5
push 0xaca2
push 0x33b4
push 0x5003
push 0x6250
push 0xa3ff
push 0x14a82
push 0x8631
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x418fb0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x3c], 0x157f3
mov dword [ebp - 0x40], 0x7262
mov dword [ebp - 0x44], 0x9c0e
mov dword [ebp - 0x28], 0x6c58
mov dword [ebp - 0x38], 0x5cdd
mov dword [ebp - 0xc], 0xe391
mov dword [ebp - 0x14], 0x1cf2
mov dword [ebp - 0x48], 0x1659e
mov dword [ebp - 0x4c], 0x159c9
mov dword [ebp - 0x50], 0xd76a
mov dword [ebp - 0x54], 0x15c65
mov dword [ebp - 0x58], 0x8c61
mov dword [ebp - 0x34], 0xf6e6
mov dword [ebp - 0x5c], 0x111b3
mov dword [ebp - 0x60], 0x16fe4
mov dword [ebp - 0x64], 0x6d77
mov dword [ebp - 0x18], 0x1441f
mov dword [ebp - 0x20], 0x2c7a
mov dword [ebp - 0x24], 0x2df3
mov dword [ebp - 0x68], 0xc1ce
mov dword [ebp - 0x6c], 0x15bb6
mov dword [ebp - 0x30], 0x3575
mov dword [ebp - 0x10], 0x6fd3
mov dword [ebp - 0x2c], 0x7a2e
mov eax, dword [ebp - 0xc]
sub eax, 0xc34f
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x21ed
push ecx
mov edx, dword [ebp + 0x10]
sub edx, 0xf52f
push edx
mov eax, dword [ebp + 0x1c]
add eax, 0x4c6c
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xc00e
push ecx
call fcn.004066a0
add esp, 0x14
mov dword [ebp - 4], 0
jmp 0x4190a8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
sub eax, 0x13270
cmp dword [ebp - 4], eax
jge 0x4190c0
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41909f
mov dword [ebp - 8], 0
jmp 0x4190d2
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
sub eax, 0x11bc
cmp dword [ebp - 8], eax
jge 0x419153
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x20]
jge 0x4190f3
mov dword [ebp - 0x1c], 1
jmp 0x4190fa
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x30]
and edx, dword [ebp + 0x1c]
or edx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x24]
je 0x41914e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x18]
jne 0x41914e
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x34]
jne 0x41914e
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x38]
jne 0x41914e
push 0x50ce
push 0x12970
push 0x184a7
push 0x15059
push 0x409e
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
add esp, 0x14
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4190c9
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x20]
imul eax, dword [ebp + 0x24]
and eax, edx
je 0x419176
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41d410
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x28], 0x13c4
mov dword [ebp - 8], 0x15777
mov dword [ebp - 0x18], 0xd1c4
mov dword [ebp - 0x34], 0x9e73
mov dword [ebp - 0x30], 0xb510
mov dword [ebp - 0x1c], 0xd7bf
mov dword [ebp - 0x40], 0x23d2
mov dword [ebp - 0x20], 0xc72d
mov dword [ebp - 0x50], 0x12c07
mov dword [ebp - 0x54], 0x13978
mov dword [ebp - 0x58], 0x17246
mov dword [ebp - 0x4c], 0x118a8
mov dword [ebp - 0x5c], 0xd994
mov dword [ebp - 0x44], 0x14dfb
mov dword [ebp - 0x38], 0x5ebf
mov dword [ebp - 0x14], 0x11d9e
mov dword [ebp - 0xc], 0x1150a
mov dword [ebp - 0x24], 0x14493
mov dword [ebp - 0x60], 0x12dda
mov dword [ebp - 0x48], 0xc0b7
mov dword [ebp - 0x64], 0xdcf4
mov dword [ebp - 0x3c], 0x3410
mov dword [ebp - 0x68], 0x17796
mov dword [ebp - 4], 0
jmp 0x41d4c9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x14492
cmp dword [ebp - 4], ecx
jge 0x41d4e2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x41d4c0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp - 8]
or eax, ecx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 0x2c], 0
je 0x41d55b
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jne 0x41d55b
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x34]
jne 0x41d55b
push 0xecec
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
add esp, 4
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jge 0x41d55b
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jne 0x41d55b
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x48]
jne 0x41d55b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jne 0x41d55b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jne 0x41d55b
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov dword [ebp - 0x10], 0
jmp 0x41d56d
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x4c]
sub eax, 0x118a7
cmp dword [ebp - 0x10], eax
jge 0x41d585
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x41d564
mov esp, ebp
pop ebp
ret