joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2230
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov ebx, ecx
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
cmp esi, 1
je 0x41772d
mov eax, dword [0x6c1e7c]
test eax, eax
jne 0x4176a3
call fcn.0041eb60
mov eax, dword [0x6c1e7c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp eax, 2
jne 0x41772d
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 1
call fcn.004046f0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push dword [esp + 0x24]
mov edx, 2
push ebx
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00417e00
mov dword [esp + 0x44], 0xffffffff
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
add esp, 0x14
mov bl, al
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417718
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [edx]
mov dword [esp + 0x40], 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
lea ebx, [eax + eax]
lea eax, [ecx - 0x10]
push eax
call fcn.004046f0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x41779a
push 0
lea ecx, [esp + 0x14]
call fcn.00401f90
mov esi, dword [esp + 0x10]
push ebx
push esi
push 1
push 0
push dword [edi]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.005be02a
add esp, 8
test eax, eax
js 0x417810
cmp eax, dword [esi - 8]
jg 0x417810
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4177f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
sete al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402040
int3
Function at 0x417820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1900
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x41785d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x10]
push eax
push 0x20019
push 0
push edx
push ecx
mov dword [ebp - 0x10], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41784b
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4178c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2270
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
test esi, esi
je 0x4179bf
mov ebx, dword [ebp + 0x18]
cmp ebx, 1
je 0x417a6f
mov eax, dword [0x6c1e7c]
test eax, eax
jne 0x41792d
call fcn.0041eb60
mov eax, dword [0x6c1e7c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp eax, 2
jne 0x417a6f
push 0x63bfdc
lea ecx, [esp + 0x1c]
call fcn.004021e0
mov dword [esp + 0x38], 0
mov edi, dword [ebp + 0xc]
mov eax, edi
dec eax
je 0x4179dd
sub eax, 3
je 0x4179d4
lea ecx, [esp + 0x10]
call fcn.00404540
push edi
lea eax, [esp + 0x14]
push str.INTERNAL_ERROR:_CUtilities::GetRegistryValue_does_not_support_registry_type__d
push eax
mov byte [esp + 0x44], 1
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [esp + 0x18]
push eax
push 0xa89
push str.C:_amintegration_tools_setupishield_sldim_baseUtilities.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
lea ecx, [esp + 0x10]
call fcn.00401020
lea ecx, [esp + 0x18]
call fcn.00401020
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push 0x63f464
jmp 0x4179e6
movzx eax, word [esi]
push eax
push 0x640288
lea eax, [esp + 0x20]
push eax
call fcn.00404520
add esp, 0xc
lea ecx, [esp + 0x14]
push dword [esp + 0x14]
call fcn.004021e0
mov byte [esp + 0x38], 2
push dword [esp + 0x10]
lea ecx, [esp + 0x20]
call fcn.004021e0
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x34]
mov edx, 2
mov ecx, ebx
mov byte [esp + 0x4c], 3
call fcn.00417e00
add esp, 0x14
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.00401020
lea ecx, [esp + 0x14]
call fcn.00401020
lea ecx, [esp + 0x18]
call fcn.00401020
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push ecx
mov dword [esp + 0x4c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x20]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419000
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f16f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x6c2088]
add eax, 0xfffffff0
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [0x6c2088]
mov dword [ebp - 0x10], 1
cmp dword [eax - 0xc], 0
jne 0x4191b3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
mov ax, cx
and ecx, 0x3ff
shr ax, 0xa
add ecx, 0xfffffffc
movzx edx, ax
cmp ecx, 0x1b
ja case.0x419098.6
movzx eax, byte [ecx + 0x4191fc]
jmp dword [eax*4 + 0x4191c8]
push dword [0x6ba314]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba318]
mov ecx, esi
call fcn.00402190
jmp 0x419192
cmp edx, 1
jne 0x4190da
push dword [0x6ba31c]
mov ecx, esi
call fcn.00402190
jmp 0x419192
cmp edx, 2
jne 0x419192
push dword [0x6ba320]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba328]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba32c]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba330]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba334]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba338]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba33c]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba324]
mov ecx, esi
call fcn.00402190
jmp 0x419192
cmp edx, 1
jne 0x419192
push dword [0x6ba340]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push dword [0x6ba344]
mov ecx, esi
call fcn.00402190
jmp 0x419192
push 7
push 0x63cc8c
mov ecx, esi
call fcn.00402090
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4191a8
push 7
push 0x63cc8c
mov ecx, esi
call fcn.00402090
push esi
mov ecx, 0x6c2088
call fcn.00404570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1516
mov eax, dword fs:[0]
push eax
mov eax, 0x10014
call fcn.005c0d00
mov eax, dword [0x6b7e40]
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 esi, ecx
mov dword [ebp - 0x1001c], esi
push 0x8000
lea eax, [ebp - 0x10010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
setne bl
test bl, bl
je 0x419690
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10014]
call fcn.004021e0
mov dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x10014]
call fcn.005be53d
mov ecx, dword [ebp - 0x10014]
mov edx, eax
add esp, 8
or edi, 0xffffffff
test edx, edx
je 0x4195eb
sub edx, ecx
sar edx, 1
cmp edx, edi
jne 0x41960b
push 0x2f
push ecx
call fcn.005be53d
mov edx, eax
mov eax, dword [ebp - 0x10014]
add esp, 8
test edx, edx
je 0x419662
sub edx, eax
sar edx, 1
cmp edx, 0xffffffff
je 0x419662
push edx
lea eax, [ebp - 0x10018]
push eax
lea ecx, [ebp - 0x10014]
call fcn.00404680
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404570
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10018]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41964d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
mov eax, dword [ebp - 0x10014]
movzx ebx, bl
cmove ebx, ecx
jmp 0x419664
xor bl, bl
lea esi, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x419682
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
test bl, bl
je 0x41968a
mov al, bl
jmp 0x4196d5
mov esi, dword [ebp - 0x1001c]
lea eax, [ebp - 0x10010]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x10010]
lea edx, [ecx + 2]
jmp 0x4196b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4196b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x10010]
push eax
mov ecx, esi
call fcn.00402090
mov ecx, dword [esi]
call fcn.00414b70
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.005bc16b
mov esp, ebp
pop ebp
ret
Function at 0x427890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2968
mov eax, dword fs:[0]
push eax
sub esp, 0x7f4
mov eax, dword [0x6b7e40]
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 dword [ebp - 4], 0
mov dword [ebp - 0x7fc], ebx
mov dword [ebp - 0x7f0], 0
call fcn.004a4516
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4278f3
push 0x80004005
call fcn.00402040
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7ec], eax
push str.NewVersions
push str.SoftwareSolidWorksIM
lea eax, [ebp - 0x7ec]
push 0x642314
push eax
mov dword [ebp - 4], 1
call fcn.00404520
add esp, 0x10
mov ecx, ebx
push 0x63f33a
call fcn.00410190
push str.LatestVersionRun
lea ecx, [ebp - 0x7e8]
mov dword [ebp - 0x7f0], 1
call fcn.004021e0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x7ec]
xor eax, eax
mov word [ebp - 0x7e0], ax
lea eax, [ebp - 0x7e4]
push eax
push 0x20019
push 0
push esi
push SysReAllocStringLen
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f4], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4279f3
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x7f8]
push eax
push 0
push dword [ebp - 0x7e8]
push dword [ebp - 0x7e4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7e4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4279f3
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4279d5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x7e0]
push eax
mov ecx, ebx
call fcn.00402090
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7e8]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x427a19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x427a2d
push str.20160_40100_1100
mov ecx, ebx
call fcn.00404410
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x427a48
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.005bc16b
mov esp, ebp
pop ebp
ret
Function at 0x42b560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f33d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.004046f0
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
push 0x63bfdc
mov byte [ebp - 4], 1
call fcn.004021e0
lea ecx, [esi + 8]
call fcn.004466a0
push 0x63bfdc
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 7
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 9
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 0xa
call fcn.004021e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b678
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4320b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f32de
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004046f0
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
sub eax, 0x10
push eax
call fcn.004046f0
add eax, 0x10
mov dword [edi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.004046f0
add eax, 0x10
mov dword [edi + 8], eax
mov byte [ebp - 4], 2
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.004046f0
add esp, 0x10
add eax, 0x10
mov dword [edi + 0x10], eax
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0x20], xmm0
movq xmm0, qword [esi + 0x28]
movq qword [edi + 0x28], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [edi + 0x30], xmm0
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 4
Function at 0x434d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5460
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004369b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x1c], 0x400
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434d9b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.AllowLocalData
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x434d9b
cmp dword [ebp - 0x10], 1
sete byte [0x6c1e98]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x1c], 0x400
call edi
test eax, eax
jne 0x434def
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.AllowFakeDownload
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x434def
cmp dword [ebp - 0x10], 1
sete byte [0x6c1e7b]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x1c], 0x400
call edi
test eax, eax
jne 0x434e43
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.SkipFileChecks
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x434e43
cmp dword [ebp - 0x10], 1
sete byte [0x6c1e7a]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x1c], 0x400
call edi
test eax, eax
jne 0x434e97
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Accelerate
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x434e97
cmp dword [ebp - 0x10], 1
sete byte [0x6ba214]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x1c], 0x400
call edi
test eax, eax
jne 0x434eee
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.AllowResume
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6ba218]
test esi, esi
cmove ecx, dword [ebp - 0x10]
mov dword [0x6ba218], ecx
call fcn.00434600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4364e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4e68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004369b0
push 0x6c1ea4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 1
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436581
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.DebugDatabase
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x436581
mov ebx, dword [ebp - 0x14]
jmp 0x436583
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jle 0x436599
push 0x6c1ea4
call esi
dec edi
test edi, edi
jg 0x43658d
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4b48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4394fd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43958a
test al, 0x10
jne 0x43958a
push 0
mov dword [ebp - 4], 1
push dword [esi]
call fcn.004afdd8
mov dword [ebp - 4], 0xffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439511
test al, 0x10
jne 0x439511
push 0x63bfdc
lea ecx, [ebp - 0x14]
call fcn.004021e0
mov dword [ebp - 4], 9
push dword [esi]
lea eax, [ebp - 0x14]
push str.ERROR:_DeleteCheckFile_succeeded__but_file_still_exists_for_some_odd_reason:__s
push eax
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x6a1
push str.C:_amintegration_tools_setupishield_sldimdataDownloadData.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4394fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
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 0x63bfdc
lea ecx, [ebp - 0x18]
call fcn.004021e0
mov dword [ebp - 4], 0xa
push dword [esi]
lea eax, [ebp - 0x18]
push str.Deleted_CheckFile__s
push eax
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x18]
push eax
push 0x6a8
push str.C:_amintegration_tools_setupishield_sldimdataDownloadData.cpp
push 0
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43958a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret