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

Disassembly:
push 0x248
mov eax, 0x567a74
call fcn.0053cd89
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.00538410
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.004123b4
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov ebx, 0x59a49c
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.00402760
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 0x429a79
call fcn.00437969
push eax
lea ecx, [ebp - 0x220]
call fcn.00402738
mov byte [ebp - 4], 2
call fcn.004122f4
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x220]
push 0x59de04
push eax
call fcn.0040a7d8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
push eax
call fcn.00402446
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jne 0x42993d
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004024a4
mov esi, dword [ebp - 0x22c]
call fcn.00437969
push eax
lea ecx, [ebp - 0x224]
call fcn.00402738
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x220]
push esi
push edi
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0040a7d8
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.00439a5b
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x224]
push 0
push ebx
lea ecx, [ebp - 0x254]
call fcn.00439b02
lea ecx, [ebp - 0x254]
test eax, eax
jne 0x4299b8
mov byte [ebp - 4], 4
call fcn.00439a8d
lea ecx, [ebx - 0x10]
call fcn.00402760
lea ecx, [esi - 0x10]
call fcn.00402760
lea ecx, [edi - 0x10]
jmp 0x429a74
call fcn.004395c7
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.00402446
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.00402446
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x234], esp
call fcn.004123b4
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x238], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 8
call fcn.00402446
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.00428895
add esp, 0x14
test eax, eax
je 0x429a4e
lea eax, [ebp - 0x21c]
push eax
push 0x59c8d0
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.00439a8d
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, esi
call fcn.00402760
mov ecx, edi
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0053ce0c
ret
Function at 0x42c5fe
Capabilities:
Read .ini file

Disassembly:
push 0x58
mov eax, 0x568239
call fcn.0053cd20
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42c625
lea ecx, [eax - 0x10]
jmp 0x42c74a
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00402446
add eax, 0x10
pop ecx
mov dword [esi], eax
push edi
lea eax, [ebp - 0x64]
push eax
call fcn.0040ff02
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.004024a4
lea ecx, [ebp - 0x64]
mov dword [ebx + 8], edi
call fcn.004104c3
lea ecx, [ebp - 0x64]
mov dword [ebx + 0xc], eax
call fcn.0041042f
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x64]
call fcn.0041008b
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.00410554
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.004024a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004105ca
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.004024a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004106c0
lea ecx, [ebx + 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.004024a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, esi
call fcn.004107b5
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x42c73c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.0042c76d
lea ecx, [ebp - 0x64]
call fcn.00410061
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0053cdf8
ret 0xc
Function at 0x43151d
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x564001
call fcn.0053cd89
and dword [ebp - 4], 0
and dword [ebp - 0x268], 0
mov ecx, edi
call fcn.0043897e
push 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
call fcn.0040ee16
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431571
test ecx, ecx
jns 0x431567
push 0x80070057
call fcn.0040271e
cmp word [eax], 0x5c
jne 0x431571
xor bl, bl
jmp 0x431573
mov bl, 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402760
test bl, bl
je 0x43158f
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416ccd
push 0x59b7fc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0040195d
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.00402760
cmp esi, 0xffffffff
je 0x4316b1
test byte [ebp - 0x260], 0x12
jne 0x431694
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00402372
push str.desktop.ini
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00410a55
test eax, eax
je 0x431682
push str.Thumbs.db
lea ecx, [ebp - 0x264]
call fcn.00410a55
test eax, eax
je 0x431682
push str.__.___
lea ecx, [ebp - 0x264]
call fcn.00410a55
test eax, eax
je 0x431682
push str.________.___
lea ecx, [ebp - 0x264]
call fcn.00410a55
test eax, eax
je 0x431682
push str..
lea ecx, [ebp - 0x264]
call fcn.00410a55
test eax, eax
je 0x431682
push 0
push str.fio12_
lea ecx, [ebp - 0x264]
call fcn.0040edb7
cmp eax, 0xffffffff
jne 0x431682
inc dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
call fcn.00438ae1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4315d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp - 0x268]
call fcn.0053ce0c
ret 4
Function at 0x4316ca
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x563fc6
call fcn.0053cd89
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
mov ecx, edi
call fcn.0043897e
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.0040ee16
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431720
test ecx, ecx
jns 0x431716
push 0x80070057
call fcn.0040271e
cmp word [eax], 0x5c
jne 0x431720
xor bl, bl
jmp 0x431722
mov bl, 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402760
test bl, bl
je 0x43173e
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416ccd
push 0x59b7fc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0040195d
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.00402760
cmp esi, 0xffffffff
je 0x4318e8
test byte [ebp - 0x264], 0x12
jne 0x4318cb
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.00402372
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00410a55
test eax, eax
je 0x4318b9
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.00410a55
test eax, eax
je 0x4318b9
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.00410a55
test eax, eax
je 0x4318b9
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.00410a55
test eax, eax
je 0x4318b9
push str..
lea ecx, [ebp - 0x268]
call fcn.00410a55
test eax, eax
je 0x4318b9
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040edb7
cmp eax, 0xffffffff
jne 0x4318b9
mov ecx, dword [ebp - 0x278]
push 0
push dword [ebp - 0x268]
call fcn.004388d7
test eax, eax
jne 0x4318b9
call fcn.00437969
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402738
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.00401906
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.004024a4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.00438ae1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43177f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
inc eax
call fcn.0053ce0c
ret 8
Function at 0x4334ba
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x563ec9
call fcn.0053cd89
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 0x433516
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00402372
jmp 0x433585
push 0x1000
call fcn.004378f7
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.00402372
push dword [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.00437902
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
push eax
call fcn.00402446
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, ebx
call fcn.0053ce0c
ret 8

Function at 0x4337f8
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x565278
call fcn.0053cd89
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.00437969
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402738
and dword [ebp - 4], 0
call fcn.004122f4
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x59a49c
push eax
call fcn.0040a7d8
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 0x433941
test eax, eax
jle 0x433941
and dword [ebp - 0xe0], 0
mov edi, ebx
cmp eax, ebx
jl 0x433941
cmp dword [ebp - 0xe0], 0
jne 0x433941
mov esi, ebx
cmp dword [ebp - 0xd8], ebx
jl 0x433934
push esi
lea eax, [ebp - 0x24]
push 0x599d04
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00433e4b
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x599080
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.00538787
pop ecx
pop ecx
test eax, eax
je 0x433928
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x4338c1
jmp 0x433934
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x4338aa
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp - 0xdc]
call fcn.0053ce0c
ret 4
Function at 0x43395d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x5635b5
call fcn.0053cd89
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x433ad9
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x433ad9
call fcn.00437969
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402738
mov byte [ebp - 4], 2
call fcn.00437969
push eax
lea ecx, [ebp - 0x224]
call fcn.00402738
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.0040a7d8
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 0x433a0f
lea ecx, [esi - 0x10]
call fcn.00402760
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x433adc
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538410
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 0x433a6a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4339ee
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.00537ed9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004023d5
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040edb7
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
je 0x4339f1
call fcn.00402760
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
inc eax
jmp 0x433aee
lea ecx, [eax - 0x10]
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
call fcn.0053ce0c
ret 8
Function at 0x434f11
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x55fe6b
call fcn.0053cd20
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00437969
push eax
lea ecx, [ebp - 0x10]
call fcn.00402738
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x599680
push eax
call fcn.0040a7d8
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x434f5f
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.00402760
mov eax, edi
call fcn.0053cdf8
ret

Function at 0x434f6f
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x238
mov eax, 0x563567
call fcn.0053cd89
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.00439a5b
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.00538410
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x59ec84
push eax
call fcn.0043748f
add esp, 0x18
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00439b02
cmp eax, ebx
jne 0x434ffe
xor esi, esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.00439a8d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
call fcn.0053ce0c
ret
lea ecx, [ebp - 0x240]
call fcn.004396ad
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
call fcn.00439a1d
test eax, eax
jne 0x4350c6
call fcn.00437969
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402738
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00439dde
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0040a7d8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp - 0x240]
push 0x10
lea ecx, [ebp - 0x240]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x4350b3
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x244], esp
mov edi, esp
push eax
call fcn.00402446
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00434f6f
pop ecx
jmp 0x4350ba
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402760
cmp dword [ebp - 0x220], ebx
jne 0x434ffe
lea ecx, [ebp - 0x240]
call fcn.004395c7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x434fdd
Function at 0x4353fe
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.00538410
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 0x43544c
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x435456
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret

Function at 0x43545d
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.00538410
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.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
pop esi
leave
ret
Function at 0x4354cf
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x563523
call fcn.0053cd20
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 4], 1
call fcn.00538410
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 0x43552b
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 0x435602
add eax, 0xfffffff0
push eax
call fcn.00402446
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 0x43559f
jge 0x435555
push 0x80070057
call fcn.0040271e
cmp word [ecx], 0x22
je 0x43559f
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.0043743b
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004373e6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004024a4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402760
push 0x599ad4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040195d
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.00401906
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00402760
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.00402760
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], edi
je 0x435612
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x28], edi
je 0x43561c
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
call fcn.0053cdf8
ret
Function at 0x43563d
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.00538410
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 0x43569c
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x435714
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x435711
dec eax
je 0x4356f0
dec eax
jne 0x435714
cmp dword [ebp - 0x11c], 4
ja 0x4356b9
push 0xfffffffffffffffd
pop edi
cmp dword [ebp - 0x11c], 5
jne 0x4356e3
cmp dword [ebp - 0x118], 0
jne 0x4356ce
xor edi, edi
inc edi
cmp dword [ebp - 0x118], 1
je 0x4356e0
cmp dword [ebp - 0x118], 2
jne 0x435714
push 2
pop edi
cmp dword [ebp - 0x11c], 6
jb 0x435714
push 6
jmp 0x435713
cmp dword [ebp - 0x11c], 4
jne 0x435714
cmp dword [ebp - 0x118], 0xa
jne 0x435704
xor edi, edi
cmp dword [ebp - 0x118], 0x5a
jne 0x435714
push 3
jmp 0x435713
push 0xfffffffffffffffe
pop edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0053780e
leave
ret

Function at 0x435724
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x56490a
call fcn.0053cd89
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.00538410
add esp, 0xc
call fcn.00437969
push eax
mov ecx, ebx
call fcn.00402738
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 0x4357a5
push eax
mov ecx, ebx
call fcn.0040234c
jmp 0x4357cb
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 0x59a49c
push ebx
call fcn.0040a7d8
add esp, 0x10
mov eax, ebx
call fcn.0053ce0c
ret

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

Disassembly:
test eax, eax
je 0x4357ef
cmp word [eax], 0
je 0x4357ef
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 0x4357f2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x563da8
call fcn.0053cd20
mov eax, dword [ebp + 8]
test eax, eax
je 0x43581e
cmp word [eax], 0
je 0x43581e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x435820
xor eax, eax
call fcn.0053cdf8
ret