joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x471ecc
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.apache::thrift::concurrency::ThreadManager::Impl.0
push 0
mov dword [esp + 0x18], 0xa
call fcn.004376c0
lea eax, [esi + 0xc0]
push eax
mov byte [esp + 0x18], 9
call fcn.00438850
lea eax, [esi + 0xa0]
push eax
mov byte [esp + 0x18], 8
call fcn.00438700
lea eax, [esi + 0x80]
push eax
mov byte [esp + 0x18], 7
call fcn.00438700
mov byte [esp + 0x14], 6
mov edi, dword [esi + 0x7c]
mov dword [esi + 0x78], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x436720
push edi
call fcn.004421f0
push edi
call fcn.0044d4ea
add esp, 4
mov byte [esp + 0x14], 5
mov edi, dword [esi + 0x74]
mov dword [esi + 0x70], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x436742
push edi
call fcn.004421f0
push edi
call fcn.0044d4ea
add esp, 4
mov byte [esp + 0x14], 4
mov edi, dword [esi + 0x6c]
mov dword [esi + 0x68], vtable.apache::thrift::concurrency::Monitor.0
test edi, edi
je 0x436764
push edi
call fcn.004421f0
push edi
call fcn.0044d4ea
add esp, 4
mov byte [esp + 0x14], 3
mov dword [esi + 0x5c], vtable.apache::thrift::concurrency::Mutex.0
mov edi, dword [esi + 0x64]
test edi, edi
je 0x4367a1
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4367a1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4367a1
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea eax, [esi + 0x3c]
push eax
mov byte [esp + 0x18], 2
call fcn.004386a0
mov byte [esp + 0x14], 1
mov edi, dword [esi + 0x38]
test edi, edi
je 0x4367e5
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4367e5
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4367e5
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea edi, [esi + 0x18]
mov byte [esp + 0x14], 0
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x43680b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, edi
setne dl
movzx edx, dl
push edx
call eax
mov dword [edi + 0x10], 0
mov dword [esi], vtable.apache::thrift::concurrency::ThreadManager.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x43e5f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472e38
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
push 1
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], 1
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
mov dword [esp + 0x28], 0x1fffff
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov edx, dword [esp + 0x10]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x1c], 8
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jb 0x43e720
mov ecx, dword [esi + 8]
jmp 0x43e723
lea ecx, [esi + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push edx
push ebx
push eax
push eax
mov eax, dword [esi + 0x28]
push eax
push 6
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
jne 0x43e795
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0x19
push str.TCreateNamedPipe___failed
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00403920
mov dword [esp + 0xc0], ebx
call esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edi, [esp + 0x68]
call fcn.0043df20
push 0x482de8
mov edx, edi
push edx
call fcn.0044f72b
mov dword [esi + 0x24], eax
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044d4f5
mov esp, ebp
pop ebp
ret

Function at 0x43fa50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f668
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0xc]
call fcn.00440e60
mov edi, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.00440eb0
push 0x483308
mov eax, esi
push eax
call fcn.0044f72b
int3
Function at 0x441f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473318
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, esi
or eax, ebx
jne 0x441f50
mov ebx, edi
call fcn.00442000
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], 1
lea eax, [esp + 0x14]
push 0x43e980
push eax
mov dword [esp + 0x40], 0
call fcn.0043f460
add esp, 8
push ebx
push esi
lea esi, [esp + 0x24]
call fcn.0043f0e0
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.0043f2c0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
sub esp, 0x18
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
call fcn.00442a90
xor edx, edx
test al, al
setne dl
dec edx
and edx, 0x274c
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x44c510
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x46ee98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x44], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44c650
mov bl, 1
movsx ecx, word [esp + 0x14]
dec ecx
cmp ecx, 3
ja case.default.0x44c5a1
jmp dword [ecx*4 + 0x44c694]
cmp eax, 2
jne case.default.0x44c5a1
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call edx
mov byte [ebp + 0x34], bl
jmp 0x44c61d
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x44c614
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0xc]
push eax
call edx
mov byte [ebp + 0x35], bl
jmp 0x44c61d
mov edx, dword [esi]
mov ecx, esi
cmp eax, 0xa
jne 0x44c614
mov edx, dword [edx + 0x9c]
lea eax, [ebp + 0x10]
push eax
call edx
mov byte [ebp + 0x36], bl
jmp 0x44c61d
mov edx, dword [esi]
mov ecx, esi
cmp eax, 0xb
jne 0x44c614
mov edx, dword [edx + 0xa8]
lea eax, [ebp + 0x18]
push eax
call edx
mov byte [ebp + 0x37], bl
jmp 0x44c61d
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edx + 0xac]
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
add edi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x44c596
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov esi, eax
add esi, edi
cmp dword [esp + 0x34], 0x10
jb 0x44c671
mov eax, dword [esp + 0x20]
push eax
call fcn.0044d4ea
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x34
ret 4

Function at 0x44cba0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x114], eax
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
call fcn.0044fbe0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0044d4f5
add esp, 0x118
ret

Function at 0x44d4f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48b308]
jne 0x44d4ff
repz ret
jmp fcn.00451f4b
Function at 0x45d5f1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00453a9c
and dword [ebp - 4], 0
cmp dword [0x4908c4], 0
mov ebx, eax
jne 0x45d6a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45d753
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45d753
push eax
call fcn.00453a2a
mov dword [esp], 0x476964
push edi
mov dword [0x4908c4], eax
call esi
push eax
call fcn.00453a2a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4908c8], eax
call esi
push eax
call fcn.00453a2a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4908cc], eax
call esi
push eax
call fcn.00453a2a
pop ecx
mov dword [0x4908d4], eax
test eax, eax
je 0x45d6a2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453a2a
pop ecx
mov dword [0x4908d0], eax
mov eax, dword [0x4908d0]
cmp eax, ebx
je 0x45d6fa
cmp dword [0x4908d4], ebx
je 0x45d6fa
push eax
call fcn.00453aa5
push dword [0x4908d4]
mov esi, eax
call fcn.00453aa5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45d6fa
test edi, edi
je 0x45d6fa
call esi
test eax, eax
je 0x45d6f1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45d6f1
test byte [ebp - 0xc], 1
jne 0x45d6fa
or dword [ebp + 0x10], 0x200000
jmp 0x45d733
mov eax, dword [0x4908c8]
cmp eax, ebx
je 0x45d733
push eax
call fcn.00453aa5
pop ecx
test eax, eax
je 0x45d733
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45d733
mov eax, dword [0x4908cc]
cmp eax, ebx
je 0x45d733
push eax
call fcn.00453aa5
pop ecx
test eax, eax
je 0x45d733
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4908c4]
call fcn.00453aa5
pop ecx
test eax, eax
je 0x45d753
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45d755
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x466650
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x466688
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044fbe0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x466753
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4666c0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x466753
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4666e2
mov eax, dword [0x479858]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466700
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x466714
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044d4f5
add esp, 0x20c
ret
Function at 0x466ea0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00465270
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x46700b
cmp dword [esp + 0x2c20], edi
je 0x46700b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.004668c0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x466fe4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0044fbe0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x466fd7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0044fbe0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.004687b0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.004667c0
test eax, eax
jne 0x466fd7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x466fee
inc ebx
cmp ebx, 0x10
jl 0x466ef0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044d4f5
add esp, 0x2c14
ret
Function at 0x4672b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x4674b1
cmp dword [esp + 0x2f8], 0
je 0x4674b1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044fbe0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x477c88
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467478
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x46746b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467439
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46742e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0044fbe0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.004671a0
add esp, 0x14
test eax, eax
je 0x46742e
cmp byte [esp + 0x24], 0
je 0x4673f2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x46742e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x467421
mov cl, byte [esi + eax]
test cl, cl
je 0x467421
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x467406
jmp 0x467425
test edx, edx
jne 0x467426
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x467350
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x4674b1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.004667c0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044d4f5
add esp, 0x2ec
ret
Function at 0x467850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x4679cd
cmp ebp, 0x20
jb 0x4679cd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0044fbe0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x477d18
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4679cd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4678e0
sub eax, edx
cmp eax, 0x40
jne 0x4679cd
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x46791e
mov cl, byte [esi + eax]
test cl, cl
je 0x46791e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x467906
jmp 0x467922
test edx, edx
jne 0x467923
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x46795b
mov cl, byte [edx + eax]
test cl, cl
je 0x46795b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x467940
jmp 0x46795f
test esi, esi
jne 0x467960
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0044fbe0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00466920
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x4679cd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.004667c0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0044d4f5
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044d4f5
add esp, 0x50c
ret
Function at 0x4679f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x48b308]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0044fbe0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00466920
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x467a5b
mov cl, byte [edx + eax]
test cl, cl
je 0x467a5b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x467a40
jmp 0x467a5f
test esi, esi
jne 0x467a60
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00466830
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.0044fbe0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x477d18
push str.Software360SafeLiveup
push 0x80000002
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x467b3b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x467b03
test dl, dl
je 0x467aff
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x467b03
add eax, 2
add ecx, 2
test dl, dl
jne 0x467ae3
xor eax, eax
jmp 0x467b08
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x467b3b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467b16
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push 0x80000002
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467b45
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x477d18
push str.Software360SafeLiveup
push 0x80000002
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0044d4f5
add esp, 0x290
ret

Function at 0x469cd0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x46e448
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x48b308]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4695b0
push 0x49146c
call fcn.004697f0
mov eax, dword [0x491474]
add esp, 8
test eax, eax
je 0x469d2a
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.0044d5d4
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00406100
int3