joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423f52
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]

Function at 0x424a84
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x59de41
call fcn.005693c7
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00421ecd
mov ecx, eax
call fcn.00406f6b
lea esi, [ebx + 0x7c]
push eax
mov ecx, esi
call fcn.00402b42
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00403628
call fcn.00421ecd
mov ecx, eax
call fcn.0040804f
mov byte [ebp - 0xbd], al
call fcn.0042a943
test al, al
je 0x424af7
cmc
mov fs, ebx
ror dword [ecx - 0x2f47ce8d], cl
out 0x98, eax
cwde
inc al
mov ch, 8
movsb byte es:[edi], byte [esi]
fisubr dword [esi + 0x3c9d8b79]
invalid
cmp dword [esi + 0x14], 8
jb 0x424aff
mov esi, dword [esi]
push esi
lea ecx, [ebx + 0xac]
call 0x40beb5
cmp byte [ebp - 0xbd], 0
jne 0x424b25
cmp dword [ebp + 8], 0
jne 0x424b25
mov ecx, ebx
call fcn.004243fb
test eax, eax
je 0x424b2c
mov ecx, ebx
call fcn.00423ff5
call fcn.0042abb0
test al, al
je 0x424b45
daa
adc eax, 0x67c3dcdf
pop ebp
fisubr dword [ecx + eax*8]
cmp eax, 0x61d2b1ce
invalid
call fcn.0042af31
test al, al
je 0x424b74
loope 0x424ae7
push ss
push ecx
mov word [ecx + 0x28bd3caa], cs
jno 0x424b90
jae 0x424b53
push ebp
mov esi, 0x9af83a79
add eax, 0x74569f7f
scasd eax, dword es:[edi]
push esp
inc edx
xlatb
pop ebx
mov ebx, dword [ebp - 0xc4]
call fcn.0042a943
test al, al
je 0x424b9b
fisub dword [eax + 0x22ea109d]
cwde
ror byte [ebx - 0x38], 0x46
or byte [ecx - 0x7b], 0xa5
sub byte [eax + 0x52bb9637], bh
mov dword [0xecdd4b68], eax
mov ebx, 0x4b68a352
fucomp st(4)
in al, 0xee
loopne 0x424bc6
xor esi, esi
cmp dword [ebx + 0x144], esi
jne 0x424bb7
cmp byte [ebp - 0xbd], 0
jne 0x424bb7
cmp dword [ebp + 8], esi
je 0x424c7a
lea ecx, [ebp - 0xbc]
call fcn.0042688a
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], esi
call fcn.00427dba
push 0x5a06d8
push str.7681e
lea eax, [ebp - 0x28]
push str.OISet
push eax
call fcn.00421ecd
mov ecx, eax
call fcn.00406faa
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x424c64
invalid
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424c64
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x5c
push eax
lea ecx, [ebp - 0x28]
call fcn.004127e0
test eax, eax
jle 0x424c64
push eax
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a48
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b42
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00403628
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00413e91
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
lea ecx, [ebp - 0xbc]
call fcn.0042696b
call fcn.00569382
ret 4
Function at 0x424d0f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424d4b
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424d83
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x425149
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov edi, 0xf013f
mov dword [ebp - 4], esi
push edi
push esi
push 0x5a3ce0
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4251bc
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5a0a54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42519e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4251bc
push str.AppInfo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4251c2
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
mov edi, 0xf003f
xor ebx, ebx
push edi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x425278
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push 0x5a3cd4
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x425273
xor eax, eax
mov dword [ebp - 0x14], 7
mov edi, 0x5a4cc8
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.00578706
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403772
mov edi, 0x5a4cd0
mov dword [ebp - 4], ebx
push edi
call fcn.00578706
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00408c34
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
push dword [ebp - 0x30]
call esi
call fcn.00569382
ret
Function at 0x425671
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x59df49
call fcn.005693c7
mov ebx, ecx
mov dword [ebp - 0x44], ebx
call fcn.00421ecd
mov ecx, eax
call fcn.00406e69
push eax
lea ecx, [ebp - 0x40]
call fcn.00402ac4
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x4256d4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4256d4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402ac4
mov ecx, ebx
call fcn.00425e82
call fcn.0042aea7
test al, al
je 0x4256fc
push edi
mov ebp, 0x434e67d0
lea esp, [edx + ebx*2]
mov ch, 7
insd dword es:[edi], dx
das
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
shr dword [ebp - 0x4acce562], 1
jno 0x4256b3
stosd dword es:[edi], eax
test eax, 0x8b90d97f
pop ebp
mov esp, 0xffc7cce8
dec dword [ebx + 0x176de8c8]
invalid
call fcn.00421ecd
mov ecx, eax
call fcn.00406e75
push eax
lea ecx, [ebp - 0x28]
call fcn.00402ac4
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x42574e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42574e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402ac4
mov ecx, ebx
call fcn.00425e82
call fcn.00425cc8
test eax, eax
je 0x425761
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x134]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00403628
call fcn.00569382
ret

Function at 0x42580a
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
xor eax, eax
mov dword [ebp - 0x14], 7
mov esi, 0x5a0a54
mov word [ebp - 0x28], ax
xor edi, edi
push esi
mov dword [ebp - 0x18], edi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403772
mov esi, str.RunOne
mov dword [ebp - 4], edi
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0xf003f
mov dword [ebp - 0x2c], edi
push ebx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x30], edi
call esi
test eax, eax
jne 0x4258d3
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push 0x5a3cd4
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x4258ae
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push edi
push edi
push edi
push 0x5a3cdc
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4258d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2c]
call esi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret
Function at 0x425e82
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x59e03b
call fcn.005693c7
mov edi, ecx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00402a71
mov esi, 0x5a3400
mov byte [ebp - 4], 1
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00408c34
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x426003
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x426003
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x425ee2
cmp word [ebp - 0x27a], 0
je 0x425ee2
cmp word [ebp - 0x27a], ax
jne 0x425f21
cmp word [ebp - 0x278], 0
je 0x425ee2
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x425f3e
mov eax, ebx
jmp 0x425f4b
lea eax, [ebp - 0x27c]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403772
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x425fb7
call fcn.00402a71
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00408b95
push 0x5a0a50
call fcn.00578706
pop ecx
push eax
push 0x5a0a50
lea ecx, [ebp - 0x28]
call fcn.00408c34
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00402a71
mov ecx, edi
call fcn.00425e82
jmp 0x425fe4
call fcn.00402a71
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00408b95
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00402a71
mov ecx, edi
call fcn.00426053
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403628
jmp 0x425ee2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x426035
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00403628
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00403628
call fcn.00569382
ret 0x18

Function at 0x4260a2
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
call fcn.0042580a
mov ecx, esi
call fcn.004260ce
mov ecx, esi
call fcn.004260e9
mov ecx, esi
call fcn.004251c2
mov ecx, esi
call fcn.00425149
mov ecx, esi
pop esi
jmp fcn.00424d89
Function at 0x427361
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x59e232
call fcn.005693c7
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x38], ebx
mov esi, 0x5a500c
mov dword [ebp - 0x34], edi
push esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403772
mov esi, str.7A3B0D6F_8BB3_4007_B032_BD7782EEAD56
mov dword [ebp - 4], edi
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
mov esi, 0x5a505c
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
mov esi, 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push ebx
call edi
test eax, eax
jne 0x427507
lea eax, [ebp - 0x2c]
push eax
push esi
push 0
push 0x5a512c
push dword [ebp - 0x34]
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x427471
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push 0
push 0x5a0c30
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x42744e
push str.win32
push dword [ebp - 0x30]
call ebx
push str.win64
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x30]
call esi
push 0x5a0c30
push dword [ebp - 0x2c]
call ebx
push str.FLAGS
push dword [ebp - 0x2c]
call ebx
push str.HELPDIR
push dword [ebp - 0x2c]
call ebx
push dword [ebp - 0x2c]
call esi
call fcn.0042ac3a
test al, al
je 0x42748e
adc al, bl
add al, byte [eax + 0x7f]
inc eax
adc al, 0x70
ljmp 0xcd23
call fcn.0042aa57
test al, al
je 0x4274b5
xchg ebp, eax
test al, 0x94
sub al, 0xfd
jge 0x4274e7
jmp 0x4274ee
call fcn.0042ab26
add byte ss:[eax], al
test al, al
je 0x4274dd
scasd eax, dword es:[edi]
mov cl, 0x8e
shr dword [eax - 0x597d1116], 1
mov dword [0x4d12cdde], eax
les ebp, [edi - 0x69]
pop ebp
invalid
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5a512c
push dword [ebp - 0x34]
add bh, bh
jne 0x4274b7
call esi
push dword [ebp - 0x34]
jne 0x4274bc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret 4
Function at 0x4276a8
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
mov ebx, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x2c], 0
mov esi, 0x5a500c
and dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403772
and dword [ebp - 4], 0
mov esi, str.C3F37BD9_8872_46FF_85CE_DC58B69FDB53
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
call fcn.0042ad4e
test al, al
je 0x427723
sub ch, bh
scasd eax, dword es:[edi]
adc byte [ebp - 0x563af775], bl
sal dword [eax + 0x1c], 0x98
inc ebx
test dword [ebp + 0x2c], ebp
cmp dword [ebx], edi
wait
test byte [esi - 0x72dbd23b], ch
push ss
call fcn.0042abb0
test al, al
je 0x427741
mov dword [ecx - 0x1b75b2e9], eax
invalid
call fcn.0042ad09
test al, al
je 0x42775c
mov dword [ecx + 0x4d8e453f], edx
or al, 0x5e
arpl bp, di
inc esp
xchg byte [ebp - 0x7c], al
stosd dword es:[edi], eax
dec esi
lahf
mov esi, 0x5a505c
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42784a
call fcn.0042a8b9
test al, al
je 0x4277b1
arpl word [edx - 0x68], bp
mov byte [eax + 0x4ae75849], bh
stosd dword es:[edi], eax
pop es
ret 0x12e9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.InprocServer32
push dword [ebp - 0x2c]
call ebx
push str.Programmable
push dword [ebp - 0x2c]
call ebx
push str.TypeLib
push dword [ebp - 0x2c]
call ebx
push 0x5a5314
push dword [ebp - 0x2c]
call ebx
call fcn.0042ad4e
test al, al
je 0x427805
in al, 0xc5
or al, 0x4a
pop esi
push 0xffffffffffffffdb
ret 0x778d
call fcn.0042ae62
test al, al
je 0x42782c
hlt
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret 4
Function at 0x428cd4
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
or byte [ebx + 0x56], dl
push edi
push 0xf003f
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
call fcn.0042ac3a
test al, al
je 0x428d1c
and eax, 0x2ab6c46d
ljmp 0x1d9c
call fcn.0042aa57
test al, al
je 0x428d43
add al, 0xd
imul ecx, dword [edx], 0x26
fdivp st(1)
popfd
mov ch, 3
jmp 0x428ce6
call fcn.0042ab26
test al, al
je 0x428d6b
pop es
push esi
ljmp 0x72e9
cmp dword [ebp - 0x28], 0
jne 0x428d78
xor eax, eax
jmp 0x428e7b
call fcn.0042ab6b
test al, al
je 0x428d9c
in eax, dx
inc edx
sbb byte [edx - 0x729591ba], 0x33
cmp byte [eax - 0x2c], al
aaa
add byte [ecx + 0x273ec6e6], ah
loop 0x428dc5
push edx
lcall 0x71e8, 0x8b57713e
sbb al, 0
add byte [eax + eax*8 - 0x1602e18c], al
mov edx, 0x75044b17
call fcn.0042aa12
test al, al
je 0x428dc3
std
jmp 0x48da565
add al, 0x75
cld
jnp 0x428e07
mov esi, 0xaa1d956a
in eax, 0x61
dec esp
xchg edx, eax
jmp 0x428deb
mov ebx, dword [ebp - 0x28]
push 0x10020
push dword [ebp - 0x24]
fsubr dword [eax + 0x20]
add byte [ecx], al
add bh, bh
jne 0x428daa
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x428de7
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x428d71
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
call fcn.0042a8b9
test al, al
je 0x428e10
sub eax, 0xbae8ed0f
bound ebp, qword [eax + 0x67]
mov esp, edi
pop ebx
ror dh, 1
lodsd eax, dword [esi]
jecxz 0x428dd7
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x24], eax
call esi
push ebx
call esi
call fcn.0042ad4e
test al, al
je 0x428e4c
in al, 0xf6
xchg esp, eax
inc esi
invalid
call fcn.0042ae62
test al, al
je 0x428e73
movsb byte es:[edi], byte [esi]
les ebp, [ebx - 0x19]
mov ah, 0x2f
pop edx
inc esi
in eax, dx
cld
ror dword [edi], cl
in eax, dx
mov byte [edi], dh
sar byte [edi + ebp*8 + 0xf653e6b], 1
cmp al, 1
pop ebx
shr byte [ebp + 0x33abeec2], 1
sar byte [ecx], 0x45
fmul qword [edi]
xchg ebp, eax
ror byte [ebx + 0x5e5ffc4d], 0x33
int 0x5b
xor eax, eax
cmp dword [ebp - 0x24], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret 4
Function at 0x429e2f
Capabilities:
Delete registry value

Disassembly:
push 0x424
mov eax, 0x59e580
call fcn.005693c7
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0056f390
lea eax, [ebp - 0x218]
push 0x5a0a54
push eax
call fcn.00578f87
lea eax, [ebp - 0x218]
push 0x5a5524
push eax
call fcn.00578f16
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x430]
push eax
call fcn.00405aa1
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], esi
call fcn.00405b6f
test eax, eax
jne 0x429f39
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x428]
push eax
mov ebx, 0xf003f
push ebx
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x429f39
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
push 0x5a3cd4
push dword [ebp - 0x428]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x429f2e
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0056f390
push 0x5a4cd0
push 0x5a4cc8
lea eax, [ebp - 0x420]
push 0x5a0ac0
push eax
call fcn.00408d5e
add esp, 0x1c
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x428]
call edi
xor esi, esi
inc esi
lea ecx, [ebp - 0x430]
call fcn.00405ab6
mov eax, esi
call fcn.00569382
ret

Function at 0x42a806
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42a885
push ebx
push edi
xor edi, edi
push str.c335b80a32136330ebfa2439bf4cbfcb
mov dword [ebp + 8], edi
call fcn.00574870
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x42a842
mov cl, byte [edi + str.c335b80a32136330ebfa2439bf4cbfcb]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x42a82c
cmp ebx, 1
jle 0x42a879
cmp byte [esi], 0x37
jne 0x42a879
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x42a857
cmp al, 0x5a
jne 0x42a879
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.00563790
test eax, eax
je 0x42a879
mov edx, dword [ebp + 8]
test edx, edx
je 0x42a879
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x42a883
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x42c650
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42c6a0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x42c69a
shr eax, 8
cmp al, 2
jne 0x42c69a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056935c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0056935c
mov esp, ebp
pop ebp
ret
Function at 0x42db30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x42db5c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x42db4d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x42db90
cmp dword [esi + 8], 0
jne 0x42db80
push 0x5a09a4
push dword [eax + 8]
call fcn.005789b0
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x42db80
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00578b93
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42dbb2
mov eax, dword [esi + 8]
test eax, eax
je 0x42dbac
push eax
call fcn.00578797
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x432db0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x432dce
cmp dword [esi + 0x48], 0
je 0x432dce
push 2
push 3
push esi
call fcn.0042c6c0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0043e290
add esp, 4
test esi, esi
je 0x432dee
cmp dword [esi + 0x48], 0
je 0x432dee
push 3
push esi
call fcn.0042c700
add esp, 8
pop esi
pop ebp
ret
Function at 0x433cc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004489e0