joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401150
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e0a9
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x20

Function at 0x401630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e121
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push str.call_to_empty_boost::function
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004014f0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi], 0x432b2c
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4090a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42eaf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], 0x432fbc
push edi
mov dword [esp + 0xc], esi
mov dword [eax], eax
mov dword [eax + 4], eax
lea eax, [esi + 0xc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov eax, 0x432b20
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esi + 0x68], ebx
push 0x432f30
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 9
call fcn.00412370
lea edi, [esi + 0x84]
mov ecx, edi
mov byte [esp + 0x18], 0xa
call fcn.00403550
mov dword [edi + 4], eax
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea ecx, [esi + 0x90]
mov dword [edi + 8], ebx
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
call edi
lea edx, [esi + 0xa8]
push edx
call edi
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x409270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42eb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
lea esi, [edi + 0xa8]
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x88]
mov ecx, dword [eax]
cmp ecx, eax
mov bl, 1
mov byte [esp + 0x2c], bl
mov dword [esp + 0xc], ecx
je 0x40931c
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x24], bl
jmp 0x4092d0
mov esi, dword [ecx + 0x14]
test esi, esi
mov dword [esp + 0x20], esi
je 0x4092e1
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x34], 2
call fcn.00408c00
test esi, esi
mov byte [esp + 0x30], bl
je 0x409300
mov edx, dword [esi]
push esi
call dword [edx + 8]
lea ecx, [esp + 0x10]
call fcn.00401ac0
mov eax, dword [edi + 0x88]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x4092d0
mov esi, dword [esp + 0x14]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x40d800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42f179
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4414d8]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x34], 0
call fcn.004193e0
mov bl, al
add esp, 4
test bl, bl
je 0x40d886
lea ecx, [esp + 8]
push 0x432b00
push ecx
call fcn.00419070
add esp, 8
test bl, bl
je 0x40d886
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
je 0x40d87f
call fcn.0040cee0
jmp 0x40d884
call fcn.0040bbf0
mov bl, al
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov al, bl
pop ebx
call fcn.0042db2b
add esp, 0x2c
ret
Function at 0x40fcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x30]
push edi
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x14], 0
je 0x40fcfe
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40fd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x30]
push edi
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x410450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x433c1c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [esp + 0x24]
cmp ebx, edi
mov ebp, dword [esp + 0x28]
mov dword [esi], 0x433c58
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
je 0x4104d8
mov eax, dword [esp + 0x2c]
push edi
push ebp
mov dword [esi + 0x5c], eax
mov dword [esi + 0x54], ebx
call ebx
add esp, 8
mov dword [esi + 0x58], eax
mov ecx, edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, edi
mov dword [esi + 0x50], eax
mov dword [esp + 0x1c], 0xffffffff
je 0x4104fd
push 1
push ebp
call ebx
add esp, 8
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4105c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x433c1c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x2c], edi
call ebp
mov ebx, dword [esp + 0x24]
cmp ebx, edi
mov dword [esi], 0x433c30
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
je 0x410647
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edi
push ecx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x54], ebx
call ebx
add esp, 8
mov dword [esi + 0x58], eax
lea eax, [esi + 0x60]
push eax
call ebp
cmp ebx, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x410665
mov edx, dword [esp + 0x28]
push 1
push edx
call ebx
add esp, 8
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x4107c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x433c1c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x2c], ebx
call ebp
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov dword [esi], 0x433c80
mov byte [esp + 0x1c], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
je 0x410841
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push ebx
push ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], edi
call edi
add esp, 8
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x54]
push eax
call ebp
cmp edi, ebx
mov byte [esi + 0x6c], bl
mov dword [esp + 0x1c], 0xffffffff
je 0x410862
mov edx, dword [esp + 0x28]
push 1
push edx
call edi
add esp, 8
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4108a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42f4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x54]
push eax
mov dword [esp + 0x18], 0
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4108e7
mov ecx, dword [esi + 0x4c]
push 1
push ecx
call eax
add esp, 8
mov dword [esi + 0x4c], eax
lea edx, [esi + 0x30]
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
push edx
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], 0x433c1c
call edi
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4116e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4414d8]
push esi
mov dword [esp + 0x24], eax
push 0x433cf4
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
mov esi, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x34], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
call fcn.0042db2b
add esp, 0x30
ret

Function at 0x4124f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], esi
call sub.SHLWAPI.dll_SHRegQueryUSValueW
test eax, eax
jne 0x412556
cmp dword [esp + 8], 3
jne 0x41253f
cmp dword [esp + 0x20], esi
je 0x412556
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0xd
pop edi
pop esi
pop ecx
ret
Function at 0x4125a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push 2
push 8
lea edx, [esp + 0xc]
push edx
push 3
push str.LastFullScan
push eax
call sub.SHLWAPI.dll_SHRegWriteUSValueW
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x413090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f827
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
mov eax, dword [0x4414d8]
push ebx
push esi
push edi
mov dword [esp + 0x33c], eax
mov ebx, ecx
xor eax, eax
mov word [esp + 0x130], 0
mov ecx, 0x81
lea edi, [esp + 0x132]
rep stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x138]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
je 0x41317e
lea eax, [esp + 0x130]
lea edx, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00412de0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x118]
mov dword [esp + 0x350], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
cmp eax, edx
mov byte [esp + 0x34c], 2
je 0x413152
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [ebx + 0x38]
push 1
push 1
lea eax, [esp + 0x11c]
push eax
call fcn.0040afc0
lea ecx, [esp + 0x114]
mov dword [esp + 0x34c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 0x344]
xor eax, eax
test esi, esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x33c]
setne al
call fcn.0042db2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f86b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
lea ecx, [esi + 0x18]
xor edi, edi
mov dword [esi + 0x14], edi
mov edx, ecx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [esp + 8], esi
mov dword [edx + 0x14], eax
call fcn.00412980
cmp eax, edi
jge 0x41328a
push eax
call fcn.00401100
lea ecx, [esi + 0x50]
mov dword [esp + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call fcn.00411200
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
lea ecx, [esi + 0x40]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x414470
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x208
mov eax, dword [0x4414d8]
mov ecx, dword [esp + 0x210]
mov dword [esp + 0x204], eax
push esi
lea eax, [esp + 0x218]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCR71.dll_vswprintf]
mov esi, dword [esp + 0x21c]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x260]
add esp, 0xc
test eax, eax
jne 0x4144c8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.MSVCR71.dll__putws]
add esp, 4
add esi, 0x40
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x4144fb
push 0
lea edx, [esp + 8]
push edx
push 0
push 1
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [esp + 0x208]
pop esi
call fcn.0042db2b
add esp, 0x208
ret

Function at 0x4148c0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41492d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x414905
cmp eax, 2
jne 0x41491d
test esi, esi
mov eax, dword [esp + 0x14]
je 0x414927
test al, 1
jne 0x41491d
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x414927
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x414940
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x414960
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x414990
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4149a2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x415090
Capabilities:
Create service

Disassembly:
sub esp, 0xa10
mov eax, dword [0x4414d8]
push ebx
push ebp
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
mov dword [esp + 0xa28], eax
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4150e7
push 1
lea eax, [ebx + 0x40]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4150dc
push eax
mov edi, 1
call ebp
push esi
call ebp
test edi, edi
jne 0x415206
push 0x104
lea ecx, [esp + 0x16]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x415176
cmp eax, 0x104
je 0x415176
push 0xf003f
mov ecx, 0x22
push 0
mov word [esp + 0x18], cx
push 0
mov word [esp + eax*2 + 0x1e], cx
mov word [esp + eax*2 + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x41518f
push 0x400
lea edx, [esp + 0x220]
push edx
push 0xd80a
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x415160
push str.Could_not_open_Service_Manager
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
add ebx, 0x40
push ebx
lea ecx, [esp + 0x224]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa0c]
call fcn.0042db2b
add esp, 0xa10
ret
push 0
push 0
push str.RPCSS
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 1
push 3
push 0x10
push 0xf01ff
lea edi, [ebx + 0x40]
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x415200
push esi
call ebp
push 0x400
lea eax, [esp + 0x220]
push eax
push 0xd80b
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x4151f0
push str.Could_not_start_service
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push edi
lea edx, [esp + 0x224]
push edx
jmp 0x41516e
push eax
call ebp
push esi
call ebp
mov ecx, dword [esp + 0xa1c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.0042db2b
add esp, 0xa10
ret