joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], ecx
jne 0x4076e4
push 0xd
pop eax
jmp 0x407714
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
push ebx
call fcn.004f5d90
inc eax
add ebx, eax
add edi, eax
pop ecx
cmp eax, 1
jne 0x4076eb
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4089db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x506cbd
call fcn.0050613a
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x408c24
push eax
call fcn.004f5f19
inc eax
lea ecx, [ebp - 0x420]
mov edx, eax
mov dword [ebp - 0x420], eax
call fcn.00407733
add esp, 4
test eax, eax
js 0x408c1e
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x408a7c
mov ecx, edi
call fcn.00407793
test al, al
je 0x408a7c
mov eax, edi
call fcn.004f0800
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x408a8e
push edi
lea ecx, [ebp - 0x424]
call fcn.00407801
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov ecx, eax
push ebx
push edi
call fcn.00407158
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x408c1e
push 0x60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x408ae8
push 2
push ebx
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x408ae8
call fcn.004070d7
mov ebx, eax
jmp 0x408bf2
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x408b0f
call fcn.004070d7
jmp 0x408be5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x408b05
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x408b45
mov ebx, 0x8007000e
jmp 0x408be7
xor edx, edx
mov byte [ebp - 4], 2
inc edx
call fcn.0040783e
cmp eax, 0x400
jbe 0x408b66
push eax
lea ecx, [ebp - 0x418]
call fcn.004070ee
jmp 0x408b72
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x408b96
cmp dword [ebp - 0x418], 0
je 0x408b3b
mov eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call fcn.0040986b
push eax
call fcn.00407d5b
mov eax, dword [ebp - 0x418]
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.0040888f
mov ebx, eax
test edi, edi
je 0x408bf2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408c16
lea ecx, [ebp - 0x418]
call fcn.004070c2
jmp 0x408c16
push esi
mov esi, dword [esi]
call fcn.004f5e43
pop ecx
test esi, esi
jne 0x408c0d
mov eax, ebx
jmp 0x408c4d
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x408c44
lea ecx, [ebp - 0x418]
call fcn.004070c2
jmp 0x408c44
push esi
mov esi, dword [esi]
call fcn.004f5e43
pop ecx
test esi, esi
jne 0x408c3b
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.00506087
ret 0x10
Function at 0x4090e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409143
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409134
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x409130
cmp esi, ecx
jae 0x409134
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40911e
cmp esi, ecx
jb 0x409138
xor eax, eax
jmp 0x409142
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40ad33
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x506fe8
call fcn.00506098
mov edi, ecx
mov ebx, 0x51ec2c
mov dword [edi + 0x48], 1
push ebx
call fcn.004f5d90
pop ecx
push eax
push ebx
lea ecx, [edi + 0x3c]
call fcn.0040942f
mov ecx, edi
call fcn.0040ae9a
mov ebx, eax
cmp ebx, 2
jne 0x40ae3a
mov edx, dword [edi + 0x24]
cmp dword [edx - 0xc], 0
je 0x40ae3a
mov eax, dword [edi + 0x28]
cmp dword [eax - 0xc], 0
je 0x40ae3a
lea ebx, [edi + 0x18]
mov esi, dword [ebx]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x40add9
cmp dword [esi + 0xc], 0
jl 0x40adce
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40adce
call fcn.004098e7
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40adc7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx], eax
jmp 0x40add9
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.0040942f
mov edx, dword [edi + 0x28]
lea ebx, [edi + 0x1c]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x40ae2b
cmp dword [esi + 0xc], 0
jl 0x40ae20
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40ae20
call fcn.004098e7
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ae19
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx], eax
jmp 0x40ae2b
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.0040942f
mov eax, dword [edi + 0x2c]
mov ecx, edi
mov dword [edi + 0x20], eax
call fcn.0040ae9a
mov ebx, eax
mov ecx, edi
call fcn.004bf37e
cmp ebx, 4
je 0x40ae51
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40ae91
cmp dword [edi + 0x30], 0
je 0x40ae91
push ecx
mov ecx, dword [edi + 0x34]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.004098e7
add eax, 0x10
mov dword [esi], eax
and dword [ebp - 4], 0
push ecx
mov ecx, dword [edi + 0x5c]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x14], esi
call fcn.004098e7
add eax, 0x10
mov dword [esi], eax
call fcn.00425b6c
pop ecx
pop ecx
mov dword [edi + 0x48], ebx
call fcn.00506061
ret
Function at 0x40b119
Capabilities:
Delete file

Disassembly:
push 0x408
mov eax, 0x507079
call fcn.005060cc
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
setne al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi], al
call fcn.004bf37e
mov ecx, dword [esi + 0x5c]
call fcn.0042354f
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 0x414], 0xffffffff
push 0x80
push 2
pop edi
push edi
push 1
push 0x40000000
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x414]
push dword [esi + 0x5c]
call fcn.0040b961
test eax, eax
jne 0x40b183
push 3
jmp 0x40b200
sub esp, 0xc
mov ecx, esi
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.004bf464
test al, al
je 0x40b201
mov ecx, esi
call fcn.004bf562
push 0x400
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.004f1a90
add esp, 0xc
mov ebx, 0x400
jmp 0x40b1e9
mov ecx, dword [esi + 4]
lea eax, [edx - 1]
mov dword [esi + 0x44], ecx
cmp eax, 0x3ff
ja 0x40b201
cmp edx, 0xffffffff
je 0x40b201
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.0040b34a
test eax, eax
je 0x40b17f
push ebx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004bf4dd
mov edx, eax
test edx, edx
jne 0x40b1bd
push 4
pop edi
cmp dword [ebp - 0x414], 0xffffffff
je 0x40b216
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.00506076
ret
Function at 0x40b21e
Capabilities:
Create thread
Resume thread

Disassembly:
push 4
mov eax, 0x5070a9
call fcn.00506098
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea edi, [ebx + 0xc]
xor esi, esi
push edi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
call fcn.004f7d47
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
je 0x40b342
cmp dword [ebp + 0x10], esi
je 0x40b261
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp + 0x14]
lea ecx, [ebp + 8]
call fcn.004094e6
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], esi
mov edx, dword [0xd5aa40]
mov esi, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x40b2a2
mov eax, dword [edi]
cmp dword [ecx + 0x10], eax
jae 0x40b28f
mov ecx, dword [ecx + 8]
jmp 0x40b293
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x40b285
cmp esi, edx
je 0x40b2a2
cmp eax, dword [esi + 0x10]
jae 0x40b2c2
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ecx
call fcn.0040b417
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp + 0x10]
push eax
call fcn.0040b447
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ebx, [esi + 0x14]
mov esi, dword [ebx]
or edi, 0xffffffff
sub esi, 0x10
mov edx, dword [edx]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x40b318
cmp dword [esi + 0xc], 0
jl 0x40b30d
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40b30d
call fcn.004098e7
mov dword [ebp + 0x10], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b306
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebx], eax
jmp 0x40b318
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.0040942f
mov dword [ebp - 4], edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x40b333
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
call fcn.00506061
ret 0x10
Function at 0x40f4b2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000c
call fcn.004f0e50
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x40f5b4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x40f5b4
test ebx, ebx
jne 0x40f4f7
test edi, edi
je 0x40f5b4
mov ecx, esi
call fcn.00423518
test eax, eax
je 0x40f5b4
push 0x10000
lea eax, [ebp - 0x10004]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x10004]
push eax
push 0x10000
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x40f5b4
test ebx, ebx
je 0x40f546
mov edx, ebx
lea ecx, [ebp - 0x10004]
call fcn.0040f2a3
test edi, edi
je 0x40f5af
push 0x34
pop esi
push esi
xor ebx, ebx
push ebx
push edi
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x1000c], ebx
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x10008], ebx
push eax
lea eax, [ebp - 0x1000c]
push eax
push 0x553dc8
lea eax, [ebp - 0x10004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x40f5b4
mov eax, dword [ebp - 0x10008]
cmp eax, esi
je 0x40f59f
cmovb esi, eax
mov eax, esi
mov dword [ebp - 0x10008], eax
push eax
push dword [ebp - 0x1000c]
push edi
call fcn.004f1510
add esp, 0xc
xor eax, eax
inc eax
jmp 0x40f5b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x410ba5
Capabilities:
Get disk information

Disassembly:
push 0x314
mov eax, 0x507827
call fcn.005060cc
mov edi, ecx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x314]
push ebx
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x410ce9
mov cl, byte [ebp - 0x314]
lea esi, [ebp - 0x314]
mov ax, word [0x553e80]
mov word [ebp - 0x318], ax
mov al, byte [0x553e82]
push 0x104
mov byte [ebp - 0x316], al
lea eax, [ebp - 0x114]
push ebx
push eax
mov byte [ebp - 0x318], cl
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x410c56
push ebx
lea edx, [ebp - 0x114]
mov ecx, edi
call fcn.00422c56
pop ecx
test eax, eax
jne 0x410c68
mov al, byte [esi]
inc esi
test al, al
jne 0x410c56
mov cl, byte [esi]
test cl, cl
jne 0x410bf3
jmp 0x410ce9
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x320]
call fcn.004094e6
mov esi, eax
lea eax, [ebp - 0x114]
mov dword [ebp - 4], ebx
push eax
call fcn.004f5d90
add eax, edi
lea ecx, [ebp - 0x31c]
push eax
mov edx, esi
call fcn.00405cb9
pop ecx
pop ecx
push 0x3ff
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [ebp - 0x31c]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410ccb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x320]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x410ce9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506076
ret
Function at 0x411dfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xa0
mov eax, 0x507a99
call fcn.005060cc
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [0xd506d0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
xor esi, esi
inc eax
cmp dword [edi], esi
jne 0x411e52
push edi
push 0x519df8
push eax
push esi
push 0x519ec8
mov dword [ebx], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebx], 2
cmp dword [edi], esi
je 0x411f32
test eax, eax
js 0x411f32
cmp dword [edi + 4], esi
jne 0x411e69
mov ecx, edi
mov dword [ebx], 3
call fcn.00411db5
jmp 0x411f32
mov esi, dword [0xd5b03c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7918
jae 0x411eaf
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x411e96
call fcn.00411695
test eax, eax
jne 0x411f32
mov esi, dword [0xd58f64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3a98
jae 0x411f32
lea ecx, [ebp - 0xa8]
call fcn.004116b1
and dword [ebp - 4], 0
lea eax, [ebp - 0xa8]
push eax
mov ecx, edi
mov dword [ebx], 5
call fcn.00411f3a
mov edi, 0xd5a988
mov dword [ebx], 6
push edi
mov esi, eax
mov dword [ebp - 0xac], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov dword [0xd58f5c], esi
test esi, esi
je 0x411f15
lea eax, [ebp - 0xa8]
mov ecx, 0xd5a8f0
push eax
call fcn.00411bbc
mov dword [0xd58f60], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [0xd5b03c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xa8]
call fcn.00411767
call fcn.00506076
ret 4
Function at 0x41290b
Capabilities:
Enumerate gui resources

Disassembly:
push 4
mov eax, 0x507a45
call fcn.00506098
mov esi, ecx
xor edi, edi
cmp dword [0xd506c4], edi
jne 0x411b6d
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.FillDataThreadRun
push 0xfffffffffffffffe
push esi
push 0x411ccf
mov ecx, 0xd506c0
mov dword [0xd506d0], eax
call fcn.0040b21e
push dword [0xd506d0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, 0xd5a988
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
cmp dword [0xd58f60], 0
je 0x411ba7
push 0xd5a8f0
lea ecx, [esi + 8]
call fcn.00411bbc
mov dword [0xd58f60], edi
mov esi, dword [0xd58f5c]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.00506061
ret
push edi
mov edi, ecx
mov ecx, dword [0xd58f54]
push 2
mov ecx, dword [ecx + 0x58]
call fcn.004560cf
test eax, eax
mov ecx, 0x420c
lea edx, [eax + 0x41b4]
cmove edx, ecx
mov ecx, 0x140
mov eax, dword [edx + 4]
sub eax, dword [edx]
cdq
idiv ecx
test eax, eax
jne 0x412941
pop edi
ret
push esi
mov esi, dword [0xd58f64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
pop esi
cmp eax, 0x4e20
jae 0x412977
cmp dword [0xd58f68], 0
je 0x412977
call fcn.0048ddda
push dword [0xd58f68]
push 0x410b67
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.004117fb
mov ecx, edi
pop edi
jmp 0x411b2f

Function at 0x4135ea
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x507d07
call fcn.00506098
mov esi, ecx
push str.https:__www.anvir.net
lea ecx, [ebp - 0x10]
call fcn.004094e6
xor ebx, ebx
lea edx, [ebp - 0x10]
push 0x554340
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00405cb9
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405cb9
pop ecx
pop ecx
push 1
push ebx
push ebx
push dword [eax]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41365a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], bl
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x413692
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506061
ret
Function at 0x41484f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414876
cmp dword [ebp - 4], esi
je 0x414876
inc esi
mov edi, dword [ebp + 8]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x414891
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41489b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x424
mov eax, 0x507f74
call fcn.005060cc
mov eax, ecx
mov dword [ebp - 0x424], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x428], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], ebx
push ecx
push ebx
push ebx
push ebx
push dword [eax]
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x414], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, dword [ebp - 0x414]
test edi, edi
je 0x4149bc
sub edi, ebx
lea eax, [ebp - 0x410]
push 0x400
dec edi
cmp dword [ebp + 0xc], 0
push 0
push eax
cmovne edi, ebx
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x420], 0x400
lea eax, [ebp - 0x430]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0x424]
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4149ad
cmp byte [ebp - 0x410], al
je 0x4149ad
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.004094e6
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00415670
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4149ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x414]
inc ebx
cmp ebx, edi
jb 0x414905
mov eax, esi
call fcn.00506076
ret 8
Function at 0x414ab7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x418
mov eax, 0x507ffc
call fcn.005060cc
mov ebx, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x414]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebx]
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x414], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
xor edi, edi
cmp dword [ebp - 0x414], edi
jbe 0x414bba
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x420], 0x400
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x410]
push eax
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x414bad
cmp byte [ebp - 0x410], al
je 0x414bad
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.004094e6
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00415670
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414bad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebp - 0x414]
jb 0x414b1b
mov eax, esi
call fcn.00506076
ret 4
Function at 0x414f5e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
je 0x414f7a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414f95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
pop ebp
ret 4