joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429ccc
Capabilities:
Read .ini file

Disassembly:
push 0x248
mov eax, 0x5680cc
call fcn.0053d399
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
xor esi, esi
xor eax, eax
inc esi
push 0x206
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00538a20
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00412621
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov ebx, 0x59a4dc
lea eax, [ebp - 0x21c]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x220]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x21c]
push eax
push esi
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x429f09
call fcn.00437f60
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a551
mov byte [ebp - 4], 2
call fcn.00412561
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x220]
push 0x59de54
push eax
call fcn.0040a7ee
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
push eax
call fcn.0040242c
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jne 0x429dcd
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040248a
mov esi, dword [ebp - 0x22c]
call fcn.00437f60
push eax
lea ecx, [ebp - 0x224]
call fcn.0042a551
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x220]
push esi
push edi
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0040a7ee
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.0043a04c
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x224]
push 0
push ebx
lea ecx, [ebp - 0x254]
call fcn.0043a0f3
lea ecx, [ebp - 0x254]
test eax, eax
jne 0x429e48
mov byte [ebp - 4], 4
call fcn.0043a07e
lea ecx, [ebx - 0x10]
call fcn.00402728
lea ecx, [esi - 0x10]
call fcn.00402728
lea ecx, [edi - 0x10]
jmp 0x429f04
call fcn.00439bb8
push dword [ebp - 0x228]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov ebx, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov dword [ebp - 0x230], esp
mov ebx, esp
push esi
call fcn.0040242c
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x234], esp
call fcn.00412621
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x238], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 8
call fcn.0040242c
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.00428d25
add esp, 0x14
test eax, eax
je 0x429ede
lea eax, [ebp - 0x21c]
push eax
push 0x59c920
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 4
call fcn.0043a07e
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, esi
call fcn.00402728
mov ecx, edi
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.0053d41c
ret
Function at 0x42caa2
Capabilities:
Read .ini file

Disassembly:
push 0x58
mov eax, 0x568899
call fcn.0053d330
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42cac9
lea ecx, [eax - 0x10]
jmp 0x42cbee
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [esi], eax
push edi
lea eax, [ebp - 0x64]
push eax
call fcn.004100fa
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040248a
lea ecx, [ebp - 0x64]
mov dword [ebx + 8], edi
call fcn.004106bb
lea ecx, [ebp - 0x64]
mov dword [ebx + 0xc], eax
call fcn.00410627
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x64]
call fcn.00410283
push dword [ebp - 0x58]
movzx eax, al
push 0
push str.SupportsEpsonScanSetting
push dword [ebp - 0x5c]
mov dword [ebx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
lea edi, [ebp - 0x10]
lea esi, [ebp - 0x64]
mov dword [ebx + 0x18], eax
call fcn.0041074c
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.0040248a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004107c2
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0040248a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004108b8
lea ecx, [ebx + 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.0040248a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, esi
call fcn.004109ad
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x42cbe0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.0042cc11
lea ecx, [ebp - 0x64]
call fcn.00410259
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.0053d408
ret 0xc
Function at 0x431afb
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x5645e2
call fcn.0053d399
and dword [ebp - 4], 0
and dword [ebp - 0x268], 0
mov ecx, edi
call fcn.00438f6f
push 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
call fcn.0040ef71
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431b4f
test ecx, ecx
jns 0x431b45
push 0x80070057
call fcn.0040270e
cmp word [eax], 0x5c
jne 0x431b4f
xor bl, bl
jmp 0x431b51
mov bl, 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402728
test bl, bl
je 0x431b6d
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416faf
push 0x59b84c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00401943
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402728
cmp esi, 0xffffffff
je 0x431c8f
test byte [ebp - 0x260], 0x12
jne 0x431c72
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00402358
push str.desktop.ini
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00410c4d
test eax, eax
je 0x431c60
push str.Thumbs.db
lea ecx, [ebp - 0x264]
call fcn.00410c4d
test eax, eax
je 0x431c60
push str.__.___
lea ecx, [ebp - 0x264]
call fcn.00410c4d
test eax, eax
je 0x431c60
push str.________.___
lea ecx, [ebp - 0x264]
call fcn.00410c4d
test eax, eax
je 0x431c60
push str..
lea ecx, [ebp - 0x264]
call fcn.00410c4d
test eax, eax
je 0x431c60
push 0
push str.fio12_
lea ecx, [ebp - 0x264]
call fcn.0040ef12
cmp eax, 0xffffffff
jne 0x431c60
inc dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
call fcn.004390d2
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431bae
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp - 0x268]
call fcn.0053d41c
ret 4
Function at 0x431ca8
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x5645a7
call fcn.0053d399
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
mov ecx, edi
call fcn.00438f6f
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.0040ef71
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431cfe
test ecx, ecx
jns 0x431cf4
push 0x80070057
call fcn.0040270e
cmp word [eax], 0x5c
jne 0x431cfe
xor bl, bl
jmp 0x431d00
mov bl, 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402728
test bl, bl
je 0x431d1c
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416faf
push 0x59b84c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00401943
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402728
cmp esi, 0xffffffff
je 0x431ec6
test byte [ebp - 0x264], 0x12
jne 0x431ea9
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.00402358
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00410c4d
test eax, eax
je 0x431e97
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.00410c4d
test eax, eax
je 0x431e97
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.00410c4d
test eax, eax
je 0x431e97
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.00410c4d
test eax, eax
je 0x431e97
push str..
lea ecx, [ebp - 0x268]
call fcn.00410c4d
test eax, eax
je 0x431e97
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040ef12
cmp eax, 0xffffffff
jne 0x431e97
mov ecx, dword [ebp - 0x278]
push 0
push dword [ebp - 0x268]
call fcn.00438ec8
test eax, eax
jne 0x431e97
call fcn.00437f60
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042a551
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 2
call fcn.004018ec
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0040248a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.004390d2
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402728
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431d5d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
inc eax
call fcn.0053d41c
ret 8
Function at 0x433ab1
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x5644aa
call fcn.0053d399
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
and dword [ebp - 4], 0
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
lea edx, [ebp - 0x210]
push edx
push dword [ebp + 0xc]
push ecx
push eax
call esi
cmp eax, 0xff
je 0x433b0d
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00402358
jmp 0x433b7c
push 0x1000
call fcn.00437eee
pop ecx
push dword [edi + 4]
mov dword [ebp - 0x218], eax
push 0x400
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
call fcn.00402358
push dword [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.00437ef9
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
push eax
call fcn.0040242c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, ebx
call fcn.0053d41c
ret 8

Function at 0x433def
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x565890
call fcn.0053d399
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.00437f60
push eax
lea ecx, [ebp - 0xd4]
call fcn.0042a551
and dword [ebp - 4], 0
call fcn.00412561
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x59a4dc
push eax
call fcn.0040a7ee
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x10
push dword [ebp - 0xd4]
mov edi, str.GUID
push 0
push str.ButtonCount
push edi
call esi
push dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
push ebx
push str.GUIDGroupNum
push edi
call esi
cmp dword [ebp - 0xd8], 0
mov dword [ebp - 0xe8], eax
jle 0x433f38
test eax, eax
jle 0x433f38
and dword [ebp - 0xe0], 0
mov edi, ebx
cmp eax, ebx
jl 0x433f38
cmp dword [ebp - 0xe0], 0
jne 0x433f38
mov esi, ebx
cmp dword [ebp - 0xd8], ebx
jl 0x433f2b
push esi
lea eax, [ebp - 0x24]
push 0x599d24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00434442
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x5990a0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xe4]
call fcn.00538d97
pop ecx
pop ecx
test eax, eax
je 0x433f1f
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x433eb8
jmp 0x433f2b
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x433ea1
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp - 0xdc]
call fcn.0053d41c
ret 4
Function at 0x433f54
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x563c0f
call fcn.0053d399
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4340d0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x4340d0
call fcn.00437f60
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a551
mov byte [ebp - 4], 2
call fcn.00437f60
push eax
lea ecx, [ebp - 0x224]
call fcn.0042a551
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.0040a7ee
mov esi, dword [ebp - 0x224]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x434006
lea ecx, [esi - 0x10]
call fcn.00402728
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x4340d3
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538a20
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.Supported
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
test eax, eax
je 0x434061
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433fe5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.005384e9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004023bb
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040ef12
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
je 0x433fe8
call fcn.00402728
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
inc eax
jmp 0x4340e5
lea ecx, [eax - 0x10]
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
call fcn.0053d41c
ret 8
Function at 0x435508
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x55bca2
call fcn.0053d330
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00437f60
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a551
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x5996a0
push eax
call fcn.0040a7ee
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x435556
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.00402728
mov eax, edi
call fcn.0053d408
ret

Function at 0x435566
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x238
mov eax, 0x563bc1
call fcn.0053d399
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.0043a04c
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538a20
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x59ed84
push eax
call fcn.00437a86
add esp, 0x18
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0043a0f3
cmp eax, ebx
jne 0x4355f5
xor esi, esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.0043a07e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
call fcn.0053d41c
ret
lea ecx, [ebp - 0x240]
call fcn.00439c9e
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
call fcn.0043a00e
test eax, eax
jne 0x4356bd
call fcn.00437f60
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a551
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0043a3cf
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0040a7ee
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp - 0x240]
push 0x10
lea ecx, [ebp - 0x240]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x4356aa
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x244], esp
mov edi, esp
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00435566
pop ecx
jmp 0x4356b1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402728
cmp dword [ebp - 0x220], ebx
jne 0x4355f5
lea ecx, [ebp - 0x240]
call fcn.00439bb8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x4355d4
Function at 0x4359f5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x10
xor esi, esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00538a20
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x435a43
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x435a4d
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret

Function at 0x435a54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00538a20
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
pop esi
leave
ret
Function at 0x435ac6
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x563b7d
call fcn.0053d330
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 4], 1
call fcn.00538a20
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
jne 0x435b22
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x30
push edi
push edi
push edi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x435bf9
add eax, 0xfffffff0
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
cmp eax, edi
jle 0x435b96
jge 0x435b4c
push 0x80070057
call fcn.0040270e
cmp word [ecx], 0x22
je 0x435b96
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.00437a32
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004379dd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040248a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402728
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402728
push 0x599af4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401943
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004018ec
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x30
push edi
push edi
push edi
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], edi
je 0x435c09
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x28], edi
je 0x435c13
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
call fcn.0053d408
ret
Function at 0x435c34
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
or edi, 0xffffffff
call fcn.00538a20
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x435c93
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x435d0b
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x435d08
dec eax
je 0x435ce7
dec eax
jne 0x435d0b
cmp dword [ebp - 0x11c], 4
ja 0x435cb0
push 0xfffffffffffffffd
pop edi
cmp dword [ebp - 0x11c], 5
jne 0x435cda
cmp dword [ebp - 0x118], 0
jne 0x435cc5
xor edi, edi
inc edi
cmp dword [ebp - 0x118], 1
je 0x435cd7
cmp dword [ebp - 0x118], 2
jne 0x435d0b
push 2
pop edi
cmp dword [ebp - 0x11c], 6
jb 0x435d0b
push 6
jmp 0x435d0a
cmp dword [ebp - 0x11c], 4
jne 0x435d0b
cmp dword [ebp - 0x118], 0xa
jne 0x435cfb
xor edi, edi
cmp dword [ebp - 0x118], 0x5a
jne 0x435d0b
push 3
jmp 0x435d0a
push 0xfffffffffffffffe
pop edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00537e11
leave
ret

Function at 0x435d1b
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x563a88
call fcn.0053d399
xor esi, esi
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x21c], esi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x220], ebx
call fcn.00538a20
add esp, 0xc
call fcn.00437f60
push eax
mov ecx, ebx
call fcn.0042a551
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x8027
mov dword [ebp - 4], esi
push esi
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x218]
jne 0x435d9c
push eax
mov ecx, ebx
call fcn.00402332
jmp 0x435dc2
push 1
push 5
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.My_Pictures
lea eax, [ebp - 0x218]
push eax
push 0x59a4dc
push ebx
call fcn.0040a7ee
add esp, 0x10
mov eax, ebx
call fcn.0053d41c
ret

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

Disassembly:
test eax, eax
je 0x435de6
cmp word [eax], 0
je 0x435de6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
xor eax, eax
ret

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

Disassembly:
push 0
mov eax, 0x564389
call fcn.0053d330
mov eax, dword [ebp + 8]
test eax, eax
je 0x435e15
cmp word [eax], 0
je 0x435e15
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x435e17
xor eax, eax
call fcn.0053d408
ret