joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
call fcn.00401a60
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00408a60
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40851a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.KeepDefaultSearchEngine
call fcn.00401a60
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00426850
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408565
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test esi, esi
jne 0x40859e
test edi, edi
jg 0x40858a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
test edi, edi
jg 0x4085ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x4085d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
call fcn.00401a60
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00408a60
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40867a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.EnableAddressbarSearch
call fcn.00401a60
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
call fcn.004268c0
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test esi, esi
jne 0x4086f9
test edi, edi
jg 0x4086e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
test edi, edi
jg 0x408707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x408910
Capabilities:
Access peb ldr_data
Delete registry value
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
call fcn.00401a60
mov eax, 1
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00408a60
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408996
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 4
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.UserAgreed
call fcn.00401a60
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 2
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408a02
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x408cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450698
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
call fcn.00401a60
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], 0
call fcn.00408a60
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x34], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.EnableHomePage
mov dword [esp + 0x1c], 0
call fcn.00401a60
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00426850
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x408e12
cmp dword [esp + 0x18], 0
je 0x408e12
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x408dfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x408e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x40ccf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f1fa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
xor esi, esi
push eax
mov ecx, 0x4554c8
mov dword [esp + 0x14], esi
call fcn.00401a60
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
mov dword [esp + 0x30], esi
call fcn.00401a60
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x38], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cd80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cda4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.AddressBarSearchName
call fcn.00401a60
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x30], 5
mov ebx, 1
lea eax, [esp + 0x10]
mov edx, SysReAllocStringLen
mov dword [esp + 0x14], ebx
call fcn.00426700
add esp, 4
test eax, eax
je 0x40ce22
lea eax, [esp + 0x1c]
push eax
mov ecx, str.AddressBarSearchURL
call fcn.00401a60
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], 6
mov ebx, 3
lea eax, [esp + 0x10]
mov edx, SysReAllocStringLen
mov dword [esp + 0x14], ebx
call fcn.00426700
add esp, 4
test eax, eax
mov byte [esp + 0x34], 0
jne 0x40ce27
mov byte [esp + 0x34], 1
test bl, 2
mov dword [esp + 0x2c], 5
je 0x40ce5a
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ce5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x2c], 4
je 0x40ce86
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
cmp byte [esp + 0x34], 0
je 0x40cec4
test esi, esi
jg 0x40ceae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
test esi, esi
jg 0x40ced2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x40cef0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f191
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov ecx, 0x4554c8
mov dword [esp + 0x1c], esi
call fcn.00401a60
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.SoftwareDeviceVMBrowser_Configuration_Utility
mov dword [esp + 0x30], esi
call fcn.00401a60
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x38], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cf80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.AddressBarSearchName
call fcn.00401a60
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x34], 5
mov ebx, 1
lea eax, [esp + 0x14]
mov edx, SysReAllocStringLen
mov dword [esp + 0x20], ebx
call fcn.004267e0
add esp, 8
test eax, eax
je 0x40d018
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.AddressBarSearchURL
call fcn.00401a60
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
mov edx, SysReAllocStringLen
mov ebx, 3
call fcn.004267e0
add esp, 8
test eax, eax
mov byte [esp + 0x34], 0
jne 0x40d01d
mov byte [esp + 0x34], 1
test bl, 2
je 0x40d048
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d048
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x2c], 4
je 0x40d074
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d074
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
cmp byte [esp + 0x34], 0
je 0x40d0b2
test esi, esi
jg 0x40d09c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
test esi, esi
jg 0x40d0c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x40eb70
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4503b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x461acc]
mov edx, dword [eax + 0xc]
mov ecx, 0x461acc
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
mov eax, dword [0x461acc]
mov edx, dword [eax + 0xc]
mov ecx, 0x461acc
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push esi
lea edi, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.0040d400
test eax, eax
jne 0x40ec46
mov byte [esp + 0x24], al
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
call fcn.00401a60
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x10000
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40ec79
xor esi, esi
jmp 0x40ec9d
mov esi, dword [esi]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ecbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ece2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x4120a1
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x412103
push ebx
add esi, 0x10
lea eax, [esp + 8]
push esi
push eax
mov ebx, str.BCUConfig.ini
call fcn.00401b30
mov ecx, dword [esp + 0x10]
add esp, 8
push ecx
push 0xffffffffffffffff
push str.IsConfiged
push str.ConfigInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
mov eax, dword [esp + 8]
pop ebx
je 0x412108
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412103
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ecx
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x416600
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [eax]
sub esp, 8
cmp dword [eax - 0xc], 0
jne 0x416613
xor eax, eax
add esp, 8
ret 4
push edi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416699
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x416699
mov eax, dword [esp + 0x10]
push esi
lea esi, [esp + 8]
call fcn.004281b0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x10]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
test esi, esi
pop esi
jne 0x4166a2
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
add esp, 8
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
add esp, 8
ret 4
Function at 0x4188e0
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
push ebx
push esi
push 1
push 0
push 0
or ebx, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x41899d
push edi
push 0x104
push 0x4569dc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x418995
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
xor esi, esi
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push edi
call ebp
test eax, eax
je 0x418958
mov eax, dword [esp + 0x18]
cmp eax, 4
mov ebx, eax
je 0x418978
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x3e8
cmp esi, 0x493e0
jg 0x418989
cmp ebx, 4
jne 0x418923
jmp 0x418989
lea ecx, [esp + 0x14]
push ecx
push 0x80
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x418b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x44ecb6
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x460164]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
push edi
push eax
mov ebx, 0x455bf0
mov dword [esp + 0x24], edi
mov esi, edx
call fcn.00401b30
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x290], 0
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
jne 0x418bd4
mov dword [esp + 0x290], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x418cf1
mov edi, dword [esp + 0x1c]
cmp word [esp + 0x60], 0x2e
je 0x418cb3
test byte [esp + 0x34], 0x10
je 0x418cb3
lea ecx, [esp + 0x28]
push edi
push ecx
lea ebx, [esp + 0x68]
call fcn.00401b30
mov ebx, dword [esi + 8]
add esp, 8
cmp dword [esi + 4], ebx
mov ebp, eax
jbe 0x418c0c
call fcn.00435b3c
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x418c19
call fcn.00435b3c
mov ecx, ebp
mov eax, edi
mov dword [esp + 0x30], edi
call fcn.0041c4e0
mov edi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418c48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x418c55
call fcn.00435b3c
test esi, esi
je 0x418c5d
cmp esi, esi
je 0x418c62
call fcn.00435b3c
cmp edi, ebx
jne 0x418cb3
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x68]
call fcn.00401b30
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 1
call fcn.0041b9d0
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418cb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418bd0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418cfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00435245
add esp, 0x280
ret