joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426fba
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
mov dword [ebp - 4], ecx
jmp 0x426fd3
mov ecx, dword [esi]
cmp ecx, dword [ebp + 8]
je 0x426fdc
add esi, 0x28
cmp esi, eax
jne 0x426fc9
jmp 0x427097
mov eax, dword [esi + 0x14]
push edi
mov edi, dword [0x46730c]
test eax, eax
je 0x426fef
push dword [eax + 4]
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x42703f
push dword [eax + 4]
call edi
cmp dword [esi + 0x18], 1
jne 0x427031
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x427031
call fcn.00419d9f
mov eax, dword [esi + 0x1c]
push 0
push dword [eax + 4]
call dword [0x46735c]
mov eax, dword [esi + 0x1c]
push dword [eax + 4]
call edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x427031
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42703f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42705d
push dword [eax + 4]
call edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x427059
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42707b
push dword [eax + 4]
call edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x427077
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi + 0x10], 0
mov ecx, dword [esi + 0x14]
pop edi
test ecx, ecx
je 0x42708a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 4]
push esi
lea eax, [ebp + 8]
push eax
call fcn.00426df3
pop esi
leave
ret 4

Function at 0x4273b7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov edi, ecx
call fcn.00426508
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 4]
je 0x427418
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x42740e
dec eax
jne 0x427418
mov dword [esi + 0x24], 2
mov ecx, dword [esi + 8]
push 0x47e05c
call fcn.004182e6
mov eax, dword [esi + 8]
mov edi, dword [0x46735c]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x1c]
push 0
push dword [eax + 4]
call edi
jmp 0x427418
push dword [ebp + 8]
mov ecx, edi
call fcn.00426fba
pop edi
pop esi
leave
ret 8
Function at 0x427972
Capabilities:
Hide graphical window

Disassembly:
push 0x38
mov eax, 0x45cf3a
call fcn.0043e355
mov ebx, ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
lea esi, [ebp + 0xc]
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
push 0x28
pop esi
idiv esi
imul eax, eax, 0x64
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x1c], eax
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28]
sub edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push edi
push eax
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
call dword [0x467098]
mov esi, dword [ebp + 8]
push dword [esi]
mov dword [ebp - 0x18], eax
call dword [0x4670a4]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push eax
call dword [0x467060]
push 0xcc0020
push dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x34]
push dword [esi]
mov esi, dword [0x46708c]
push edi
push dword [ebp - 0x1c]
push 0
push 0
push dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 0x24]
and dword [ebp - 0x14], 0
cmp eax, 1
jne 0x427a90
mov eax, dword [ebx]
jmp 0x427a86
cmp byte [eax + 0x20], 0
jne 0x427a72
mov ecx, dword [eax]
cmp ecx, 0xab
je 0x427a42
cmp ecx, 0xae
je 0x427a42
cmp ecx, 0xb1
jne 0x427a53
mov eax, dword [eax + 0xc]
push 5
push dword [eax + 4]
call dword [0x46735c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004274ef
mov eax, dword [ebp + 8]
inc dword [ebp - 0x14]
cmp byte [eax + 0x20], 0
je 0x427a83
mov eax, dword [eax + 8]
push 0
push dword [eax + 4]
call dword [0x46735c]
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 4]
jne 0x427a22
jmp 0x427ac2
test eax, eax
jne 0x427ac2
mov eax, dword [ebx]
jmp 0x427aba
cmp byte [eax + 0x20], 0
je 0x427ab7
push dword [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004274ef
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 4]
jne 0x427a98
push 0xcc0020
push 0
push 0
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call dword [0x467060]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x427afb
and dword [ebp - 0x10], 0
push eax
call dword [0x4670a8]
cmp dword [ebp - 0x18], 0
je 0x427b0a
push dword [ebp - 0x18]
call dword [0x4670b0]
call fcn.0043e42d
ret 0x14
Function at 0x428140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [0x467020]
test eax, eax
jne 0x4281a9
cmp dword [ebp + 0x10], 1
je 0x428181
cmp dword [ebp + 0x10], 2
je 0x428181
push 0xd
pop eax
jmp 0x4281a9
mov eax, dword [ebp - 4]
test edi, edi
je 0x4281a3
test eax, eax
je 0x42819e
test al, 1
jne 0x42817c
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4281a3
jmp 0x42817c
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x428925
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x45e0f9
call fcn.0043e3be
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d8c0
mov esi, 0x46a920
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.0043de55
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00414745
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x428962
lea eax, [ebp - 0x2c]
push 1
push edi
push edi
push eax
push edi
push edi
call dword [0x4672e8]
xor esi, esi
cmp eax, 0x20
ja 0x428989
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405680
mov eax, esi
call fcn.0043e441
ret
inc esi
jmp 0x428976

Function at 0x428f9b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [0x47e9a4]
mov esi, ecx
call dword [0x467240]
push dword [esi]
call dword [0x467254]
xor edi, edi
push edi
push edi
push dword [ebp + 8]
mov dword [esi], edi
push 0x428df5
push edi
push edi
call fcn.0043f750
add esp, 0x18
cmp eax, edi
mov dword [esi], eax
pop edi
setne al
pop esi
pop ebp
ret 4

Function at 0x429201
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.0042916c
xor ecx, ecx
cmp eax, ecx
jne 0x429216
xor al, al
jmp 0x42922a
push ecx
push ecx
push eax
push 0x428b3a
push ecx
push ecx
call fcn.0043f750
add esp, 0x18
mov al, 1
pop ebp
ret 4

Function at 0x429955
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x45d940
call fcn.0043e355
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
call fcn.0041e19f
pop ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [0x4672f8]
push ecx
test eax, eax
je 0x4299a6
mov eax, dword [0x47e074]
add eax, 0xfffffff0
mov dword [ebp + 8], esp
mov esi, esp
push eax
call fcn.0040b7fa
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00425fb9
test al, al
je 0x4299e9
jmp 0x4299e6
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.ipmana.exe
call fcn.0040be56
call fcn.0041ed2e
mov esi, dword [ebp + 8]
pop ecx
cmp eax, ebx
je 0x4299c8
xor ebx, ebx
inc ebx
mov byte [esi + 0xc], bl
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x46a9ac
call fcn.0040be56
call fcn.0041ed2e
pop ecx
test eax, eax
je 0x4299e9
mov byte [esi + 0xd], 1
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov eax, ebx
call fcn.0043e42d
ret 4
Function at 0x4299fe
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x45d940
call fcn.0043e355
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0041e19f
pop ecx
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [0x4672f8]
test eax, eax
je 0x429a4a
mov eax, dword [0x47e074]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.0040b7fa
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00429850
jmp 0x429a4f
call fcn.0041efff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b6b3
xor eax, eax
inc eax
call fcn.0043e42d
ret
Function at 0x401830
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x408beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebx
push ebp
push esi
push edi
push 0
push 2
mov dword [esp + 0x11c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40196d
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ecx
push eax
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401990
add esp, 8
test eax, eax
jne 0x4018f6
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40196d
mov ecx, dword [esp + 0x11c]
push ecx
push 0
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401990
add esp, 8
test eax, eax
je 0x4018b8
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dl, byte [esp + ecx + 0x10]
lea eax, [esp + ecx + 0x10]
cmp dl, 0x5c
je 0x401924
mov edx, ecx
dec ecx
test edx, edx
jle 0x401924
mov byte [eax], 0
mov dl, byte [eax - 1]
dec eax
cmp dl, 0x5c
jne 0x401911
lea ecx, [esp + 0x23c]
call fcn.00402ed0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x23c]
push eax
push str.Insertpath
push str.Insert
mov dword [esp + 0x45c], 0
call fcn.004031d0
lea ecx, [esp + 0x23c]
mov dword [esp + 0x450], 0xffffffff
call fcn.00402f40
mov ecx, dword [esp + 0x448]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x444
ret

Function at 0x401990
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.004037c0
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x4019b8
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401a7f
test dword [esp + 0x14], 0xfffffffc
jbe 0x401a7f
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x401a33
lea ecx, [esp + 0x18]
push ecx
call fcn.00403748
lea edx, [esp + 0x1c]
push str.qvodupdate.exe
push edx
call fcn.004036d2
add esp, 0xc
test eax, eax
jne 0x401a51
mov eax, dword [esp + 0x14]
inc ebx
shr eax, 2
add esi, 4
cmp ebx, eax
jb 0x4019ef
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
Function at 0x401a90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebp
push 0
push 2
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 4]
push eax
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401b04
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x1f0fff
call edi
mov esi, eax
push esi
call fcn.00401b10
add esp, 4
test eax, eax
je 0x401aea
push 4
push esi
call ebx
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401ac8
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x128
ret
xor eax, eax
pop ebp
add esp, 0x128
ret

Function at 0x401b10
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.004037c0
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x401b38
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401c53
test dword [esp + 0x14], 0xfffffffc
jbe 0x401c53
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x401c29
lea ecx, [esp + 0x18]
push ecx
call fcn.00403748
lea edx, [esp + 0x1c]
push str.qvodinsert.dll
push edx
call fcn.004036d2
add esp, 0xc
test eax, eax
jne 0x401c4b
lea eax, [esp + 0x18]
push str.qvodplayer.exe
push eax
call fcn.004036d2
add esp, 8
test eax, eax
jne 0x401c4b
lea ecx, [esp + 0x18]
push str.qvodterminal.exe
push ecx
call fcn.004036d2
add esp, 8
test eax, eax
jne 0x401c4b
lea edx, [esp + 0x18]
push str.qvodtvplayer.exe
push edx
call fcn.004036d2
add esp, 8
test eax, eax
jne 0x401c4b
lea eax, [esp + 0x18]
push str.mencoder.exe
push eax
call fcn.004036d2
add esp, 8
test eax, eax
jne 0x401c4b
lea ecx, [esp + 0x18]
push str.qvodnetbar.exe
push ecx
call fcn.004036d2
add esp, 8
test eax, eax
jne 0x401c4b
mov edx, dword [esp + 0x14]
inc ebx
shr edx, 2
add esi, 4
cmp ebx, edx
jb 0x401b6f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret

Function at 0x401c70
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x401c8a
add esp, 0x1c
ret
push 0x20
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
jne 0x401ca0
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x402140
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402158
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402169
push esi
call fcn.00402270
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40217e
push eax
push esi
call fcn.00402180
add esp, 8
pop esi
ret

Function at 0x4021c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
mov ecx, 0x82
xor eax, eax
push esi
push edi
lea edi, [esp + 0x10c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x402261
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push 0
push str.update
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40221e
pop edi
pop esi
add esp, 0x30c
ret
mov ecx, dword [esp + 0x31c]
mov esi, dword [esp + 0x318]
lea eax, [esp + 0x10c]
push 1
push eax
push ecx
call esi
test eax, eax
jne 0x402246
pop edi
pop esi
add esp, 0x30c
ret
push 4
lea edx, [esp + 0x110]
push 0
push edx
call esi
test eax, eax
jne 0x402261
pop edi
pop esi
add esp, 0x30c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x30c
ret
Function at 0x402f50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
xor eax, eax
lea edx, [esp + 0xc]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x224]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
xor ebp, ebp
call fcn.004032ab
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push 0x20019
push ebp
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403035
mov esi, dword [esp + 0x228]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ebp
push ecx
push ebp
push esi
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x40302a
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x402fe4
cmp eax, 2
jne 0x40302a
mov eax, dword [esp + 0x14]
cmp eax, 1
jb 0x40302a
push ebx
push eax
call fcn.0040329d
mov ecx, dword [esp + 0x234]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x234]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
push esi
push eax
call edi
test eax, eax
jne 0x403020
mov ebp, 1
push ebx
call fcn.00403292
add esp, 4
pop ebx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x214
ret 0x10

Function at 0x403070
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x20c
xor eax, eax
lea edx, [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
call fcn.004032ab
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x20006
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4030e7
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
and eax, 0xff
pop esi
add esp, 0x20c
ret 8

Function at 0x403100
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x20c
xor eax, eax
lea edx, [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
call fcn.004032ab
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x20006
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x403177
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
and eax, 0xff
pop esi
add esp, 0x20c
ret 8
Function at 0x4031d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
xor eax, eax
lea edx, [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
call fcn.004032ab
add esp, 0x10
mov edx, dword [esi]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x403264
mov edx, dword [esp + 0x220]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x22c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
and eax, 0xff
pop esi
add esp, 0x20c
ret 0xc
Function at 0x435fe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c1c0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004b297a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004affef
mov eax, dword [eax]
push 0xdfa264
push eax
call fcn.004a1f54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b2c05
test bl, bl
je 0x436062
push 0xdfa264
lea ecx, [esp + 0xc]
call fcn.004b2f95
push 0xdfddf8
lea ecx, [esp + 0xc]
call fcn.004b2f95
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43609e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b2c05
jmp 0x436169
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x436122
lea edx, [esp + 0x7c]
push 0xdfddf4
push edx
call fcn.004a1f54
add esp, 8
test eax, eax
je 0x436122
lea eax, [esp + 0x7c]
push 0xdfddf0
push eax
call fcn.004a1f54
add esp, 8
test eax, eax
je 0x436122
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4360b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b2c05
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x436960
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4369c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc