joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415230
Capabilities:
Delete service
Stop service

Disassembly:
mov eax, 0x1020
call fcn.0042dcb0
mov eax, dword [0x4414d8]
push ebx
push ebp
push esi
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x1038], eax
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x415399
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 1
add edi, 0x40
push edi
push esi
call ebp
test eax, eax
je 0x415284
push eax
mov ebx, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x415399
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x4152ca
push 0x400
lea eax, [esp + 0x30]
push eax
push 0xd80a
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x41530b
push str.Could_not_open_Service_Manager
jmp 0x415300
push 0x10020
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x415318
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea eax, [esp + 0x30]
push eax
push 0xd80c
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x41530b
push str.Could_not_open_service
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push edi
lea edx, [esp + 0x34]
push edx
jmp 0x4153f1
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x415380
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x415380
cmp eax, 0x425
jne 0x415345
cmp dword [esp + 0x14], 3
je 0x415380
push 0x400
lea ecx, [esp + 0x30]
push ecx
push 0xd80e
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x415370
push str.Could_not_stop_service
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push edi
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, eax
call esi
push ebx
call esi
test ebp, ebp
je 0x4153b5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x101c]
call fcn.0042db2b
add esp, 0x1020
ret
push 0x400
lea ecx, [esp + 0x830]
push ecx
push 0xd80d
call fcn.004145d0
add esp, 0xc
test eax, eax
jne 0x4153e6
push str.Could_not_delete_service
lea edx, [esp + 0x830]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push edi
lea eax, [esp + 0x834]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042db2b
add esp, 0x1020
ret
Function at 0x415450
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4414d8]
mov edx, dword [esp + 0x220]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x22c], eax
mov eax, dword [edi]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 8]
mov esi, eax
test esi, esi
jne 0x4154ba
test ecx, ecx
je 0x4154ac
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 8], ecx
je 0x4154c8
test ecx, ecx
je 0x41556b
push ecx
jmp 0x415565
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x415532
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.00415450
mov edi, eax
test edi, edi
jne 0x415584
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x4154f4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x415549
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x228]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x41556b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x218]
call fcn.0042db2b
add esp, 0x21c
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x415593
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
pop esi
call fcn.0042db2b
add esp, 0x21c
ret 4

Function at 0x4159f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x415a0c
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x415420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ecx
ret
Function at 0x417ab0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1c
push edi
mov edi, ecx
call fcn.00415230
test eax, eax
jne 0x417acb
mov eax, 0x80004005
pop edi
add esp, 0x1c
ret 4
mov ecx, dword [0x4415a0]
push ebx
lea eax, [esp + 0x14]
push eax
push 1
push 0x65
xor ebx, ebx
push ecx
mov dword [esp + 0x24], 0x43448c
mov dword [esp + 0x28], str.D55E16BA_BBC9_4F7E_A147_E5DFBCC71480
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00417890
cmp eax, ebx
jl 0x417c03
push esi
push 0x20006
push str.AppID
push SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00414870
cmp eax, ebx
je 0x417b49
push eax
call fcn.00414640
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x417b3e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
pop edi
add esp, 0x1c
ret 4
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.D55E16BA_BBC9_4F7E_A147_E5DFBCC71480
push esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x417bcd
mov eax, dword [esp + 0x10]
push str.LocalService
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [esp + 0x2c], bl
je 0x417bee
push 1
lea ecx, [edi + 0x40]
push ecx
push str.LocalService
lea ecx, [esp + 0x1c]
call fcn.00414960
mov ecx, edi
call fcn.00415090
test eax, eax
jne 0x417bee
lea ecx, [esp + 0x10]
call fcn.00415430
lea ecx, [esp + 0xc]
call fcn.00415430
pop esi
pop ebx
mov eax, 0x80004005
pop edi
add esp, 0x1c
ret 4
push eax
call fcn.00414640
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x417be3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, edi
pop edi
add esp, 0x1c
ret 4
lea ecx, [esp + 0x10]
call fcn.00415430
lea ecx, [esp + 0xc]
call fcn.00415430
xor eax, eax
pop esi
pop ebx
pop edi
add esp, 0x1c
ret 4
Function at 0x417c20
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
call fcn.00415230
test eax, eax
jne 0x417c35
mov eax, 0x80004005
add esp, 8
ret
push ebp
lea eax, [esp + 8]
push eax
push 0x20006
xor ebp, ebp
push ebp
push str.AppID
push SysReAllocString
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x417c69
push eax
call fcn.00414640
add esp, 4
pop ebp
add esp, 8
ret
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x20006
push str.D55E16BA_BBC9_4F7E_A147_E5DFBCC71480
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.00414870
cmp eax, ebp
je 0x417cb9
push eax
call fcn.00414640
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebp
je 0x417ca8
push eax
call ebx
cmp edi, ebp
je 0x417caf
push edi
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
add esp, 8
ret
mov esi, dword [esp + 0x10]
push str.LocalService
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebp
call fcn.00417a70
test esi, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
je 0x417cde
push esi
call ebx
test edi, edi
je 0x417ce5
push edi
call ebx
pop edi
pop esi
pop ebx
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x418090
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov al, byte [0x4415bc]
test al, al
push esi
mov esi, ecx
je 0x4180a7
mov eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.00417fa0
cmp al, 1
jne 0x4180d7
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.00417cf0
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4

Function at 0x4180e0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x804
mov eax, dword [0x4414d8]
mov dword [esp + 0x800], eax
mov al, byte [0x4415c0]
test al, al
je 0x41813a
push 0x400
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov edx, dword [sym.imp.MSVCR71.dll__iob]
add edx, 0x20
push edx
push 0x4345b4
push 0x4345b0
call dword [sym.imp.MSVCR71.dll_freopen]
add esp, 0xc
push esi
push 1
call fcn.0042c530
add esp, 4
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCache]
test eax, eax
je 0x418156
mov esi, 1
mov ecx, 0x4415c4
call fcn.00411580
test al, al
jne 0x41816b
mov esi, 1
jmp 0x418183
test esi, esi
jne 0x418183
mov eax, dword [esp + 0x818]
push eax
mov ecx, 0x4415d0
call fcn.00418090
mov esi, eax
mov ecx, 0x4415c4
call fcn.00411540
mov al, byte [0x4415c0]
test al, al
je 0x41819c
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [esp + 0x804]
mov eax, esi
pop esi
call fcn.0042db2b
add esp, 0x804
ret 0x10
Function at 0x4193e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
push ebx
push esi
mov esi, dword [esp + 0x114]
push esi
mov dword [esp + 0xc], 0
xor bl, bl
call fcn.004190e0
add esp, 4
test al, al
je 0x41948e
push str.Nero_Home
push 0x43490c
mov ecx, esi
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__::append_unsigned_short_int_const__]
mov ecx, eax
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__::append_unsigned_short_int_const__]
mov ecx, esi
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]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00412de0
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41945c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41945e
mov bl, 1
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x419474
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
test bl, bl
je 0x419483
pop esi
mov al, 1
pop ebx
add esp, 0x108
ret
pop esi
xor al, al
pop ebx
add esp, 0x108
ret
pop esi
mov al, bl
pop ebx
add esp, 0x108
ret
Function at 0x419510
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fc23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4414d8]
push ebx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
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 bl, byte [ebp + 0xc]
lea eax, [ebp - 0x30]
movzx ecx, bl
push eax
push ecx
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x419583
test bl, bl
je 0x419583
lea edx, [ebp - 0x30]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x419604
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp + 0xc]
push ecx
push esi
push esi
push 1
push eax
mov dword [ebp + 0xc], esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4195f7
mov edi, dword [ebp + 0xc]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0042dcb0
mov eax, dword [ebp - 0x30]
mov esi, esp
lea edx, [ebp + 0xc]
push edx
push edi
push esi
push 1
push eax
call ebx
test eax, eax
je 0x4195f5
mov edx, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x4195f5
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x43224c]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
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, [ebp - 0x2c]
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 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 eax, esi
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042db2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42fe64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 8], esi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi], 0x434e9c
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41ed70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x434e9c
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4225d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430259
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
call fcn.0042d330
push eax
lea ecx, [esp + 0x10]
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 edi, [esi + 8]
test edi, edi
mov dword [esp + 0x30], 0
je 0x422610
lea eax, [edi - 8]
jmp 0x422612
xor eax, eax
add eax, 8
je 0x42261c
add eax, 0xfffffff8
jmp 0x42261e
xor eax, eax
add eax, 8
je 0x422628
lea esi, [eax - 8]
jmp 0x42262a
xor esi, esi
mov ecx, esi
call fcn.0042bf30
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00422520
call fcn.0042d340
test edi, edi
movzx ecx, al
mov dword [esp + 8], ecx
je 0x422652
lea eax, [edi - 8]
jmp 0x422654
xor eax, eax
add eax, 8
je 0x42265e
add eax, 0xfffffff8
jmp 0x422660
xor eax, eax
add eax, 8
je 0x42266a
lea esi, [eax - 8]
jmp 0x42266c
xor esi, esi
mov ecx, esi
call fcn.0042bf30
mov ecx, esi
call fcn.00422420
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0xc]
call fcn.00403850
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
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 + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x423050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4303bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x4353b4
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0xc], bl
lea ecx, [esi + 0x14]
mov dword [esp + 8], esi
mov dword [esi + 0x10], 4
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 ecx, [esi + 0x30]
mov dword [esp + 0x14], 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_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 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_void_]
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 2
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 ecx, [esi + 0x84]
mov byte [esp + 0x14], 3
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 ecx, [esi + 0xa0]
mov byte [esp + 0x14], 4
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 ecx, [esi + 0xbc]
mov byte [esp + 0x14], 5
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 ecx, [esi + 0xd8]
mov byte [esp + 0x14], 6
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 ecx, [esi + 0xf4]
mov byte [esp + 0x14], 7
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 ecx, [esi + 0x110]
mov byte [esp + 0x14], 8
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 ecx, dword [esp + 0xc]
mov dword [esi + 0x130], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42bf80
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor bl, bl
test eax, eax
jne 0x42bfb9
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x42bf50
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi], eax
je 0x42bfb0
pop esi
mov al, 1
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x14], eax
pop esi
mov al, bl
pop ebx
ret

Function at 0x42c1f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
jne 0x42c240
cmp dword [esp], 4
je 0x42c24a
mov eax, dword [esp + 0x1c]
add esp, 0xc
ret 0x10
mov eax, dword [esp + 4]
add esp, 0xc
ret 0x10