joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414702
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 8
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
call fcn.00587a70
add esp, 0xc
test edi, edi
jne 0x41473d
xor eax, eax
jmp 0x41480a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414736
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0046ee75
add esp, 0x10
test eax, eax
jne 0x414777
push str.GetFileVersion_failed._n
push str.CInitInfoStorage::GetVersionString
push 5
call fcn.00423f75
add esp, 0xc
jmp 0x414736
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4147a5
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [ebp - 0x5c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x58]
movzx eax, cx
push eax
movzx eax, word [ebp - 0x54]
shr ecx, 0x10
push ecx
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x52]
push eax
lea eax, [ebp - 0x44]
push str._02d__02d__04d___d._d._d._d
push eax
call fcn.00405b18
add esp, 0x24
cmp word [ebp - 0x44], si
je 0x4147fb
lea eax, [ebp - 0x44]
push eax
call fcn.00588144
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x44]
push ecx
mov ecx, ebx
call fcn.00403cef
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret 0xc
Function at 0x419e2e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0x5bf954
mov ebx, str.CInitInfoStorage::IsEnablePortSelect
push ebx
push 5
mov edi, ecx
call fcn.00423f75
add esp, 0xc
cmp dword [edi + 0x4538], 0
jne 0x419e79
push str.this_class_instance_has_not_been_initialized_yet._n
push ebx
push 2
call fcn.00423f75
push 0x5bf98c
push ebx
push 5
call fcn.00423f75
add esp, 0x18
xor eax, eax
jmp 0x419ffb
mov ecx, edi
call fcn.00412ae5
and eax, 0x30000
cmp eax, 0x10000
jne 0x419e97
mov eax, dword [edi + 0xa54]
jmp 0x419ffb
push esi
push 0x5c1140
mov ecx, edi
call fcn.0040af9e
push 0x5c114c
mov ecx, edi
mov esi, eax
call fcn.0040af9e
test esi, esi
je 0x419ebd
xor ecx, ecx
cmp cx, word [esi]
jne 0x419ec8
test eax, eax
je 0x419eea
xor ecx, ecx
cmp cx, word [eax]
je 0x419eea
push str._Enable_PRINT_or_FAX_._n
push ebx
push 4
call fcn.00423f75
push 0x5bf970
push ebx
push 5
call fcn.00423f75
add esp, 0x18
jmp 0x41a03b
and dword [ebp - 4], 0
push 0x5c1140
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.0040dcaa
mov esi, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], esi
jmp 0x419f56
cmp dword [esi + 0x108], 0
je 0x419f2c
push str.in_box
lea ecx, [esi + 0xf8]
call fcn.0041ee46
test eax, eax
jne 0x419f76
cmp dword [esi + 0x2c], 1
jne 0x419f4b
cmp dword [esi + 0x60], 0
je 0x419f4b
add esi, 0x50
cmp dword [esi + 0x14], 8
jb 0x419f43
mov esi, dword [esi]
push esi
call ebx
cmp eax, 0xffffffff
jne 0x419f80
lea ecx, [ebp - 8]
call fcn.0042049a
mov esi, dword [ebp - 8]
cmp esi, dword [ebp - 4]
jne 0x419f0f
push 0x5c114c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.0040dcaa
mov esi, dword [eax]
mov dword [ebp - 8], esi
jmp 0x419fd1
push str._Enable_PRINT___Preinstall_._n
jmp 0x41a00b
push str._Enable_PRINT___ExistInf_._n
jmp 0x41a00b
cmp dword [esi + 0x108], 0
je 0x419fa7
push str.in_box
lea ecx, [esi + 0xf8]
call fcn.0041ee46
test eax, eax
jne 0x419fff
cmp dword [esi + 0x2c], 1
jne 0x419fc6
cmp dword [esi + 0x60], 0
je 0x419fc6
add esi, 0x50
cmp dword [esi + 0x14], 8
jb 0x419fbe
mov esi, dword [esi]
push esi
call ebx
cmp eax, 0xffffffff
jne 0x41a006
lea ecx, [ebp - 8]
call fcn.0042049a
mov esi, dword [ebp - 8]
cmp esi, dword [ebp - 4]
jne 0x419f8a
push str._Disable_PRINT_or_FAX_._n
mov esi, str.CInitInfoStorage::IsEnablePortSelect
push esi
push 4
call fcn.00423f75
push 0x5bf970
push esi
push 5
call fcn.00423f75
add esp, 0x18
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
push str._Enable_FAX___Preinstall_._n
jmp 0x41a00b
push str._Enable_FAX___ExistInf_._n
mov esi, str.CInitInfoStorage::IsEnablePortSelect
push esi
push 4
call fcn.00423f75
push dword [edi + 0xa54]
push str._ULONG_m_nSelectPort
push esi
push 4
call fcn.00423f1b
push 0x5bf970
push esi
push 5
call fcn.00423f75
add esp, 0x28
mov eax, dword [edi + 0xa54]
jmp 0x419ffa
Function at 0x41a043
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
xor edi, edi
push 0
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x20c], eax
inc edi
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call ebx
cmp eax, 0xffffffff
je 0x41a173
push dword [ebp - 0x20c]
call ebx
cmp eax, 0xffffffff
je 0x41a173
push 0x40
push 0x5bf118
push dword [ebp - 0x208]
call fcn.0058815d
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x41a0bd
push 0x6e
jmp 0x41a175
push 0x40
push 0x5bf118
push dword [ebp - 0x20c]
call fcn.0058815d
add esp, 0xc
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x41a0e5
push ebx
call fcn.0058853b
pop ecx
jmp 0x41a0b6
mov esi, dword [ebp - 0x208]
mov eax, 0x100
push ebx
push eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0058879b
push esi
push 0x100
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.0058879b
add esp, 0x20
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x20c], eax
jne 0x41a15f
push 0x100
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00589795
add esp, 0xc
test eax, eax
jne 0x41a15f
mov eax, 0x100
cmp dword [ebp - 0x20c], eax
jne 0x41a161
cmp dword [ebp - 0x208], eax
je 0x41a0f0
jmp 0x41a161
xor edi, edi
push ebx
call fcn.0058853b
push esi
call fcn.0058853b
pop ecx
pop ecx
mov eax, edi
jmp 0x41a179
push 2
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret
Function at 0x41a2a9
Capabilities:
Read file on windows

Disassembly:
push 0x230
mov eax, 0x5a8654
call fcn.00588aeb
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x23c], eax
mov ebx, ecx
test edi, edi
jne 0x41a2d4
xor eax, eax
inc eax
jmp 0x41a46a
push 0x40
push 0x5bf118
push eax
call fcn.0058815d
mov esi, eax
add esp, 0xc
xor eax, eax
test esi, esi
je 0x41a46a
push 2
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00587a70
push esi
push 1
lea eax, [ebp - 0x238]
push 2
push eax
call fcn.0058879b
add esp, 0x1c
test eax, eax
jne 0x41a324
push esi
call fcn.0058853b
xor eax, eax
jmp 0x41a469
cmp byte [ebp - 0x238], 0xff
jne 0x41a3f9
cmp byte [ebp - 0x237], 0xfe
jne 0x41a3f9
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x234], ax
push 0x20a
mov dword [ebp - 4], ecx
push ecx
jmp 0x41a3bd
cmp word [ebp - 0x21c], 0
jne 0x41a372
xor eax, eax
jmp 0x41a37f
lea eax, [ebp - 0x21c]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403cef
xor eax, eax
cmp word [edi], ax
je 0x41a3a0
push edi
call fcn.00588144
pop ecx
push eax
xor eax, eax
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.0041fa55
cmp eax, 0xffffffff
jne 0x41a3e4
push 0x20a
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00587a70
push esi
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0058b83e
add esp, 0x18
test eax, eax
jne 0x41a364
jmp 0x41a3e7
xor ebx, ebx
inc ebx
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x234]
call fcn.00403a7f
jmp 0x41a461
push esi
call fcn.0058853b
push 0x40
push 0x5bfeb8
push dword [ebp - 0x23c]
call fcn.0058815d
mov esi, eax
add esp, 0x10
xor eax, eax
test esi, esi
je 0x41a46a
jmp 0x41a431
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0058b290
pop ecx
pop ecx
test eax, eax
jne 0x41a45e
push 0x20a
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00587a70
push esi
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0058b83e
add esp, 0x18
test eax, eax
jne 0x41a41e
jmp 0x41a461
xor ebx, ebx
inc ebx
push esi
call fcn.0058853b
mov eax, ebx
pop ecx
call fcn.00588a9a
ret
Function at 0x41bb08
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 8
lea eax, [ebp - 0xc]
push edi
push eax
mov ebx, edi
call fcn.00587a70
push edi
push edi
push edi
push edi
push edi
push edi
push 4
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.0058bead
push 0x5bef0c
lea eax, [ebp - 0xc]
push 4
push eax
call fcn.0058af59
add esp, 0x3c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41bb75
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x41bb90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetDiskFreeSpaceEx_failed.__0x_1_lx___n
push str.MyGetDiskFreeSpace
push 2
call fcn.00423f75
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
mov edx, ebx
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret
Function at 0x42a88e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x5c69a8
push str.CDeviceInf::Init
push 5
mov esi, ecx
call fcn.00423f75
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x42aa81
cmp dword [esi + 8], 0
jne 0x42aa81
test ebx, ebx
jne 0x42a8e4
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42aaa4
push dword [ebp + 0xc]
push ebx
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
je 0x42a8d5
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42a906
push 2
jmp 0x42aa86
lea edi, [esi + 0x14]
push ebx
mov ecx, edi
call fcn.00403cc8
cmp dword [edi + 0x14], 8
jb 0x42a91b
mov eax, dword [edi]
jmp 0x42a91d
mov eax, edi
push eax
lea ecx, [esi + 0x34]
call fcn.0046cbe5
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00587a70
push 0x10
lea ebx, [esi + 0x31c]
push 0
push ebx
call fcn.00587a70
push 8
lea eax, [esi + 0x324]
push 0
push eax
call fcn.00587a70
add esp, 0x24
cmp dword [edi + 0x14], 8
jb 0x42a95e
mov edi, dword [edi]
push 0
push 0x20
lea eax, [ebp - 0x44]
push eax
push ebx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetINFClassW]
test eax, eax
jne 0x42a992
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetupDiGetINFClass_failed.__0x_1_lX___n
push str.CDeviceInf::Init
push 2
call fcn.00423f75
add esp, 0x10
jmp 0x42a8dd
lea eax, [ebp - 0x44]
push eax
push str.ClassName____1_s___n
push str.CDeviceInf::Init
push 5
call fcn.00423f75
add esp, 0x10
cmp word [ebp - 0x44], 0
jne 0x42a9b5
xor eax, eax
jmp 0x42a9bf
lea eax, [ebp - 0x44]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x32c]
call fcn.00403cef
movzx eax, byte [esi + 0x32b]
push eax
movzx eax, byte [esi + 0x32a]
push eax
movzx eax, byte [esi + 0x329]
push eax
movzx eax, byte [esi + 0x328]
push eax
movzx eax, byte [esi + 0x327]
push eax
movzx eax, byte [esi + 0x326]
push eax
movzx eax, byte [esi + 0x325]
push eax
movzx eax, byte [esi + 0x324]
push eax
movzx eax, word [esi + 0x322]
push eax
movzx eax, word [esi + 0x320]
push eax
push dword [ebx]
lea eax, [ebp - 0xc4]
push str.GUID___08lX__04lX__04lx__02X_02X__02X_02X_02X_02X_02X_02X_n
push eax
call fcn.00424739
lea eax, [ebp - 0xc4]
push eax
push str.GUID___1_s__n
push str.CDeviceInf::Init
push 5
call fcn.00423f75
mov eax, dword [ebp + 0x10]
xor edi, edi
inc edi
add esp, 0x44
cmp dword [ebp + 0x14], 0
mov dword [esi + 8], edi
mov dword [esi + 0x10], eax
je 0x42aa8e
push edi
mov ecx, esi
call sym.SETUP.exe_public:_int___thiscall_CDeviceInf::GetFullInfo_int_
test eax, eax
jne 0x42aa8e
push str.CManufacturers_object_creation_failed._n
push str.CDeviceInf::Init
push 2
call fcn.00423f75
add esp, 0xc
jmp 0x42aa8c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
push 0x5c69c4
push str.CDeviceInf::Init
push 5
call fcn.00423f75
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret 0x10
Function at 0x42aab5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x5c69a8
mov ebx, str.CDeviceInfSection::Init
push ebx
push 5
mov esi, ecx
call fcn.00423f75
add esp, 0xc
cmp dword [esi + 0x68], 0
je 0x42aae9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42abc8
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42ab00
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_NULL._n
jmp 0x42ab7d
push dword [ebp + 0xc]
push edi
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
jne 0x42ab1e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_Zero_length._n
jmp 0x42ab7d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ab39
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_not_found._n
jmp 0x42ab7d
push edi
lea ecx, [esi + 0x1c]
call fcn.00403cc8
push edi
lea ecx, [esi + 0x34]
call fcn.00403cc8
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x42ab61
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pSectionName_is_NULL._n
jmp 0x42ab7d
push dword [ebp + 0x18]
push edi
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
jne 0x42ab9c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pSectionName_is_Zero_length._n
push ebx
push 5
call fcn.00423f75
add esp, 0xc
push 0x5c69c4
push ebx
push 5
call fcn.00423f75
add esp, 0xc
xor eax, eax
jmp 0x42abc7
push edi
lea ecx, [esi + 0x4c]
call fcn.00403cc8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42abaf
mov dword [esi + 0x64], eax
push 0x5c69c4
xor edi, edi
push ebx
inc edi
push 5
mov dword [esi + 0x68], edi
call fcn.00423f75
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x42acb5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0x5c69a8
mov ebx, str.CIniSections::Init
push ebx
push 5
mov edi, ecx
call fcn.00423f75
add esp, 0xc
cmp dword [edi + 0x28], 0
je 0x42ace9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42ad78
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42ad00
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_NULL._n
jmp 0x42ad37
push dword [ebp + 0xc]
push esi
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
jne 0x42ad1e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_Zero_length._n
jmp 0x42ad37
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ad56
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.pInfFile_is_not_found._n
push ebx
push 5
call fcn.00423f75
add esp, 0xc
push 0x5c69c4
push ebx
push 5
call fcn.00423f75
add esp, 0xc
xor eax, eax
jmp 0x42ad77
push esi
lea ecx, [edi + 0x10]
call fcn.00403cc8
push 0x5c69c4
xor esi, esi
push ebx
inc esi
push 5
mov dword [edi + 0x28], esi
call fcn.00423f75
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x42ad7e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.SETUP.exe_public:_int___thiscall_CDeviceInfSection::Init_wchar_t_const___unsigned_int__class_CInfStringTable___wchar_t_const___unsigned_int_

Function at 0x42b246
Capabilities:
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x5c69e8
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42b2ec
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.Setup
push dword [ebp - 4]
call esi
test eax, eax
jne 0x42b2ac
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
push str.runonce
push 1
push 0
push str.Wrapper
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x42b2ae
xor esi, esi
push 0x16
push str.grpconv__o
push 1
push 0
push str.GrpConv
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], 0
je 0x42b2ea
push 1
push str.runonce__r
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, esi
pop esi
leave
ret
Function at 0x435783
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x5a9c39
call fcn.00588ab8
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ebx, [edi + 4]
mov dword [edi], vtable.CChangeDir.0
xor esi, esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov word [ebx], ax
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], esi
call fcn.0046e7a3
push esi
push 0x5bef10
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00403cef
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x31
lea ecx, [eax + eax]
push str...CommonFileUtil.cpp
push ecx
mov dword [ebp - 0x10], eax
call fcn.0045976f
mov esi, eax
add esp, 0xc
test esi, esi
je 0x435807
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
mov ecx, ebx
call fcn.00403cc8
push esi
call fcn.00459786
pop ecx
mov eax, edi
call fcn.00588a86
ret

Function at 0x435877
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x5ab72e
call fcn.00588aeb
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push str.pFileName___1_lS__n
mov esi, str.FILEEXISTW
push esi
push 5
mov edi, eax
call fcn.00423f75
push edi
push str.dwRet__0x_1_lx_._n
push esi
push 5
call fcn.00423f75
add esp, 0x20
lea ecx, [ebp - 0x28]
call fcn.00403ecb
xor eax, eax
cmp edi, 0xffffffff
setne al
call fcn.00588a9a
ret

Function at 0x4358db
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
xor esi, esi
call fcn.0058ce07
mov edi, eax
pop ecx
mov dword [ebp - 0x90], edi
test edi, edi
je 0x435994
push ebx
call fcn.0058ce07
mov ebx, eax
pop ecx
test ebx, ebx
je 0x435982
push 0x88
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00587a70
add esp, 0xc
lea eax, [ebp - 0x8c]
push esi
push eax
push edi
call sub.LZ32.dll_LZOpenFileW
mov edi, eax
push 0x1000
lea eax, [ebp - 0x8c]
push eax
push ebx
call sub.LZ32.dll_LZOpenFileW
mov esi, eax
push esi
push edi
call sub.LZ32.dll_LZCopy
xor ecx, ecx
test eax, eax
setns cl
push edi
mov dword [ebp - 0x94], ecx
call sub.LZ32.dll_LZClose
push esi
call sub.LZ32.dll_LZClose
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
push edi
call fcn.0058ce5a
pop ecx
test ebx, ebx
je 0x435994
push ebx
call fcn.0058ce5a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret
Function at 0x4359f4
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x634460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5c9744
mov ebx, str.FU_GetTempDirName
push ebx
push 5
xor esi, esi
call fcn.00423f75
add esp, 0xc
test edi, edi
jne 0x435a3f
push 0x5c977c
push ebx
push 5
call fcn.00423f75
add esp, 0xc
xor eax, eax
jmp 0x435b35
push 0x208
push 0
push edi
call fcn.00587a70
mov ebx, 0x20a
push ebx
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.00587a70
push ebx
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00587a70
add esp, 0x24
xor ebx, ebx
lea eax, [ebp - 0x41c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x435b59
lea eax, [ebp - 0x210]
push eax
push 0
push 0x5c4108
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x435b44
cmp eax, 0x6f
je 0x435b44
lea eax, [ebp - 0x210]
push eax
push str.szTempDir
push str.FU_GetTempDirName
push 4
call fcn.00423f57
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x435b59
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
je 0x435b59
lea eax, [ebp - 0x210]
push eax
push 0x104
push edi
call fcn.0058b0b1
add esp, 0xc
push esi
push str._ULONG_bRet
mov ebx, str.FU_GetTempDirName
push ebx
push 4
call fcn.00423f1b
push 0x5c9760
push ebx
push 5
call fcn.00423f75
add esp, 0x1c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588a1c
leave
ret
push eax
push str._ULONG_uiRet
push str.FU_GetTempDirName
push 2
call fcn.00423f1b
add esp, 0x10
inc ebx
cmp ebx, 0x3e8
jl 0x435a74
jmp 0x435b10
Function at 0x435b68
Capabilities:
Enumerate files on windows

Disassembly:
push 0x478
mov eax, 0x5a9c85
call fcn.00588aeb
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
and dword [ebp - 0x224], edi
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
and dword [ebp - 4], eax
test esi, esi
je 0x435d0e
push 0
push 0x5bef10
mov ecx, ebx
call fcn.00403cef
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00587a70
push esi
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.0058b0b1
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.0058b1ea
add esp, 0x20
test eax, eax
je 0x435bf3
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x435bfc
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x484]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x435d0e
lea eax, [ebp - 0x458]
push 0x5bfcec
push eax
call fcn.0058b073
pop ecx
pop ecx
test eax, eax
je 0x435cf1
lea eax, [ebp - 0x458]
push 0x5bfebc
push eax
call fcn.0058b073
pop ecx
pop ecx
test eax, eax
je 0x435cf1
cmp word [ebp - 0x21c], 0
jne 0x435c59
xor eax, eax
jmp 0x435c66
lea eax, [ebp - 0x21c]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403cef
cmp word [ebp - 0x458], 0
jne 0x435c87
xor eax, eax
jmp 0x435c94
lea eax, [ebp - 0x458]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403b92
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00435877
pop ecx
test eax, eax
je 0x435cf1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x234]
push eax
mov ecx, ebx
call fcn.00403ac5
push 0x5c0b9c
call fcn.00588144
pop ecx
push eax
push 0x5c0b9c
mov ecx, ebx
call fcn.00403b92
inc edi
lea eax, [ebp - 0x484]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435c15
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.00403a7f
mov eax, edi
call fcn.00588a9a
ret