joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a626
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
mov bh, 0x41
adc al, 0xf
mov bh, 0x71
push es

Function at 0x42a9cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0042a5f6
push eax
push esi
push dword [ebp + 8]
call fcn.0042a5ab
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl

Function at 0x42ac45
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x42ac9a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x42ac95
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x42ac7f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x42ac87
cmp edx, ebx
jne 0x42add5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x42ac56
add eax, dword [eax + 4]
jmp 0x42ac43
mov dword [ebp + 0xc], ebx
jmp 0x42aca5

Function at 0x42ad02
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42acbd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42acdb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42ad39
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42ad20
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42ad29
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42ad33
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
invalid
Function at 0x43167f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x56421d
call fcn.0053cea9
and dword [ebp - 4], 0
and dword [ebp - 0x268], 0
mov ecx, edi
call fcn.00438a81
push 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
call fcn.0040ea6c
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4316d3
test ecx, ecx
jns 0x4316c9
push 0x80070057
call fcn.00402709
cmp word [eax], 0x5c
jne 0x4316d3
xor bl, bl
jmp 0x4316d5
mov bl, 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0040274b
test bl, bl
je 0x4316f1
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416bb0
push 0x59b5d4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0040193e
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.0040274b
cmp esi, 0xffffffff
je 0x431813
test byte [ebp - 0x260], 0x12
jne 0x4317f6
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040235d
push str.desktop.ini
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.004107c5
test eax, eax
je 0x4317e4
push str.Thumbs.db
lea ecx, [ebp - 0x264]
call fcn.004107c5
test eax, eax
je 0x4317e4
push str.__.___
lea ecx, [ebp - 0x264]
call fcn.004107c5
test eax, eax
je 0x4317e4
push str.________.___
lea ecx, [ebp - 0x264]
call fcn.004107c5
test eax, eax
je 0x4317e4
push str..
lea ecx, [ebp - 0x264]
call fcn.004107c5
test eax, eax
je 0x4317e4
push 0
push str.fio12_
lea ecx, [ebp - 0x264]
call fcn.0040ea0d
cmp eax, 0xffffffff
jne 0x4317e4
inc dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
call fcn.00438be4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431732
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x268]
call fcn.0053cf2c
ret 4
Function at 0x43182c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x5641e2
call fcn.0053cea9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
mov ecx, edi
call fcn.00438a81
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.0040ea6c
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431882
test ecx, ecx
jns 0x431878
push 0x80070057
call fcn.00402709
cmp word [eax], 0x5c
jne 0x431882
xor bl, bl
jmp 0x431884
mov bl, 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0040274b
test bl, bl
je 0x4318a0
push 0x5c
lea ecx, [ebp + 8]
call fcn.00416bb0
push 0x59b5d4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0040193e
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.0040274b
cmp esi, 0xffffffff
je 0x431a4a
test byte [ebp - 0x264], 0x12
jne 0x431a2d
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040235d
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.004107c5
test eax, eax
je 0x431a1b
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.004107c5
test eax, eax
je 0x431a1b
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.004107c5
test eax, eax
je 0x431a1b
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.004107c5
test eax, eax
je 0x431a1b
push str..
lea ecx, [ebp - 0x268]
call fcn.004107c5
test eax, eax
je 0x431a1b
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040ea0d
cmp eax, 0xffffffff
jne 0x431a1b
mov ecx, dword [ebp - 0x278]
push 0
push dword [ebp - 0x268]
call fcn.004389da
test eax, eax
jne 0x431a1b
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402723
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.004018e7
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0040248f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.00438be4
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4318e1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
inc eax
call fcn.0053cf2c
ret 8
Function at 0x4336d2
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x5640e5
call fcn.0053cea9
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 pe_nt_image_headers32
lea edx, [ebp - 0x210]
push edx
push dword [ebp + 0xc]
push ecx
push eax
call esi
cmp eax, 0xff
je 0x43372e
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.0040235d
jmp 0x43379d
push 0x1000
call fcn.00437a2c
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.0040235d
push dword [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.00437a37
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
push eax
call fcn.00402431
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, ebx
call fcn.0053cf2c
ret 8

Function at 0x433a10
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x56539f
call fcn.0053cea9
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402723
and dword [ebp - 4], 0
call fcn.004120c2
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x59a28c
push eax
call fcn.0040a0e9
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 0x433b59
test eax, eax
jle 0x433b59
and dword [ebp - 0xe0], 0
mov edi, ebx
cmp eax, ebx
jl 0x433b59
cmp dword [ebp - 0xe0], 0
jne 0x433b59
mov esi, ebx
cmp dword [ebp - 0xd8], ebx
jl 0x433b4c
push esi
lea eax, [ebp - 0x24]
push 0x599af4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00434063
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x598e70
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.00538734
pop ecx
pop ecx
test eax, eax
je 0x433b40
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x433ad9
jmp 0x433b4c
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x433ac2
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0xdc]
call fcn.0053cf2c
ret 4
Function at 0x433b75
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x5638ab
call fcn.0053cea9
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x433cf1
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x433cf1
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402723
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x224]
call fcn.00402723
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.0040a0e9
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 0x433c27
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x433cf4
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538530
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 0x433c82
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433c06
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.00537ff9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004023c0
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040ea0d
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
je 0x433c09
call fcn.0040274b
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
inc eax
jmp 0x433d06
lea ecx, [eax - 0x10]
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
call fcn.0053cf2c
ret 8
Function at 0x435129
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x55d440
call fcn.0053ce40
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402723
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x599470
push eax
call fcn.0040a0e9
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x435177
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.0040274b
mov eax, edi
call fcn.0053cf18
ret

Function at 0x435187
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x238
mov eax, 0x56385d
call fcn.0053cea9
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.00439b5e
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.00538530
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x59ead4
push eax
call fcn.004376a7
add esp, 0x18
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00439c05
cmp eax, ebx
jne 0x435216
xor esi, esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.00439b90
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, esi
call fcn.0053cf2c
ret
lea ecx, [ebp - 0x240]
call fcn.004397b0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
call fcn.00439b20
test eax, eax
jne 0x4352de
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402723
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00439ee1
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0040a0e9
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x240]
push 0x10
lea ecx, [ebp - 0x240]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x4352cb
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x244], esp
mov edi, esp
push eax
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00435187
pop ecx
jmp 0x4352d2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040274b
cmp dword [ebp - 0x220], ebx
jne 0x435216
lea ecx, [ebp - 0x240]
call fcn.004396ca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x4351f5
Function at 0x435616
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.00538530
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 0x435664
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x43566e
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret

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

Disassembly:
push 0x6c
mov eax, 0x563819
call fcn.0053ce40
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 4], 1
call fcn.00538530
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 0x435743
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 0x43581a
add eax, 0xfffffff0
push eax
call fcn.00402431
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 0x4357b7
jge 0x43576d
push 0x80070057
call fcn.00402709
cmp word [ecx], 0x22
je 0x4357b7
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.00437653
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004375fe
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040248f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
push 0x5998c4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040193e
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004018e7
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0040274b
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.0040274b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], edi
je 0x43582a
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x28], edi
je 0x435834
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, esi
call fcn.0053cf18
ret
Function at 0x435855
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.00538530
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 0x4358b4
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x43592c
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x435929
dec eax
je 0x435908
dec eax
jne 0x43592c
cmp dword [ebp - 0x11c], 4
ja 0x4358d1
push 0xfffffffffffffffd
pop edi
cmp dword [ebp - 0x11c], 5
jne 0x4358fb
cmp dword [ebp - 0x118], 0
jne 0x4358e6
xor edi, edi
inc edi
cmp dword [ebp - 0x118], 1
je 0x4358f8
cmp dword [ebp - 0x118], 2
jne 0x43592c
push 2
pop edi
cmp dword [ebp - 0x11c], 6
jb 0x43592c
push 6
jmp 0x43592b
cmp dword [ebp - 0x11c], 4
jne 0x43592c
cmp dword [ebp - 0x118], 0xa
jne 0x43591c
xor edi, edi
cmp dword [ebp - 0x118], 0x5a
jne 0x43592c
push 3
jmp 0x43592b
push 0xfffffffffffffffe
pop edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0053792d
leave
ret

Function at 0x43593c
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x563724
call fcn.0053cea9
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.00538530
add esp, 0xc
call fcn.00437a9e
push eax
mov ecx, ebx
call fcn.00402723
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 0x4359bd
push eax
mov ecx, ebx
call fcn.00402337
jmp 0x4359e3
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 0x59a28c
push ebx
call fcn.0040a0e9
add esp, 0x10
mov eax, ebx
call fcn.0053cf2c
ret

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

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

Disassembly:
push 0
mov eax, 0x563fc4
call fcn.0053ce40
mov eax, dword [ebp + 8]
test eax, eax
je 0x435a36
cmp word [eax], 0
je 0x435a36
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x435a38
xor eax, eax
call fcn.0053cf18
ret
Function at 0x437032
Capabilities:
Read .ini file

Disassembly:
push 0x434
mov eax, 0x5672c5
call fcn.0053cea9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x434], eax
xor ebx, ebx
xor eax, eax
mov edi, 0x206
mov dword [ebp - 4], ebx
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00538530
add esp, 0xc
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x428]
call fcn.00402723
lea eax, [ebp - 0x420]
push eax
mov byte [ebp - 4], 1
call fcn.00435129
pop ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040235d
push str.EpsonEvent_Manager_
mov byte [ebp - 4], 2
push dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
push str._s_s
push eax
call fcn.0040a0e9
mov esi, dword [ebp - 0x428]
push esi
call fcn.004372a8
add esp, 0x14
test eax, eax
jne 0x4370f7
call fcn.00437264
jmp 0x4370fa
xor eax, eax
inc eax
cmp eax, ebx
jne 0x437127
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
call fcn.0053cf2c
ret
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x424]
call fcn.00402723
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.0041236e
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.0040274b
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push 0x59dc9c
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4371c0
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, ebx
jmp 0x437121
push dword [ebp - 0x424]
push ebx
push 0x598dbc
push dword [ebp + 8]
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x430]
push ebx
push str.ModelDependency
push dword [ebp + 8]
mov dword [ecx], eax
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x440]
push ebx
push str.EPSSetting
push dword [ebp + 8]
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 0x43c]
mov dword [ecx], eax
xor eax, eax
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538530
add esp, 0xc
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x598e70
push str.ShortTranslation
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x218]
push eax
call fcn.00402337
xor ebx, ebx
inc ebx
jmp 0x437184