joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409ca0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bd9d
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x84], ebx
lea eax, [ebp - 0x138]
mov edi, ecx
push eax
mov dword [ebp - 0x88], edi
mov esi, edx
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.004086f0
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x409d21
mov esi, dword [esi]
mov ecx, esi
lea esi, [ebp - 0x138]
call fcn.00409b50
cmp dword [ebp - 0xd4], ebx
jne 0x409d69
push 0x4768d8
mov ecx, edi
call fcn.0040258f
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.00409610
lea ecx, [ebp - 0xd0]
call fcn.00402925
mov eax, edi
jmp 0x409dd0
lea edi, [ebp - 0x138]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.004485d6
mov esi, dword [ebp - 0x88]
push esi
lea ecx, [ebp - 0x80]
call fcn.00448ee2
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.00409610
lea ecx, [ebp - 0xd0]
call fcn.00402925
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret

Function at 0x409f50
Capabilities:
Copy file

Disassembly:
push esi
mov esi, eax
push esi
call fcn.0040d3a0
add esp, 4
test al, al
je 0x409f71
mov ecx, esi
mov edx, edi
call fcn.00409e40
test al, al
je 0x409f71
mov al, 1
pop esi
ret
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x409f7d
mov esi, dword [esi]
cmp dword [edi + 0x14], eax
jb 0x409f95
mov eax, dword [edi]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
pop esi
ret
push 0
mov eax, edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
pop esi
ret
Function at 0x409fb0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x409fc1
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
je 0x409fd4
pop edi
pop esi
mov al, 1
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x409fe5
pop edi
pop esi
xor al, al
pop ebx
ret
cmp dword [esi + 0x14], edi
jb 0x409fee
mov eax, dword [esi]
jmp 0x409ff0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x409fdf
cmp dword [esi + 0x14], edi
jb 0x40a004
mov ecx, dword [esi]
jmp 0x40a006
mov ecx, esi
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x409fdf
cmp dword [esi + 0x14], edi
jb 0x40a01c
mov esi, dword [esi]
push esi
call ebx
pop edi
test eax, eax
pop esi
setne al
pop ebx
ret
Function at 0x40a710
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x2f4], eax
push esi
push edi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov edi, ecx
call fcn.00402ec2
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
mov dword [esp + 0x314], 0
call fcn.0040632c
add esp, 4
push str.helper::reboot_remove
lea ecx, [esp + 0xac]
call fcn.0040258f
push str.E:code_b5m_client_bang5taoB5TClientSourceB5TLibcommonhelper_inl.h
lea ecx, [esp + 0xc8]
mov byte [esp + 0x314], 1
call fcn.0040258f
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x314], 2
call fcn.00402f86
push eax
lea eax, [esp + 0xac]
push eax
push 0x43
lea ecx, [esp + 0xd0]
push ecx
push 1
push ecx
mov byte [esp + 0x328], 3
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
lea esi, [esp + 0xe0]
mov byte [esp + 0x310], 2
call fcn.004026c0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x310], 1
call fcn.004025cc
lea ecx, [esp + 0xa8]
mov byte [esp + 0x310], 0
call fcn.004025cc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x310], 0xffffffff
call fcn.00402f43
lea ecx, [esp + 0x5c]
call fcn.004029cc
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x40a84b
mov eax, dword [edi]
jmp 0x40a84d
mov eax, edi
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40a99b
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x106]
push eax
mov word [esp + 0x108], dx
call fcn.004556a0
add esp, 0xc
cmp dword [edi + 0x14], esi
jb 0x40a887
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [esp + 0x104]
push str.reboot_remove_files:_s_failed_and_lasterror_is:_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call fcn.00402ec2
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x318], 4
call fcn.004064bf
add esp, 8
push str.helper::reboot_remove
lea ecx, [esp + 0xc8]
call fcn.0040258f
push str.E:code_b5m_client_bang5taoB5TClientSourceB5TLibcommonhelper_inl.h
lea ecx, [esp + 0xac]
mov byte [esp + 0x314], 5
call fcn.0040258f
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x314], 6
call fcn.00402f86
push eax
lea eax, [esp + 0xc8]
push eax
push 0x48
lea ecx, [esp + 0xb4]
push ecx
push 1
push ecx
mov byte [esp + 0x328], 7
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
lea esi, [esp + 0xe0]
mov byte [esp + 0x310], 6
call fcn.004026c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x310], 5
call fcn.004025cc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x310], 4
call fcn.004025cc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x310], 0xffffffff
call fcn.00402f43
lea ecx, [esp + 0x5c]
call fcn.004029cc
xor al, al
jmp 0x40a99d
mov al, 1
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2f4]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x40a9c0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f988
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], 0
push esi
call fcn.0040d3a0
add esp, 4
test al, al
je 0x40aa9e
mov ebx, 8
cmp byte [ebp + 0xc], 0
je 0x40aa33
cmp dword [edi + 0x14], ebx
jb 0x40aa1c
mov edi, dword [edi]
cmp dword [esi + 0x14], ebx
jb 0x40aa25
mov eax, dword [esi]
jmp 0x40aa27
mov eax, esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40aaaf
cmp byte [ebp + 0x10], 0
je 0x40aa52
mov eax, esi
call fcn.00409fb0
test al, al
jne 0x40aa97
cmp byte [ebp + 8], al
je 0x40aa97
mov ecx, esi
call fcn.0040a5b0
jmp 0x40aab1
cmp dword [esi + 0x14], ebx
jb 0x40aa5b
mov eax, dword [esi]
jmp 0x40aa5d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40aa97
cmp byte [ebp + 8], al
je 0x40aa97
cmp dword [esi + 0x14], ebx
jb 0x40aa74
mov esi, dword [esi]
push esi
lea esi, [ebp - 0x30]
call fcn.00402684
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0040a710
mov bl, al
mov byte [ebp - 4], 0
call fcn.004026c0
mov al, bl
jmp 0x40aab1
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x40aab1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x40f5c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004556a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40f67e
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x40f62a
mov eax, 1
cmp dword [ebp - 0x110], eax
jne 0x40f690
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40f68e
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x40f64c
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x40f664
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x40f67c
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
ja 0x40f690
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
jae 0x40f67e
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 5
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x414fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push esi
add eax, eax
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push 0
push ecx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41502c
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x414ffb
cmp eax, 2
jne 0x415016
mov eax, dword [ebp - 4]
test esi, esi
je 0x415026
test eax, eax
je 0x415021
test al, 1
jne 0x415016
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x415026
mov eax, 0xd
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4176f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b71a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
lea ecx, [ebx + 0x60]
mov dword [ebx], 0x476ed8
call fcn.004042e9
push edi
push edi
lea esi, [ebx + 4]
mov dword [ebp - 4], edi
push esi
mov ecx, ebx
mov dword [ebp - 0x10], 1
call fcn.0040427e
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00405242
mov byte [ebp - 4], 2
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x48f150]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4177d3
mov eax, dword [eax]
push 0x22
mov ecx, eax
mov edi, esi
call fcn.00409a90
test eax, eax
jne 0x417892
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx + 0xc]
add eax, ebx
or ecx, 2
cmp dword [eax + 0x38], 0
jne 0x4177fd
or ecx, 4
and ecx, 0x17
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 0x10]
and eax, ecx
je 0x417892
mov dword [ebp - 0x18], 1
test al, 4
je 0x417840
call fcn.0046219e
lea ecx, [ebp - 0x18]
push ecx
push str.ios_base::badbit_set
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00401a53
push 0x47fd74
lea edx, [ebp - 0x2c]
push edx
call fcn.00451e4c
test al, 2
je 0x41786b
call fcn.0046219e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push str.ios_base::failbit_set
lea ecx, [ebp - 0x2c]
call fcn.00401a53
push 0x47fd74
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00451e4c
call fcn.0046219e
lea edx, [ebp - 0x18]
push edx
push str.ios_base::eofbit_set
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00401a53
push 0x47fd74
lea eax, [ebp - 0x2c]
push eax
call fcn.00451e4c
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x418850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f700
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
mov ebx, ecx
call fcn.0040264e
lea eax, [esp + 0x2c]
push str.B5TService.exe__u
add ebx, 0x58
push eax
mov dword [esp + 0x60], 0
call fcn.0040680b
add esp, 8
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 1
cmp ecx, esi
je 0x418933
cmp dword [esp + 0x24], 8
jb 0x4188d1
mov edx, dword [esp + 0x10]
push edx
call fcn.0044cdbc
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp dword [esi + 0x14], 8
jae 0x418906
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x14]
push esi
push edx
call fcn.0044cf60
add esp, 0xc
jmp 0x418912
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea esi, [esp + 0x2c]
mov byte [esp + 0x58], 0
call fcn.004026c0
push 1
push 0x7d0
push 1
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x24]
call fcn.0040ce80
add esp, 0x14
mov eax, 0x13
mov ecx, str.net_stop_B5TService
lea esi, [esp + 0x10]
call fcn.00404017
push 1
push 0x7d0
push 1
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0040ce80
add esp, 0x14
lea ecx, [esp + 0x2c]
push str.B5TService.exe
push ecx
call fcn.0040680b
add esp, 8
mov esi, eax
mov byte [esp + 0x58], 2
cmp dword [esi + 0x14], 8
jb 0x4189ab
mov eax, dword [esi]
jmp 0x4189ad
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4189bf
mov ecx, esi
call fcn.0040a710
lea esi, [esp + 0x2c]
mov byte [esp + 0x58], 0
call fcn.004026c0
lea edx, [esp + 0x2c]
push str.B5TChecker.exe
push edx
call fcn.0040680b
add esp, 8
mov esi, eax
mov byte [esp + 0x58], 3
cmp dword [esi + 0x14], 8
jb 0x4189f0
mov eax, dword [esi]
jmp 0x4189f2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x418a04
mov ecx, esi
call fcn.0040a710
lea esi, [esp + 0x2c]
mov byte [esp + 0x58], 0
call fcn.004026c0
lea esi, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.004026c0
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x41d150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46de70
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 0x30]
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy_
push eax
call fcn.00417510
add esp, 0xc
mov dword [esp + 0x58], 0
push str.AppName
lea esi, [esp + 0x14]
mov dword [esp + 0x10], SysStringLen
call fcn.00402684
push ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
lea edx, [esp + 0x34]
mov byte [esp + 0x60], 1
call fcn.004472a4
mov byte [esp + 0x58], 0
call fcn.004026c0
push str.AppPath
lea esi, [esp + 0x14]
call fcn.00402684
push edi
lea edx, [esp + 0x10]
push edx
mov ecx, esi
lea edx, [esp + 0x34]
mov byte [esp + 0x60], 2
call fcn.004472a4
mov byte [esp + 0x58], 0
call fcn.004026c0
push str.Policy
lea esi, [esp + 0x14]
call fcn.00402684
lea eax, [esp + 0xc]
push eax
mov edx, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.0044700b
mov byte [esp + 0x58], 0
call fcn.004026c0
lea esi, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004026c0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 4
Function at 0x421b60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470198
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x4768d4
xor eax, eax
mov ecx, ebx
call fcn.004040bb
mov edi, eax
test edi, edi
jle 0x421c15
push 1
lea eax, [edi + 1]
push 0x4768d4
mov ecx, ebx
call fcn.004040bb
mov esi, eax
push esi
push 0
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0040278c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jbe 0x421bf2
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040d3a0
add esp, 4
test al, al
jne 0x421bf2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x421be9
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or eax, 0xffffffff
mov dword [ebp - 4], eax
cmp esi, eax
je 0x421c0d
lea edi, [esi + 1]
lea esi, [ebp - 0x2c]
call fcn.004026c0
test edi, edi
jg 0x421ba0
jmp 0x421c15
lea esi, [ebp - 0x2c]
call fcn.004026c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x423be0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ddb6
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x6c], 0
jb 0x423c1f
mov eax, dword [eax]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.004232e0
mov esi, dword [ebp - 0x6c]
add esp, 4
test esi, esi
jne 0x423ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x104]
push edx
mov esi, eax
call fcn.00403575
push esi
push ecx
lea eax, [ebp - 0x104]
push 0x4768dc
push eax
mov dword [ebp - 4], 0
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push str.service_installer::uninstall
lea ecx, [ebp - 0x30]
call fcn.0040258f
push str.service_installer.cpp
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040258f
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 2
call fcn.00403624
push eax
lea edx, [ebp - 0x30]
push edx
push 0x2b
push 2
mov byte [ebp - 4], 3
call fcn.00439dc3
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.00439e02
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004025cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004025cc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
jmp 0x423da2
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
test eax, eax
je 0x423cf9
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x423dc9
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call fcn.00403575
push esi
push ecx
lea ecx, [ebp - 0x104]
push 0x4768dc
push ecx
mov dword [ebp - 4], 4
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push str.service_installer::uninstall
lea ecx, [ebp - 0x4c]
call fcn.0040258f
push str.service_installer.cpp
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0040258f
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.00403624
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x32
push 2
mov byte [ebp - 4], 7
call fcn.00439dc3
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.00439e02
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.004025cc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004025cc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004025cc
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.004035e1
lea ecx, [ebp - 0xb4]
call fcn.00402925
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 4
Function at 0x425850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.ipbgnefajhcinjdihhidjmobopgpkmob
lea ecx, [esp + 0x10]
call fcn.0040258f
mov dword [esp + 0x38], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.lpjejejacegpedoejijbmkljeacjnnef
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.hpmcdiephomdkjdpgbbjhnlebeofkdcd
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.bcehonhjgjaldgfkipcjocnlfgegajol
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004025cc
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret

Function at 0x426000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470288
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
push str.nklfajnmfbchcceflgddnkignfheooic
lea ecx, [esp + 0x10]
call fcn.0040258f
mov dword [esp + 0x38], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042f740
mov ecx, esi
call fcn.00430590
mov ecx, esi
call fcn.0042c720
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004025cc
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret