joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4325d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x234], 0
cmp dword [edx + 0x14], 7
jbe 0x43261d
mov edx, dword [edx]
lea eax, [ebp - 0x218]
push eax
push 0
push str.ProcessOut_
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x432669
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 1
jmp 0x432769
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432672
sub ecx, edx
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
call fcn.0040bd30
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x230]
push 1
sub esp, 0x18
mov dword [ebp - 0x238], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push eax
call fcn.00408100
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x16
mov ecx, esi
call fcn.00424610
add esp, 0x18
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
mov ecx, edi
call fcn.00424ec0
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x43274c
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x432742
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432786
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret
call fcn.0048b78f
int3
Function at 0x437eb0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b56cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x30], eax
mov edi, dword [eax + 0x20]
test edi, edi
je 0x43801c
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
test al, al
je 0x43801c
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov word [ecx], ax
mov eax, dword [ebp - 0x30]
push 0x1f6
push dword [eax + 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x437fad
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
ja 0x437f89
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x437f96
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.0041c7d0
cmp dword [ebp - 0x18], 7
lea eax, [esi + 1]
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ecx + 0x20]
push dword [ecx + 0x24]
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x438008
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x437ffe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43803a
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048b78f
int3
Function at 0x43a950
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdd16
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x4d9714
mov dword [edi + 0xc], eax
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x38
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00486463
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.004088c0
mov dword [ebp - 4], 3
lea eax, [edi + 0x34]
mov byte [edi + 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
xor ecx, ecx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
lea eax, [edi + 0x4c]
mov dword [ebp - 0x1c], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [edi + 0x64]
mov dword [ebp - 0x20], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xc
lea eax, [edi + 0x7c]
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xe
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
movups xmmword [edi + 0xc4], xmm0
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], 7
mov word [edi + 0xc4], ax
mov byte [ebp - 4], 0x11
mov byte [edi + 0xdc], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ab50
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bde08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0x4d9714
mov dword [ebp - 4], 5
lea ecx, [ebx + 0x7c]
call fcn.0045dad0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebx + 0x64]
call fcn.004242c0
mov edi, eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 7
jbe 0x43abac
mov edi, dword [edi]
call fcn.0040b040
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43ad30
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x10]
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
test edi, edi
je 0x43ac08
test edi, 0xffff0000
jne 0x43abf2
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.0040b3a0
jmp 0x43ac14
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43abf7
sub ecx, edx
sar ecx, 1
jmp 0x43ac0a
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0040b720
mov byte [ebp - 4], 8
xor dl, dl
lea ecx, [ebp - 0x10]
call fcn.00425370
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43ac4d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0040bf40
lea eax, [ebp - 0x50]
lea esi, [ebx + 0x64]
push eax
mov ecx, esi
call fcn.004242c0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 7
jbe 0x43ac73
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.0040bf40
mov byte [ebp - 4], 4
lea ecx, [ebx + 0xc4]
call fcn.0040bf40
mov byte [ebp - 4], 3
lea edi, [ebx + 0x7c]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.0045d850
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x18]
call fcn.00456370
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0xc]
call fcn.00456370
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00456370
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0040bf40
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x4c]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
call fcn.0040bf40
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x34]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
call fcn.0040bf40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004029b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b700
int3
Function at 0x43b830
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be102
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0x4dc828
lea edx, [ecx + 8]
mov dword [ecx], 0x4dc850
mov dword [ecx + 4], 0x4dc83c
mov dword [ebp - 0x14], edx
mov dword [edx], 0x4d81f4
mov dword [edx + 4], 0
mov dword [ebp - 4], 0
lea eax, [edx + 0xc]
mov dword [edx + 8], ecx
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 2
lea eax, [edx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x24], 0x4dc86c
mov dword [edx + 0x28], 0x6064b50
mov dword [edx + 0x34], 0x2d002d
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x2c], 0x2c
mov dword [edx + 0x30], 0
mov dword [edx + 0x60], 0x4dc884
mov dword [edx + 0x64], 0x7064b50
mov dword [edx + 0x68], 0
mov dword [edx + 0x6c], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 1
mov dword [edx + 0x78], 0x4dc878
mov dword [edx + 0x7c], 0x6054b50
mov dword [edx + 0x80], 0xffffffff
mov dword [edx + 0x84], 0xffffffff
mov dword [edx + 0x88], 0xffffffff
mov dword [edx + 0x8c], 0xffffffff
mov word [edx + 0x90], ax
mov dword [ebp - 4], 5
mov dword [ecx + 0x9c], 3
mov dword [ebp - 4], 6
lea eax, [ecx + 0xa0]
mov dword [ecx], 0x4d96f8
xorps xmm0, xmm0
mov dword [ecx + 4], 0x4d96e4
xor edx, edx
mov dword [ebp - 0x20], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 9
mov dword [ecx + 0xb8], edx
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43cbe0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be55d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x4c]
push eax
call fcn.00408100
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ebx
call fcn.004121f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004242c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040bf40
cmp esi, 0xffffffff
je 0x43cc92
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004242c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
push 1
push ebx
add ecx, 8
push eax
call fcn.00459460
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040bf40
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040bf40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 8
Function at 0x43ec20
Capabilities:
Delete registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed55
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x43ecda
cmp dword [eax + 0x14], 7
jbe 0x43ec5e
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.OFFREG.dll_ORDeleteKey]
test eax, eax
jne 0x43ec85
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 4
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov dword [ebp - 4], 0
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 1
push 0x4b
push str.C:ReleaseAIplatformos_registryOfflineRegHive.cpp
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0x54]
push eax
call fcn.004881d5
push 0xfe09
push 0x4f
lea eax, [ebp - 0x54]
push str.C:ReleaseAIplatformos_registryOfflineRegHive.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x54]
push 0x4f3e34
push eax
call fcn.004881d5
int3
Function at 0x440eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf35d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x440fa6
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0
push 0
push 0
push dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x440fa6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x440fa6
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00486d58
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push dword [edi]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x440f66
xor bl, bl
jmp 0x440f8b
mov edx, esi
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x440f70
mov ecx, dword [ebp - 0x1c]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.0040b720
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.00486d53
add esp, 4
mov dword [ebp - 0x18], 0
mov al, bl
jmp 0x440fa8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 8
Function at 0x441580
Capabilities:
Set registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf4a5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x441646
cmp dword [eax + 0x14], 7
jbe 0x4415c0
mov eax, dword [eax]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.OFFREG.dll_ORSetValue]
test eax, eax
jne 0x4415ee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 0x10
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov dword [ebp - 4], 0
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 1
push 0xa3
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0x54]
push eax
call fcn.004881d5
push 0xfe09
push 0xa7
lea eax, [ebp - 0x54]
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x54]
push 0x4f3e34
push eax
call fcn.004881d5
int3
Function at 0x441930
Capabilities:
Query registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf535
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
test edx, edx
je 0x441a33
cmp dword [edi + 0x14], 7
mov eax, edi
mov dword [ebp - 0x18], 0
jbe 0x441987
mov eax, dword [edi]
lea esi, [ebp - 0x18]
push esi
push 0
push ecx
push eax
push 0
push edx
call dword [sym.imp.OFFREG.dll_ORGetValue]
test eax, eax
jne 0x441a2a
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x441a0a
mov edx, dword [ebx + 4]
mov esi, dword [ebx]
sub edx, esi
cmp ecx, edx
jae 0x4419ba
lea eax, [esi + ecx]
mov dword [ebx + 4], eax
jmp 0x4419e7
jbe 0x4419e7
mov eax, dword [ebx + 8]
sub eax, esi
cmp ecx, eax
jbe 0x4419d0
push ecx
push ecx
mov ecx, ebx
call fcn.00422e30
jmp 0x4419e7
mov eax, dword [ebx + 4]
sub ecx, edx
push ecx
push 0
push eax
lea esi, [ecx + eax]
call fcn.004883f0
add esp, 0xc
mov dword [ebx + 4], esi
cmp dword [edi + 0x14], 7
jbe 0x4419ef
mov edi, dword [edi]
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x14]
push edi
push 0
push dword [eax]
call dword [sym.imp.OFFREG.dll_ORGetValue]
test eax, eax
jne 0x441a2a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x441a5c
xor al, al
jmp 0x441a0c
push 0xfe09
push 0xed
lea eax, [ebp - 0x58]
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x58]
push 0x4f3e34
push eax
call fcn.004881d5
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov dword [ebp - 4], 0
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 1
push 0xe9
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0x58]
push eax
call fcn.004881d5
int3
Function at 0x441ac0
Capabilities:
Delete registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf4a5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x441b7c
cmp dword [eax + 0x14], 7
jbe 0x441afd
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.OFFREG.dll_ORDeleteValue]
test eax, eax
jne 0x441b24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 4
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov dword [ebp - 4], 0
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 1
push 0x12d
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0x54]
push eax
call fcn.004881d5
push 0xfe09
push 0x131
lea eax, [ebp - 0x54]
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x54]
push 0x4f3e34
push eax
call fcn.004881d5
int3