joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410860
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x425328
push 0x419d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x427038]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x4108c9
xor eax, eax
jmp 0x410a3f
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410a0a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x410a0a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410a0a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x410a0a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410a0a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x410a0a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410a0a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x410a0a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410a0a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x410a0a
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x410a0a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4109f3
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x4109e0
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x4109f0
jmp 0x410a0a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00410a66
test ebx, ebx
jne 0x410a3d
test esi, esi
je 0x410a2f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x410a3d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041944c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4130d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x4279c0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4276c0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4278c0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4277c0], al
inc esi
cmp esi, 0x100
jl 0x4131e0
pop esi
add esp, 0x80
ret
Function at 0x415299
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
and dword [esp + 4], 0
xor eax, eax
push ebx
push esi
push edi
mov ebx, edx
lea edi, [esp + 0x1c]
mov edx, ecx
mov esi, 0x41f6d0
push 9
pop ecx
rep stosd dword es:[edi], eax
or dword [esp + 0x3c], 0xffffffff
xor edi, edi
or dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
cmp dword [0x41f6d0], eax
je 0x41531c
mov eax, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x10
push edi
push dword [esi]
push edx
call dword [eax + 0x10]
test eax, eax
jne 0x415311
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
mov edx, esi
call fcn.00414975
test eax, eax
jne 0x41537c
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x18]
add esi, 0x10
cmp dword [esi], edi
jne 0x4152da
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov eax, dword [ebx]
push ecx
push 2
push dword [esp + 0x30]
push esi
push ebx
call dword [eax + 0x34]
test eax, eax
jne 0x41537c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add edx, 4
test esi, esi
je 0x41535f
mov eax, dword [edx]
xor eax, dword [ecx]
movzx eax, ax
xor eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
lea ecx, [ecx + 0x10]
sub esi, 1
jne 0x415345
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edi
je 0x415371
mov eax, dword [ebx]
push edi
push ecx
push dword [esp + 0x24]
push ebx
call dword [eax + 0x20]
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.0041512f
push dword [esp + 0x14]
call dword [0x41f220]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x415394
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esp + 0x1c]
call fcn.004143c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
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
nop
nop
nop
popal
jmp 0x431219
Function at 0x40d260
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 0x40d275
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d2b6
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 0x40d2b2
nop word [eax + eax]
cmp esi, edx
jae 0x40d2b6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40d2a0
cmp esi, edx
jb 0x40d2bb
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 0x414580
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453368
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.004167c0
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 0x4145e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x4145fb
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.0040a4c0
add esp, 0xc
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.0040bf00
push eax
push 0x298
push str.FilePath.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00415f20
int3
Function at 0x414810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453368
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.004167c0
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 0x414873
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x41489d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x41488a
cmp esi, 3
jne 0x4148b0
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.0040a4c0
add esp, 0xc
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.0040bf00
push eax
push 0x2a8
push str.FilePath.cpp
push esi
call fcn.00415f20
int3
Function at 0x4153d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453611
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.0040d0b0
mov ecx, eax
test ecx, ecx
je 0x4154f6
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 0x41544d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d680
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415538
cmp edi, dword [esi - 8]
jg 0x415538
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41554e
cmp eax, edi
je 0x41554e
jb 0x415489
mov edi, eax
test eax, eax
js 0x41550c
jmp 0x415430
cmp eax, 0x7fffffff
jae 0x415522
test eax, eax
js 0x415538
cmp eax, dword [esi - 8]
jg 0x415538
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.00408ca0
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 0x4154e2
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.0040deb0
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
push 0
push 0x950
push str.FilePath.cpp
push 0x80004005
call fcn.0040deb0
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
call fcn.00413130
int3
Function at 0x415790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453611
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.0040d0b0
mov ecx, eax
test ecx, ecx
je 0x4158b6
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 0x41580d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d680
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x4158f8
cmp edi, dword [esi - 8]
jg 0x4158f8
push edi
xor eax, eax
mov dword [esi - 0xc], edi
push esi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x41590e
cmp eax, edi
je 0x41590e
jb 0x415849
mov edi, eax
test eax, eax
js 0x4158cc
jmp 0x4157f0
cmp eax, 0x7fffffff
jae 0x4158e2
test eax, eax
js 0x4158f8
cmp eax, dword [esi - 8]
jg 0x4158f8
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.00408ca0
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 0x4158a2
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.0040deb0
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
push 0
push 0x9f0
push str.FilePath.cpp
push 0x80004005
call fcn.0040deb0
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
call fcn.00413130
int3
Function at 0x415920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453611
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.0040d0b0
mov ecx, eax
test ecx, ecx
je 0x415a46
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 0x41599d
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d680
mov esi, dword [ebp - 0x10]
test edi, edi
js 0x415a88
cmp edi, dword [esi - 8]
jg 0x415a88
push esi
xor eax, eax
mov dword [esi - 0xc], edi
push edi
mov word [esi + edi*2], ax
call ebx
test eax, eax
je 0x415a9e
cmp eax, edi
je 0x415a9e
jb 0x4159d9
mov edi, eax
test eax, eax
js 0x415a5c
jmp 0x415980
cmp eax, 0x7fffffff
jae 0x415a72
test eax, eax
js 0x415a88
cmp eax, dword [esi - 8]
jg 0x415a88
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.00408ca0
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 0x415a32
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.0040deb0
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
push 0
push 0x9c2
push str.FilePath.cpp
push 0x80004005
call fcn.0040deb0
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040deb0
call fcn.00413130
int3
Function at 0x415c50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4536e0
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 0x415c88
mov ecx, esi
call fcn.00415f50
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.00415560
test al, al
jne 0x415d01
mov ecx, edi
call fcn.00414580
shr eax, 4
not al
test al, 1
jne 0x415ded
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f50
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 0x415dc8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416150
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004167c0
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 0x415d5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x415e03
test esi, esi
je 0x415d8b
push 0
push dword [esi + 4]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00415e10
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x415d86
mov dword [ecx], eax
jmp 0x415d88
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 0x415db4
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 0x415d11
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00415f50
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.0040deb0
call fcn.00413130
int3
Function at 0x416320
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453898
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 0x4163be
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b790
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 0x416399
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 0x4163d4
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.0040deb0
call fcn.00413130
int3
Function at 0x41a8a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454540
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.0041e6b0
mov byte [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
je 0x41a908
mov ecx, 1
lock xadd dword [edx + 8], ecx
inc ecx
cmp ecx, 1
jle 0x41aa4e
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 0x41a93f
mov dword [ebp - 0x18], 0
mov eax, edi
lock xadd dword [ecx + 8], eax
dec eax
js 0x41aa61
test eax, eax
jne 0x41a93f
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 0x41aa74
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41a9a9
lea ecx, [eax - 2]
cmp ecx, 1
ja 0x41a99c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0
test esi, esi
je 0x41aa8a
lock xadd dword [esi + 8], edi
dec edi
js 0x41aa9d
test edi, edi
jne 0x41aa38
mov eax, dword [esi]
mov ecx, esi
jmp 0x41aa34
test eax, eax
jg 0x41aab0
jmp 0x41aab8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0
test esi, esi
je 0x41aaca
lock xadd dword [esi + 8], edi
dec edi
js 0x41aadd
test edi, edi
jne 0x41a9d7
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.0040deb0
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
push 0
push 0x181
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0x80004003
call fcn.0040deb0
push 0
push 0x6c
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
movzx eax, ax
or eax, 0x80070000
push 0
push 0x809
push str.Registry.cpp
push eax
call fcn.0040deb0
push 0
push 0x6c
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
push 0
push 0
call fcn.0043c941
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040deb0
int3