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

Disassembly:
push 0x60
mov eax, 0x566ab2
call fcn.0053d749
lea ecx, [ebp - 0x6c]
call fcn.0043a3f5
and dword [ebp - 4], 0
call fcn.00438329
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402a28
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004128a1
push str.Epson_SoftwareCommonEventInfo.plg
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00401c58
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0040279f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402a50
mov edi, dword [ebp - 0x4c]
push 0
push edi
lea ecx, [ebp - 0x6c]
call fcn.0043a49c
test eax, eax
jne 0x41b0a0
lea ecx, [ebp - 0x6c]
call fcn.00439f61
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [edi - 0x10]
call fcn.00402a50
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0043a427
mov eax, esi
call fcn.0053d7cc
ret
call fcn.00438329
push eax
lea ecx, [ebp - 0x48]
call fcn.00402a28
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.0043a047
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043a6df
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040279f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00402a50
push 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040f28d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00415a34
push 0x59c698
lea ecx, [ebp - 0x40]
call fcn.0041107e
test eax, eax
je 0x41b126
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
jmp 0x41b19a
mov esi, dword [ebp - 0x48]
push esi
push 0xa
lea eax, [ebp - 0x38]
push eax
push 0x599168
push str.EventID
push str.Event
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040266d
push 0x59c6c0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0041107e
test eax, eax
je 0x41b1ac
lea ecx, [ebp - 0x6c]
call fcn.0043a3b7
test eax, eax
jne 0x41b17d
mov eax, dword [ebp - 0x6c]
push 0x10
lea ecx, [ebp - 0x6c]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00402a50
test ebx, ebx
jne 0x41b0a0
jmp 0x41b077
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [esi - 0x10]
call fcn.00402a50
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [edi - 0x10]
call fcn.00402a50
xor esi, esi
inc esi
jmp 0x41b08c
Function at 0x41bed0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x563d59
call fcn.0053d749
and dword [ebp - 4], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
call fcn.00438329
push eax
mov ecx, edi
call fcn.00402a28
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push str.SoftwareEPSONFastFoto
push SysReAllocString
mov dword [ebp - 0x5c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41bf52
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.LastConnectDS
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bf49
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.004029be
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d7cc
ret

Function at 0x41bf5a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x563d59
call fcn.0053d749
and dword [ebp - 4], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
call fcn.00438329
push eax
mov ecx, edi
call fcn.00402a28
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push str.SoftwareEPSONEpsonScanManager
push SysReAllocString
mov dword [ebp - 0x5c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41bfdc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.LastConnectDS
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bfd3
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.004029be
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d7cc
ret
Function at 0x41bfe4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x70
mov eax, 0x566843
call fcn.0053d6e0
xor esi, esi
push str.ScanButtonConfig.exe
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0040f341
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00412992
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401c01
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push str.___DSName:
push eax
call fcn.0040f2dd
push 0x59a378
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00401c58
mov ecx, dword [ebp - 0x20]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00538860
push dword [ebp - 0x18]
mov dword [ebp - 0x7c], 0x44
call fcn.0053c3f1
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c0b5
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
push edi
call fcn.0053823b
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7b8
ret
Function at 0x41c826
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push 0x9c
mov eax, 0x5667a5
call fcn.0053d749
mov esi, ecx
lea ecx, [ebp - 0xa8]
call fcn.00412a52
push str.EventSetting.ini
push eax
lea eax, [ebp - 0xa4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401c58
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0xa4]
push 1
push str.bShow
push 0x59c9ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [ebp - 0x98]
push eax
push 0x20019
push ebx
push str.SOFTWAREEPSONDocument_Capture
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0x91], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 0xd7c], ebx
cmp eax, ebx
jne 0x41c95c
lea eax, [ebp - 0xa0]
push eax
push ebx
lea eax, [ebp - 0x9c]
push eax
push ebx
push str.InstallPath
push dword [ebp - 0x98]
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c8f8
cmp edi, ebx
je 0x41c8f8
mov dword [esi + 0xd7c], 1
mov edi, 0x80
push edi
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.00538860
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push str.Version
push dword [ebp - 0x98]
mov dword [ebp - 0xa0], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c950
cmp word [ebp - 0x90], 0x32
jb 0x41c950
mov byte [ebp - 0x91], 1
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [ebp - 0x9c], esp
cmp dword [esi + 0xd7c], ebx
je 0x41c993
mov ecx, esp
push 0x59ca40
call fcn.0040266d
add esi, 0x1f0
cmp byte [ebp - 0x91], bl
je 0x41c98c
push 0x84
jmp 0x41c9a9
push 0x83
jmp 0x41c9a9
mov edi, esp
call fcn.00438329
push eax
mov ecx, edi
call fcn.00402a28
push ebx
add esi, 0x1f0
push esi
call fcn.004351b2
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7cc
ret
Function at 0x41d7ad
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x56a80c
call fcn.0053d6e0
mov eax, dword [esi + 0xdc8]
xor edi, edi
cmp eax, edi
je 0x41d7e0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xdc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xdc8], edi
push 0xa
lea ecx, [ebp - 0x38]
call fcn.00439230
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call fcn.00412a52
push 0x59a798
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00401c58
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0040f76e
mov ecx, eax
call fcn.0040f385
test eax, eax
je 0x41d870
lea ebx, [esi + 0xdcc]
mov ecx, ebx
call fcn.00439318
push ebx
lea ecx, [ebp - 0x18]
call fcn.0041d88d
mov ecx, ebx
call fcn.0042935a
call fcn.0041ddb5
cmp dword [esi + 0xdc8], edi
jne 0x41d870
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push 0x41e0ba
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xdc8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043935e
call fcn.0053d7b8
ret
Function at 0x41d88d
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2c4
mov eax, 0x5687fc
call fcn.0053d749
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push str.SoftwareEPSONEPSON_Scan
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2ac], eax
mov dword [edi], ebx
call fcn.0040266d
lea eax, [ebp - 0x2b0]
push eax
push 0x20019
push ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x2a4]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d952
mov dword [ebp - 0x2a0], ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0x2b4], esi
call fcn.00538860
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2a0]
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2a8], eax
cmp eax, ebx
jne 0x41d944
mov ecx, dword [ebp - 0x2ac]
inc dword [edi]
lea eax, [ebp - 0x218]
push eax
call fcn.004395bc
inc dword [ebp - 0x2a0]
cmp dword [ebp - 0x2a8], ebx
je 0x41d8eb
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xa
lea ecx, [ebp - 0x2d0]
call fcn.00439230
lea eax, [ebp - 0x2d0]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040f76e
mov ecx, eax
call fcn.0040f7d2
mov esi, dword [ebp - 0x2cc]
jmp 0x41da3b
mov eax, esi
cmp esi, ebx
je 0x41da67
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.00402741
lea edi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x2a8], edi
lea eax, [ebp - 0x298]
push 3
mov byte [ebp - 4], 2
mov dword [ebp - 0x29c], eax
push edi
lea eax, [ebp - 0x29c]
push eax
call fcn.0040b999
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x29c]
push eax
call fcn.004214c9
pop ecx
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x29c], eax
je 0x41da04
push dword [ebp - 0x29c]
call fcn.0053823b
pop ecx
mov eax, dword [ebp - 0x2a0]
cmp dword [eax - 0xc], ebx
jle 0x41da21
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0043947b
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402a50
cmp esi, ebx
jne 0x41d98e
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], bl
call fcn.0043935e
mov ecx, dword [ebp - 0x2a4]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7cc
ret 4
call fcn.00439076
int3
Function at 0x41f36f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x563d59
call fcn.0053d749
and dword [ebp - 4], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
call fcn.00438329
push eax
mov ecx, edi
call fcn.00402a28
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push str.SoftwareEPSONEpsonScanManager
push SysReAllocString
mov dword [ebp - 0x5c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41f3f1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.LastUSBConnectDS
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f3e8
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.004029be
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d7cc
ret
Function at 0x420899
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], 4
mov dword [ebp - 4], edi
je 0x4208b3
cmp dword [ebp + 0xc], 5
jne 0x4208d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call esi
cmp dword [ebp + 0xc], 5
mov ebx, eax
jne 0x4208d0
push edi
push edi
push edi
push edi
call esi
mov dword [ebp - 4], eax
cmp dword [0x5d1694], edi
je 0x42090e
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp + 0xc], edi
push ebx
push dword [ebp + 0x10]
call fcn.004181ee
add esp, 0xc
push eax
push 0x4182f8
push edi
push edi
call fcn.0053c9ec
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x420911
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420d64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420dcd
cmp dword [ebp + 0x10], 1
je 0x420da5
cmp dword [ebp + 0x10], 2
je 0x420da5
push 0xd
pop eax
jmp 0x420dcd
mov eax, dword [ebp - 4]
test edi, edi
je 0x420dc7
test eax, eax
je 0x420dc2
test al, 1
jne 0x420da0
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x420dc7
jmp 0x420da0
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x421901
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x5d1ac0]
xor eax, eax
mov dword [ebp - 0x210], eax
cmp dword [ecx - 0xc], eax
jne 0x421958
push 1
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0053894e
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x5d1ac0
call fcn.004026d0
mov eax, dword [0x5d1ac0]
add eax, 0xfffffff0
push eax
call fcn.00402741
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
call fcn.005381db
leave
ret
Function at 0x421da6
Capabilities:
Get file version info

Disassembly:
push 0xa0
mov eax, 0x568002
call fcn.0053d749
mov eax, dword [ebp + 8]
push 3
push eax
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x94]
push eax
xor esi, esi
mov dword [ebp - 0x98], ecx
call fcn.0040b999
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x98]
call fcn.00421796
or dword [ebp - 4], 0xffffffff
mov bl, al
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x421e03
push dword [ebp - 0x98]
call fcn.0053823b
pop ecx
test bl, bl
je 0x421e10
xor eax, eax
inc eax
call fcn.0053d7cc
ret
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0xa0]
call fcn.0040266d
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00438329
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402a28
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xa8], esp
mov edi, esp
push eax
call fcn.00402741
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.00436358
pop ecx
pop ecx
test eax, eax
jne 0x421e8e
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
jmp 0x421e0a
push 0
push dword [ebp - 0x9c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x421ec7
xor esi, esi
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, esi
jmp 0x421e0a
push edi
call fcn.004382b7
pop ecx
push eax
push edi
push 0
push dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x421f41
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0x599c28
push dword [ebp - 0xa4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x421f41
mov eax, dword [ebp - 0xa8]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
cmp ecx, 3
jle 0x421f26
mov esi, ebx
jmp 0x421f41
jge 0x421f2c
xor esi, esi
jmp 0x421f41
cmp edx, 7
jg 0x421f22
jl 0x421f28
cmp esi, 5
jg 0x421f22
jl 0x421f28
cmp word [eax + 0xc], bx
sbb esi, esi
inc esi
push dword [ebp - 0xa4]
call fcn.004382c2
pop ecx
jmp 0x421ea4
Function at 0x4222b4
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0x4f4
mov eax, 0x567f3e
call fcn.0053d749
mov esi, ecx
call fcn.00438329
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00402a28
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00438329
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00402a28
mov byte [ebp - 4], 1
mov eax, dword [esi]
push 3
push eax
lea eax, [ebp - 0x4ac]
lea ecx, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x4ac], ecx
call fcn.0040b999
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.00421796
mov byte [ebp - 0x4ad], al
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4ac], eax
je 0x422340
push dword [ebp - 0x4ac]
call fcn.0053823b
pop ecx
lea eax, [ebp - 0x4b8]
cmp byte [ebp - 0x4ad], bl
je 0x422407
push dword [esi]
push str._TEMP_DNAME___s__IP_LOCAL
push eax
call fcn.0040ab0a
add esp, 0xc
lea eax, [ebp - 0x4b4]
push eax
push 0x20019
push ebx
push 0x59d3cc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422487
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x4c4]
push eax
push ebx
push str.BaseModulePath
push dword [ebp - 0x4b4]
mov dword [ebp - 0x4c0], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4223f6
push 0xffffffffffffffff
push str.Corees2utility.exe
lea eax, [ebp - 0x424]
push 0x208
push eax
call fcn.0053cf09
lea eax, [ebp - 0x424]
push eax
call fcn.0053894e
add esp, 0x14
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004026d0
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422487
push dword [esi]
push str._T:__s__L
push eax
call fcn.0040ab0a
add esp, 0xc
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0x4b4]
call fcn.0040266d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4b4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c4], esp
mov esi, esp
push eax
call fcn.00402741
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x4bc]
push eax
call fcn.00436358
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x422482
call fcn.00402a50
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xfffffff0
jmp 0x4224f7
call fcn.00402a50
push 0x38
lea eax, [ebp - 0x4fc]
push ebx
push eax
call fcn.00538860
mov esi, dword [ebp - 0x4bc]
mov edi, dword [ebp - 0x4b8]
add esp, 0xc
lea eax, [ebp - 0x500]
push eax
mov dword [ebp - 0x500], 0x3c
mov dword [ebp - 0x4fc], 0x40
mov dword [ebp - 0x4f0], esi
mov dword [ebp - 0x4ec], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x4c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x4c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00402a50
lea ecx, [edi - 0x10]
call fcn.00402a50
call fcn.0053d7cc
ret
Function at 0x422aac
Capabilities:
Read .ini file

Disassembly:
push 0x30
mov eax, 0x564edd
call fcn.0053d6e0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
call fcn.00438329
mov ecx, dword [ebp + 8]
push eax
call fcn.00402a28
xor esi, esi
mov dword [ebp - 4], edi
inc esi
mov dword [ebp - 0x1c], esi
call fcn.00438329
push eax
lea ecx, [ebp - 0x14]
call fcn.00402a28
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str._04x
push eax
mov dword [ebp - 4], esi
call fcn.0040ab0a
add esp, 0xc
call fcn.00438329
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a28
mov byte [ebp - 4], 2
lea esi, [ebp + 0x10]
cmp dword [ebp + 0x10], edi
je 0x422b38
call fcn.00421901
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push 0x59d790
push eax
call fcn.0040ab0a
add esp, 0x10
jmp 0x422b54
call fcn.00421901
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push str._sEpsonDocument_CaptureAppInfo1_
push eax
call fcn.0040ab0a
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [ebp - 0x3c]
call fcn.0043a3f5
push 0x59d830
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00401c58
add esp, 0xc
push edi
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0043a49c
cmp eax, edi
je 0x422c3b
call fcn.00438329
push eax
lea ecx, [ebp + 0x10]
call fcn.00402a28
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0043a047
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043a6df
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 8
call fcn.0040279f
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402a50
mov esi, dword [ebp + 0x10]
push esi
push edi
push str.ProjectID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [ebp + 0x14]
je 0x422c27
lea ecx, [ebp - 0x3c]
call fcn.0043a3b7
test eax, eax
jne 0x422c11
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 6
call fcn.00402a50
cmp ebx, edi
jne 0x422b9c
jmp 0x422c3b
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.0040279f
lea ecx, [esi - 0x10]
call fcn.00402a50
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0043a427
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp + 8]
call fcn.0053d7b8
ret
Function at 0x422cc3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x818
mov eax, 0x564e5c
call fcn.0053d749
xor edi, edi
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x824], ebx
mov dword [ebp - 0x820], edi
call fcn.00538860
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push 0x20019
push edi
push str.SOFTWAREEPSONDocument_Capture
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422d5c
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push edi
push str.InstallFolder
push dword [ebp - 0x814]
mov dword [ebp - 0x81c], 0x800
mov dword [ebp - 0x818], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00438329
push eax
mov ecx, ebx
call fcn.00402a28
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push eax
mov ecx, ebx
mov dword [ebp - 0x820], 1
call fcn.0040ba53
push str.JobRunner.exe
push ebx
call fcn.0042a2d9
mov eax, ebx
call fcn.0053d7cc
ret