joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40541a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov ebx, 0xfde9
push ebx
call edi
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x405468
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push dword [ebp - 4]
push 0xffffffffffffffff
push eax
push 0
push ebx
call edi
xor bl, bl
test eax, eax
jne 0x40548c
push dword [ebp - 4]
call fcn.00412f89
pop ecx
mov al, bl
jmp 0x405461
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
mov word [eax + esi*2 - 4], cx
and dword [ebp - 0x24], ecx
and dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, 0x414
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4054d3
cmp eax, 2
je 0x4054d3
cmp eax, 0x7c
je 0x4054d3
cmp eax, 0x402
jne 0x40547f
mov bl, 1
jmp 0x40547f

Function at 0x4054d7
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov edi, 0xfde9
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [esp + 0x18], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40552e
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [esp + 0x18]
mov ebx, dword [ebx]
push eax
push 0xffffffffffffffff
push ebx
push 0
push edi
call esi
test eax, eax
jne 0x405551
xor bl, bl
push dword [esp + 0x14]
call fcn.00412f89
pop ecx
mov al, bl
jmp 0x405525
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 0x18]
mov byte [esp + 0x1b], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x28]
call fcn.00405591
mov bl, al
test bl, bl
je 0x405543
cmp byte [esp + 0x13], 0
je 0x405543
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x405543
jmp 0x405541
Function at 0x405ca6
Capabilities:
Create directory

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
test edi, edi
je 0x405ced
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405ced
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405ced
push esi
push 0x5c
push edi
call fcn.00413667
pop ecx
pop ecx
mov esi, eax
xor eax, eax
push edi
mov ecx, ebx
mov word [esi], ax
call fcn.00405ca6
push 0x5c
pop eax
mov word [esi], ax
pop esi
pop edi
pop ebx
ret 4

Function at 0x405cf2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov edi, 0xfde9
push edi
mov dword [ebp - 0x18], ecx
call esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
add eax, ecx
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
je 0x405dfb
cmp eax, ebx
je 0x405dfb
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
test eax, eax
je 0x405dfb
push dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push dword [ebp - 8]
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push ebx
push edi
call esi
test eax, eax
je 0x405dfb
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00405ca6
push 0x42f6f4
push dword [ebp - 0x14]
push esi
call fcn.004136bd
push dword [ebp - 8]
push dword [ebp - 0x14]
push esi
call fcn.004136bd
add esp, 0x18
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405de9
mov bl, 1
push esi
call fcn.00412f89
push dword [ebp - 8]
call fcn.00412f89
mov al, bl
jmp 0x405e0d
push dword [ebp - 4]
call fcn.00412f89
push dword [ebp - 8]
call fcn.00412f89
xor al, al
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405e57
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x4388e4]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x405e88
cmp byte [eax], bl
jne 0x405f26
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x42f9a8
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.004136bd
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.00411d83
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x405f26
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x405f1d
mov eax, dword [0x4388e4]
cmp eax, ebx
je 0x405f10
cmp byte [eax], bl
jne 0x405f1d
push dword [ebp - 0x7c]
mov esi, 0x4388e4
call fcn.00405160
push dword [ebp - 0x7c]
call fcn.00412f89
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x4388e4
pop ebx
call fcn.00412c50
add ebp, 0x194
leave
ret

Function at 0x405f43
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x4388f4]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x405f74
cmp byte [eax], bl
jne 0x406012
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AdobeFlash_PlayerAFCache
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.004136bd
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.00411d83
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x406012
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x406009
mov eax, dword [0x4388f4]
cmp eax, ebx
je 0x405ffc
cmp byte [eax], bl
jne 0x406009
push dword [ebp - 0x7c]
mov esi, 0x4388f4
call fcn.00405160
push dword [ebp - 0x7c]
call fcn.00412f89
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x4388f4
pop ebx
call fcn.00412c50
add ebp, 0x194
leave
ret
Function at 0x40602f
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x4388ec]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x406060
cmp byte [eax], bl
jne 0x4060fe
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromediaFlash_Player
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.004136bd
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.00411d83
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x4060fe
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x4060f5
mov eax, dword [0x4388ec]
cmp eax, ebx
je 0x4060e8
cmp byte [eax], bl
jne 0x4060f5
push dword [ebp - 0x7c]
mov esi, 0x4388ec
call fcn.00405160
push dword [ebp - 0x7c]
call fcn.00412f89
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x4388ec
pop ebx
call fcn.00412c50
add ebp, 0x194
leave
ret

Function at 0x40611b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x4388f0]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x40614c
cmp byte [eax], bl
jne 0x4061ea
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AdobeFlash_PlayerAPSPrivateData2
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.004136bd
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.00411d83
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x4061ea
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x4061e1
mov eax, dword [0x4388f0]
cmp eax, ebx
je 0x4061d4
cmp byte [eax], bl
jne 0x4061e1
push dword [ebp - 0x7c]
mov esi, 0x4388f0
call fcn.00405160
push dword [ebp - 0x7c]
call fcn.00412f89
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x4388f0
pop ebx
call fcn.00412c50
add ebp, 0x194
leave
ret
Function at 0x406207
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x4388e8]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x406238
cmp byte [eax], bl
jne 0x4062d6
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromedFlashmms.cfg
lea eax, [ebp - 0x78]
push 0x104
push eax
call fcn.004136bd
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
mov edi, 0xfde9
push edi
call esi
push eax
mov dword [ebp - 0x80], eax
call fcn.00411d83
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x4062d6
push ebx
push ebx
push dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x78]
push eax
push ebx
push edi
call esi
test eax, eax
je 0x4062cd
mov eax, dword [0x4388e8]
cmp eax, ebx
je 0x4062c0
cmp byte [eax], bl
jne 0x4062cd
push dword [ebp - 0x7c]
mov esi, 0x4388e8
call fcn.00405160
push dword [ebp - 0x7c]
call fcn.00412f89
pop ecx
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x4388e8
pop ebx
call fcn.00412c50
add ebp, 0x194
leave
ret
Function at 0x4067e1
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b20e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x43637c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 2
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4068c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x24]
push 0x4c3
push eax
mov dword [esp + 0xe0], edi
call fcn.0040d24d
push 0x42eacc
push eax
xor ebx, ebx
lea eax, [esp + 0x6c]
inc ebx
push eax
mov byte [esp + 0xec], bl
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 2
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push edi
push ebx
lea esi, [esp + 0x5c]
call fcn.004023e7
push edi
push ebx
lea esi, [esp + 0x24]
call fcn.004023e7
push edi
push ebx
lea esi, [esp + 0x94]
call fcn.004023e7
xor al, al
jmp 0x4069e2
cmp dword [esi + 0x18], 8
jb 0x4068cc
mov edx, dword [esi + 4]
jmp 0x4068cf
lea edx, [esi + 4]
cmp dword [esi + 0x50], 8
jb 0x4068da
mov ecx, dword [esi + 0x3c]
jmp 0x4068dd
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x34], 8
jb 0x4068e8
mov eax, dword [esi + 0x20]
jmp 0x4068eb
lea eax, [esi + 0x20]
push edi
push edi
push edi
push edi
push edi
push edx
xor ebx, ebx
inc ebx
push ebx
push 3
push 0x10
push 0x30
push ecx
push eax
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, edi
jne 0x4069ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x78]
push 0x4c4
push eax
mov dword [esp + 0xe0], 3
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xec], 4
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 5
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push edi
push ebx
lea esi, [esp + 0x40]
call fcn.004023e7
push edi
push ebx
lea esi, [esp + 0x78]
call fcn.004023e7
push edi
push ebx
lea esi, [esp + 0xb0]
call fcn.004023e7
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4068ba
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call ebx
push dword [esp + 0x14]
call ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0x643
push eax
call fcn.0040d24d
pop ecx
pop ecx
push edi
call fcn.0040cf44
add esp, 0x20
mov ecx, esi
call fcn.0040729e
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4069f8
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b13c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x43637c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x406ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x24]
push 0x4c5
push eax
mov dword [esp + 0xe0], ebx
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xec], 1
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 2
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.004023e7
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x34], 8
jb 0x406af2
mov esi, dword [esi + 0x20]
jmp 0x406af5
add esi, 0x20
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
jne 0x406ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x24]
push 0x4c6
push eax
mov dword [esp + 0xe0], 3
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xec], 4
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 5
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004023e7
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x406acf
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x406c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x94]
push 0x4c7
push eax
mov dword [esp + 0xe0], 6
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xec], 7
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 8
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x78]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x94]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.004023e7
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [esp + 0x14]
call esi
mov al, bl
jmp 0x406ad1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0x644
push eax
call fcn.0040d24d
pop ecx
pop ecx
push ebx
call fcn.0040cf44
add esp, 0x20
mov bl, 1
jmp 0x406c53
Function at 0x406f2b
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b13c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x43637c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x40701a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x24]
push 0x4cb
push eax
mov dword [esp + 0xe0], ebx
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xec], 1
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 2
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.004023e7
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x34], 8
jb 0x407025
mov esi, dword [esi + 0x20]
jmp 0x407028
add esi, 0x20
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
jne 0x4070da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x24]
push 0x4cc
push eax
mov dword [esp + 0xe0], 3
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xec], 4
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 5
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004023e7
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x407002
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40719a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [esp + 0x94]
push 0x4cd
push eax
mov dword [esp + 0xe0], 6
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xec], 7
call fcn.00402a83
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
mov byte [esp + 0xf8], 8
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push 1
lea esi, [esp + 0x78]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0x94]
call fcn.004023e7
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.004023e7
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [esp + 0x14]
call esi
mov al, bl
jmp 0x407004
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0x646
push eax
call fcn.0040d24d
pop ecx
pop ecx
push ebx
call fcn.0040cf44
add esp, 0x20
mov bl, 1
jmp 0x407184
Function at 0x4071bd
Capabilities:
Check os version
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov eax, dword [0x43637c]
xor eax, ebp
mov dword [ebp + 0x74], eax
and dword [ebp - 0x24], 0
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
push 0
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407224
push str.UpdateAttempts
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x407209
inc bl
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x407224
call fcn.00404f2d
test al, al
je 0x407224
call fcn.00404f74
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
pop ebx
jne 0x407249
cmp dword [ebp - 0x1c], 6
jb 0x407249
call fcn.0040b883
jmp 0x40724e
call fcn.0040b6ce
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.00412c50
add ebp, 0x78
leave
ret