joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433690
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4924fc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or edi, 0xffffffff
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x4336e6
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [ebp - 4], 0
call fcn.0041eb90
push 0x499600
call fcn.0046b518
add esp, 4
mov dword [ebp - 4], edi
lea eax, [ebp - 0x14]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.0041ff80
mov ebx, eax
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x4cc064], al
jne 0x433726
or dword [0x4cc064], eax
mov byte [ebp - 4], 2
call fcn.004124a0
push 0x499490
call fcn.0046b518
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 0x4cc068
push ecx
call fcn.004078a0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x43376b
test al, 0x10
je 0x43379d
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x43378a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call edx
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4337d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435450
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f1b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, 0x4a233c
call fcn.004066e0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp + 8]
push ecx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.004078a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4354c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4354e2
test al, 0x10
jne 0x4354e2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x435520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
push str.SHCreateItemFromParsingName
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4355bd
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4355aa
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
push 0x4a7534
push 0
push eax
call esi
test eax, eax
js 0x4355aa
lea edx, [ebp - 4]
push edx
push 0x4a7524
push 1
push 0
push 0x49d04c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43559f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push 5
push 0
push 0
push eax
push str.TaskBarUnPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 1
call fcn.004355e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x4358f0
mov edx, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x43593c
lea edi, [ebp - 0x10]
call fcn.00435980
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov ebx, eax
jne 0x435924
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 1
call fcn.004139a0
push 0x499550
call fcn.0046b518
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x4cbda4
mov ecx, 0x4cbd9c
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.00413cc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435962
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x435980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fc08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov esi, 1
call fcn.00435720
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435a12
lea edx, [ebp - 0x10]
push edx
push edi
call fcn.0040a580
add esp, 8
test eax, eax
jne 0x435a12
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.004015d0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
call fcn.0040e2a0
mov esi, eax
add esp, 8
test esi, esi
je 0x435a12
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040db40
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435a38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x438730
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c11d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.0046ed60
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchDYTDYT.exe
call esi
cmp eax, 0xffffffff
je 0x43878c
test al, 0x10
jne 0x43878c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
push edi
push 0x4a8e90
lea ecx, [ebp - 0x214]
call fcn.00401c40
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.0046ed60
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046c60c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x4387f5
test al, 0x10
je 0x438847
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.0046ed60
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046c60c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43887e
test al, 0x10
jne 0x43887e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438869
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4388a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046b255
mov esp, ebp
pop ebp
ret
Function at 0x4388c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c11d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.0046ed60
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchYJTYJT.exe
call esi
cmp eax, 0xffffffff
je 0x43891c
test al, 0x10
jne 0x43891c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
push edi
push 0x4a8ee8
lea ecx, [ebp - 0x214]
call fcn.00401c40
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.0046ed60
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0046c60c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x438985
test al, 0x10
je 0x4389d7
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.0046ed60
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0046c60c
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x438a0e
test al, 0x10
jne 0x438a0e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4389f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438a30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046b255
mov esp, ebp
pop ebp
ret
Function at 0x43a6f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f991
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040b7b0
mov esi, dword [ebp - 0x14]
push 0x4a9910
push esi
call fcn.0046c25c
add esp, 0xc
cmp eax, edi
jne 0x43a767
mov edi, 1
jmp 0x43a80f
push str.funshionupgrade.exe
push esi
call fcn.0046c25c
add esp, 8
cmp eax, edi
jne 0x43a783
mov edi, 2
jmp 0x43a80f
cmp dword [esi - 0xc], edi
jl 0x43a7aa
push str.FunshionInstall
push esi
call fcn.0046c374
add esp, 8
cmp eax, edi
je 0x43a7aa
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43a7aa
mov edi, 3
jmp 0x43a80f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c40
mov eax, dword [0x4cbe34]
cmp eax, edi
je 0x43a7eb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jl 0x43a7ee
push eax
push ecx
call fcn.0046c374
add esp, 8
cmp eax, edi
je 0x43a7eb
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43a7ee
mov edi, 4
jmp 0x43a7f3
mov ecx, dword [ebp - 0x10]
mov edi, 5
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a80f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x4a52c8
push ebx
mov dword [ebp - 0x18], 1
call fcn.0040c950
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a85a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 4
Function at 0x43abf0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4c11d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x4a1854]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ac85
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0046ed60
mov ecx, dword [ebp - 0x418]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push ecx
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43ac95
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x43acc4
push str.BaiduToolbar
push eax
call fcn.0046c374
add esp, 8
test eax, eax
je 0x43acc4
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x43acc4
mov eax, dword [ebp - 0x418]
push eax
jmp 0x43ad85
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.0046ed60
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43ad2f
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x43ad50
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ad7e
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0046b255
mov esp, ebp
pop ebp
ret
Function at 0x43afb0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c11d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push esi
push edi
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x20d], 0
call fcn.0043b1b0
test al, al
je 0x43afe6
mov byte [ebp - 0x20d], 1
push esi
push edi
xor bl, bl
call fcn.0043b590
test al, al
je 0x43aff5
mov bl, 1
push edi
mov ecx, esi
call fcn.0043b2f0
test al, al
jne 0x43b005
test bl, bl
je 0x43b009
mov bl, 1
jmp 0x43b00f
mov bl, byte [ebp - 0x20d]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0046ed60
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43b050
cmp word [eax], 0
je 0x43b05e
add eax, 2
dec edx
jne 0x43b050
jmp 0x43b081
test edx, edx
je 0x43b081
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, 0x4a9a3c
call fcn.0043ada0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43b0a0
cmp word [eax], 0
je 0x43b0ae
add eax, 2
dec edx
jne 0x43b0a0
jmp 0x43b0d1
test edx, edx
je 0x43b0d1
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, str.Giraffe.ini
call fcn.0043ada0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x4a28d8
push str.look
push str.Giraffe
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push ecx
push 0x4a9a88
push str.Giraffe
call esi
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jne 0x43b122
lea edx, [ebp - 0x20c]
push edx
push str.NONE
jmp 0x43b14d
push str.about:blank
push eax
call fcn.0046c25c
add esp, 8
test eax, eax
jne 0x43b142
lea eax, [ebp - 0x20c]
push eax
push 0x4a2608
jmp 0x43b14d
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push edx
push 0x4a9a9c
push str.Giraffe
call esi
mov eax, 0x4a28d8
test bl, bl
jne 0x43b167
mov eax, 0x4a3020
lea ecx, [ebp - 0x20c]
push ecx
push eax
push 0x4a9abc
push str.Giraffe
call esi
lea edx, [ebp - 0x20c]
push edx
push 0x4a2608
push 0x4a9ac4
push str.Giraffe
call esi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046b255
mov esp, ebp
pop ebp
ret
Function at 0x442710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c11d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00443490
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00442d30
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x442799
test al, 1
jne 0x442799
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x442799
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x445010
Capabilities:
Get thread local storage value

Disassembly:
mov ecx, dword [esi + 0xc]
push ebx
cmp dword [esi + 0x14], ecx
jne 0x445033
call fcn.00453790
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 4]
pop ebx
jmp fcn.00453790
mov ecx, dword [esi + 4]
call fcn.00453790
mov ecx, dword [esi + 0xc]
mov bl, al
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 0xc]
call fcn.00453790
mov al, bl
pop ebx
ret
Function at 0x4463d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x493982
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c11d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4c11d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
add ecx, 0xe8
call fcn.00486710
mov edi, dword [esi]
call fcn.0041d400
mov eax, dword [esi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0x45ee12cc___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
mov ecx, dword [0x4c98a8]
mov edx, eax
call fcn.00402620
or edi, 0xffffffff
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x446472
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [esp + 0x1c], 0
mov ecx, dword [esi]
call fcn.0041d530
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov esi, 1
jne 0x4464a7
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], esi
mov dword [esp + 0x38], esi
call fcn.0041eb90
push 0x499600
call fcn.0046b518
add esp, 4
mov dword [esp + 0x38], edi
test byte [0x4cc21c], 1
jne 0x4464d4
or dword [0x4cc21c], esi
mov dword [esp + 0x38], 2
call fcn.004225c0
push 0x499b40
call fcn.0046b518
add esp, 4
mov dword [esp + 0x38], edi
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00421000
cmp dword [0x4cc1c4], 0
jne 0x4464ec
mov dword [0x4cc1c4], eax
test byte [0x4cc21c], 1
jne 0x446519
or dword [0x4cc21c], esi
mov dword [esp + 0x38], 3
call fcn.004225c0
push 0x499b40
call fcn.0046b518
add esp, 4
mov dword [esp + 0x38], edi
mov ecx, 0x4cc1a0
call fcn.00469c50
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046b255
mov esp, ebp
pop ebp
ret

Function at 0x447040
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f1b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c11d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c40
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
xor eax, eax
cmp dword [esi + 0xf8], 1
sete al
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4470ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret