joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d4b3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2c8
mov eax, 0x56843e
call fcn.0053d399
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push str.SoftwareEPSONEPSON_Scan
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2b0], eax
mov dword [edi], ebx
call fcn.00402358
lea eax, [ebp - 0x2b4]
push eax
push 0x20019
push ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x2a8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d578
mov dword [ebp - 0x2a4], ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0x2b8], esi
call fcn.00538a20
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2a4]
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2ac], eax
cmp eax, ebx
jne 0x41d56a
mov ecx, dword [ebp - 0x2b0]
inc dword [edi]
lea eax, [ebp - 0x218]
push eax
call fcn.00439213
inc dword [ebp - 0x2a4]
cmp dword [ebp - 0x2ac], ebx
je 0x41d511
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xa
lea ecx, [ebp - 0x2d4]
call fcn.00438e87
lea eax, [ebp - 0x2d4]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040f452
mov ecx, eax
call fcn.0040f4b6
mov esi, dword [ebp - 0x2d0]
jmp 0x41d661
mov eax, esi
cmp esi, ebx
je 0x41d68d
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.0040242c
lea edi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x2ac], edi
lea eax, [ebp - 0x29c]
push 3
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a0], eax
push edi
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040b67d
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a0]
push eax
call fcn.00421116
pop ecx
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2a0], eax
je 0x41d62a
push dword [ebp - 0x2a0]
call fcn.00537e71
pop ecx
mov eax, dword [ebp - 0x2a4]
cmp dword [eax - 0xc], ebx
jle 0x41d647
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a4]
push eax
call fcn.004390d2
mov ecx, dword [ebp - 0x2a4]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402728
cmp esi, ebx
jne 0x41d5b4
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], bl
call fcn.00438fb5
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.0053d41c
ret 4
call fcn.00438caa
int3
Function at 0x41eead
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x5638f8
call fcn.0053d399
and dword [ebp - 4], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
call fcn.00437f60
push eax
mov ecx, edi
call fcn.0042a551
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 0x41ef2f
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 0x41ef26
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.004026b4
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d41c
ret
Function at 0x4203d6
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 0x4203f0
cmp dword [ebp + 0xc], 5
jne 0x42040d
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 0x42040d
push edi
push edi
push edi
push edi
call esi
mov dword [ebp - 4], eax
cmp dword [0x5d1694], edi
je 0x42044b
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.00417dda
add esp, 0xc
push eax
push 0x417ee4
push edi
push edi
call fcn.0053c63d
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x42044e
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4208a1
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 0x42090a
cmp dword [ebp + 0x10], 1
je 0x4208e2
cmp dword [ebp + 0x10], 2
je 0x4208e2
push 0xd
pop eax
jmp 0x42090a
mov eax, dword [ebp - 4]
test edi, edi
je 0x420904
test eax, eax
je 0x4208ff
test al, 1
jne 0x4208dd
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x420904
jmp 0x4208dd
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 0x42154e
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 0x4215a5
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.005384e9
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x5d1ac0
call fcn.004023bb
mov eax, dword [0x5d1ac0]
add eax, 0xfffffff0
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
call fcn.00537e11
leave
ret
Function at 0x4219f3
Capabilities:
Get file version info

Disassembly:
push 0xa0
mov eax, 0x567c6a
call fcn.0053d399
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.0040b67d
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x98]
call fcn.004213e3
or dword [ebp - 4], 0xffffffff
mov bl, al
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x421a50
push dword [ebp - 0x98]
call fcn.00537e71
pop ecx
test bl, bl
je 0x421a5d
xor eax, eax
inc eax
call fcn.0053d41c
ret
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0xa0]
call fcn.00402358
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x9c]
call fcn.0042a551
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.0040242c
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.00435f91
pop ecx
pop ecx
test eax, eax
jne 0x421adb
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
jmp 0x421a57
push 0
push dword [ebp - 0x9c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x421b14
xor esi, esi
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, esi
jmp 0x421a57
push edi
call fcn.00437eee
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 0x421b8e
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0x599b60
push dword [ebp - 0xa4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x421b8e
mov eax, dword [ebp - 0xa8]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
cmp ecx, 3
jle 0x421b73
mov esi, ebx
jmp 0x421b8e
jge 0x421b79
xor esi, esi
jmp 0x421b8e
cmp edx, 7
jg 0x421b6f
jl 0x421b75
cmp esi, 5
jg 0x421b6f
jl 0x421b75
cmp word [eax + 0xc], bx
sbb esi, esi
inc esi
push dword [ebp - 0xa4]
call fcn.00437ef9
pop ecx
jmp 0x421af1
Function at 0x421f01
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0x4f4
mov eax, 0x567ba6
call fcn.0053d399
mov esi, ecx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x4b8]
call fcn.0042a551
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x4bc]
call fcn.0042a551
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.0040b67d
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.004213e3
mov byte [ebp - 0x4ad], al
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4ac], eax
je 0x421f8d
push dword [ebp - 0x4ac]
call fcn.00537e71
pop ecx
lea eax, [ebp - 0x4b8]
cmp byte [ebp - 0x4ad], bl
je 0x422054
push dword [esi]
push str._TEMP_DNAME___s__IP_LOCAL
push eax
call fcn.0040a7ee
add esp, 0xc
lea eax, [ebp - 0x4b4]
push eax
push 0x20019
push ebx
push 0x59d334
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4220d4
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 0x422043
push 0xffffffffffffffff
push str.Corees2utility.exe
lea eax, [ebp - 0x424]
push 0x208
push eax
call fcn.0053cb59
lea eax, [ebp - 0x424]
push eax
call fcn.005384e9
add esp, 0x14
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004023bb
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4220d4
push dword [esi]
push str._T:__s__L
push eax
call fcn.0040a7ee
add esp, 0xc
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0x4b4]
call fcn.00402358
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.0040242c
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x4bc]
push eax
call fcn.00435f91
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x4220cf
call fcn.00402728
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xfffffff0
jmp 0x422144
call fcn.00402728
push 0x38
lea eax, [ebp - 0x4fc]
push ebx
push eax
call fcn.00538a20
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.00402728
lea ecx, [edi - 0x10]
call fcn.00402728
call fcn.0053d41c
ret
Function at 0x4226f9
Capabilities:
Read .ini file

Disassembly:
push 0x30
mov eax, 0x564a9f
call fcn.0053d330
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
call fcn.00437f60
mov ecx, dword [ebp + 8]
push eax
call fcn.0042a551
xor esi, esi
mov dword [ebp - 4], edi
inc esi
mov dword [ebp - 0x1c], esi
call fcn.00437f60
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a551
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str._04x
push eax
mov dword [ebp - 4], esi
call fcn.0040a7ee
add esp, 0xc
call fcn.00437f60
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a551
mov byte [ebp - 4], 2
lea esi, [ebp + 0x10]
cmp dword [ebp + 0x10], edi
je 0x422785
call fcn.0042154e
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push 0x59d6f8
push eax
call fcn.0040a7ee
add esp, 0x10
jmp 0x4227a1
call fcn.0042154e
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push str._sEpsonDocument_CaptureAppInfo1_
push eax
call fcn.0040a7ee
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [ebp - 0x3c]
call fcn.0043a04c
push 0x59d798
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00401943
add esp, 0xc
push edi
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0043a0f3
cmp eax, edi
je 0x422888
call fcn.00437f60
push eax
lea ecx, [ebp + 0x10]
call fcn.0042a551
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00439c9e
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043a336
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 8
call fcn.0040248a
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402728
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 0x422874
lea ecx, [ebp - 0x3c]
call fcn.0043a00e
test eax, eax
jne 0x42285e
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.00402728
cmp ebx, edi
jne 0x4227e9
jmp 0x422888
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.0040248a
lea ecx, [esi - 0x10]
call fcn.00402728
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0043a07e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp + 8]
call fcn.0053d408
ret
Function at 0x422910
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x818
mov eax, 0x564a1e
call fcn.0053d399
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.00538a20
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 0x4229a9
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.00437f60
push eax
mov ecx, ebx
call fcn.0042a551
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push eax
mov ecx, ebx
mov dword [ebp - 0x820], 1
call fcn.0040b737
push str.JobRunner.exe
push ebx
call fcn.00429f25
mov eax, ebx
call fcn.0053d41c
ret
Function at 0x422eb1
Capabilities:
Read .ini file

Disassembly:
push 0x74
mov eax, 0x568265
call fcn.0053d399
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
push dword [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.004052b6
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, dword [0x5d1ab4]
push eax
lea ebx, [ebp - 0x30]
call fcn.0042a5e7
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x5d1ab4]
je 0x422f08
add eax, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0042a62d
test al, al
jne 0x422f08
mov eax, ebx
jmp 0x422f13
mov eax, dword [0x5d1ab4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
cmp dword [eax], esi
je 0x422f33
lea ecx, [ebp - 0x2c]
call fcn.00429fb5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x38]
movzx eax, al
mov dword [ecx], eax
jmp 0x423068
lea esi, [ebp - 0x34]
call fcn.0042154e
mov esi, str.EpsonDocument_CaptureScanModule.ini
push esi
mov byte [ebp - 4], 2
call fcn.005384e9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040b75d
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push str.ModelID
push dword [ebp + 8]
call esi
push dword [ebp - 0x34]
mov dword [edi], eax
push 0
push str.ModelDependency
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
cmp dword [edi], 0
mov ebx, 0xffff
jne 0x423037
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
call fcn.0040242c
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.004223e2
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.0040242c
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov dword [esp], 0x5990a0
push 0x598e20
lea ecx, [ebp - 0x30]
call fcn.00410ad1
push 0x10
push 0
push dword [ebp - 0x30]
call fcn.0053c987
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x42301d
lea eax, [ebp - 0x80]
push eax
mov dword [edi], esi
call fcn.004013a2
lea eax, [ebp - 0x80]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.0042108e
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x80]
mov dword [ecx], eax
call fcn.004013e4
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00402728
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402728
mov edi, dword [edi]
test edi, edi
jle 0x42305d
cmp edi, ebx
jge 0x42305d
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
lea ecx, [ebp - 0x2c]
setne al
mov byte [ebp - 0x3c], al
call fcn.00429fb5
mov ecx, dword [ebp - 0x3c]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00402728
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406066
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
call fcn.0053d41c
ret
Function at 0x423430
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5649d4
call fcn.0053d399
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437f60
push eax
mov ecx, edi
call fcn.0042a551
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push 0x59d334
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4234eb
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push str.BaseModulePath
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4234df
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402332
push str.Corees2launcher.exe
push edi
call fcn.00429f25
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d41c
ret

Function at 0x4234f3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5649d4
call fcn.0053d399
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437f60
push eax
mov ecx, edi
call fcn.0042a551
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push str.SOFTWAREEPSONFastFoto
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4235a3
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push str.InstallPath
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423597
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402332
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053d41c
ret
Function at 0x4235d2
Capabilities:
Read .ini file

Disassembly:
push 0x78
mov eax, 0x568f67
call fcn.0053d330
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
push eax
lea esi, [ebp - 0x18]
call fcn.0040242c
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00422eb1
pop ecx
pop ecx
push dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Model
call fcn.00402358
lea edi, [ebp - 0x14]
call fcn.00437362
pop ecx
pop ecx
mov byte [ebp - 4], 1
xor bl, bl
cmp dword [ebp - 0x18], 0
jle 0x4236ef
lea edi, [ebp - 0x24]
call fcn.00412410
push str.Push_Scan_Plugin_
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.00401943
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004018ec
add esp, 0xc
push str..ini
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.00401943
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402728
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push str.DCEX.
push eax
call fcn.0040efc1
mov eax, dword [eax]
add esp, 0xc
push dword [ebp - 0x1c]
push 0
push str.DCUSupport
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x24]
test eax, eax
setne bl
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402728
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004299c7
pop ecx
test eax, eax
jne 0x423733
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.0040242c
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00429976
pop ecx
test eax, eax
je 0x423761
push 0xa
lea ecx, [ebp - 0x44]
call fcn.00438e87
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004390d2
lea ecx, [ebp - 0x44]
call fcn.00428fa7
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00438fb5
lea eax, [ebp - 0x84]
push eax
call fcn.004013a2
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push eax
call fcn.0042108e
mov edi, dword [ebp - 0x78]
pop ecx
pop ecx
lea esi, [ebp - 0x84]
call fcn.004013e4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
test edi, edi
setg al
or al, bl
call fcn.0053d408
ret