joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x7b78577a
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2fb429ad
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x8f9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008f91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8f907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f906a
add dl, dl
jne 0x8f9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f90dc
xor eax, eax
add dl, dl
jne 0x8f9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f917d
add dl, dl
jne 0x8f90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f9075
mov eax, 1
add dl, dl
jne 0x8f90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f90e1
sub eax, ebx
mov ebx, 1
jne 0x8f9128
mov ecx, 1
add dl, dl
jne 0x8f910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f9136
cmp eax, 0x7d00
jae 0x8f916d
cmp eax, 0x500
jb 0x8f9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f9075
cmp eax, 0x7f
ja 0x8f9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8f9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40d240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d255
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d296
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40d292
nop word [eax + eax]
cmp esi, edx
jae 0x40d296
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40d280
cmp esi, edx
jb 0x40d29b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x414590
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453268
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.004167d0
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4145f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x41460b
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x10]
push str.Accessing_attributes_for_file
push eax
call fcn.0040a4a0
add esp, 0xc
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.0040bee0
push eax
push 0x298
push str.FilePath.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00415f30
int3
Function at 0x414820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453268
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.004167d0
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414883
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x4148ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x41489a
cmp esi, 3
jne 0x4148c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x18]
push ecx
lea eax, [ebp - 0x10]
push str.While_checking_exists
push eax
call fcn.0040a4a0
add esp, 0xc
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.0040bee0
push eax
push 0x2a8
push str.FilePath.cpp
push esi
call fcn.00415f30
int3
Function at 0x4153e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x415506
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41545d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415548
cmp edi, dword [esi - 8]
jg 0x415548
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41555e
cmp eax, edi
je 0x41555e
jb 0x415499
mov edi, eax
test eax, eax
js 0x41551c
jmp 0x415440
cmp eax, 0x7fffffff
jae 0x415532
test eax, eax
js 0x415548
cmp eax, dword [esi - 8]
jg 0x415548
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4154f2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0
push 0xcd
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x950
push str.FilePath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x4157a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x4158c6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41581d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415908
cmp edi, dword [esi - 8]
jg 0x415908
push edi
xor eax, eax
mov dword [esi - 0xc], edi
push esi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41591e
cmp eax, edi
je 0x41591e
jb 0x415859
mov edi, eax
test eax, eax
js 0x4158dc
jmp 0x415800
cmp eax, 0x7fffffff
jae 0x4158f2
test eax, eax
js 0x415908
cmp eax, dword [esi - 8]
jg 0x415908
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4158b2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0
push 0xcd
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x9f0
push str.FilePath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x415930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453591
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x415a56
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4159ad
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d660
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415a98
cmp edi, dword [esi - 8]
jg 0x415a98
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x415aae
cmp eax, edi
je 0x415aae
jb 0x4159e9
mov edi, eax
test eax, eax
js 0x415a6c
jmp 0x415990
cmp eax, 0x7fffffff
jae 0x415a82
test eax, eax
js 0x415a98
cmp eax, dword [esi - 8]
jg 0x415a98
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00408c70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415a42
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0
push 0xcd
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x9c2
push str.FilePath.cpp
push 0x80004005
call fcn.0040de90
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x415c60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4536b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x415c98
mov ecx, esi
call fcn.00415f60
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00415570
test al, al
jne 0x415d11
mov ecx, edi
call fcn.00414590
shr eax, 4
not al
test al, 1
jne 0x415dfd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f60
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 4
cmp dword [ebp - 0x20], 0
je 0x415dd8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416160
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004167d0
mov byte [ebp - 4], 2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete bl
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415d6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x415e13
test esi, esi
je 0x415d9b
push 0
push dword [esi + 4]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00415e20
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x415d96
mov dword [ecx], eax
jmp 0x415d98
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415dc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
call edi
cmp dword [ebp - 0x20], 0
jne 0x415d21
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f60
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 4
push 0
push 0x378
push str.FilePath.cpp
push 0x8007010b
call fcn.0040de90
call fcn.00413140
int3
Function at 0x416330
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
cmp dword [eax - 0xc], 0
je 0x4163ce
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b770
mov dword [ebp - 4], 0
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
sete bl
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4163a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test bl, bl
jne 0x4163e4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x95b
push str.FilePath.cpp
push 0x80070057
call fcn.0040de90
call fcn.00413140
int3
Function at 0x41a8b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4544c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push esi
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.0041e6c0
mov byte [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
je 0x41a918
mov ecx, 1
lock xadd dword [edx + 8], ecx
inc ecx
cmp ecx, 1
jle 0x41aa5e
mov eax, dword [eax]
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
or edi, 0xffffffff
test ecx, ecx
je 0x41a94f
mov dword [ebp - 0x18], 0
mov eax, edi
lock xadd dword [ecx + 8], eax
dec eax
js 0x41aa71
test eax, eax
jne 0x41a94f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test esi, esi
je 0x41aa84
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41a9b9
lea ecx, [eax - 2]
cmp ecx, 1
ja 0x41a9ac
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0
test esi, esi
je 0x41aa9a
lock xadd dword [esi + 8], edi
dec edi
js 0x41aaad
test edi, edi
jne 0x41aa48
mov eax, dword [esi]
mov ecx, esi
jmp 0x41aa44
test eax, eax
jg 0x41aac0
jmp 0x41aac8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0
test esi, esi
je 0x41aada
lock xadd dword [esi + 8], edi
dec edi
js 0x41aaed
test edi, edi
jne 0x41a9e7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
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 4
push 1
call dword [eax]
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 4
push 0
push 0x63
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0x181
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0x80004003
call fcn.0040de90
push 0
push 0x6c
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
movzx eax, ax
or eax, 0x80070000
push 0
push 0x809
push str.Registry.cpp
push eax
call fcn.0040de90
push 0
push 0x6c
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0
call fcn.0043c861
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
int3