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

Disassembly:
push 0x2c8
mov eax, 0x567de6
call fcn.0053cd89
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.00402372
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 0x41d216
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.00538410
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 0x41d208
mov ecx, dword [ebp - 0x2b0]
inc dword [edi]
lea eax, [ebp - 0x218]
push eax
call fcn.00438c22
inc dword [ebp - 0x2a4]
cmp dword [ebp - 0x2ac], ebx
je 0x41d1af
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xa
lea ecx, [ebp - 0x2d4]
call fcn.00438896
lea eax, [ebp - 0x2d4]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040f268
mov ecx, eax
call fcn.0040f2cc
mov esi, dword [ebp - 0x2d0]
jmp 0x41d2ff
mov eax, esi
cmp esi, ebx
je 0x41d32b
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.00402446
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.0040b66d
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a0]
push eax
call fcn.00420c8a
pop ecx
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2a0], eax
je 0x41d2c8
push dword [ebp - 0x2a0]
call fcn.0053786e
pop ecx
mov eax, dword [ebp - 0x2a4]
cmp dword [eax - 0xc], ebx
jle 0x41d2e5
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a4]
push eax
call fcn.00438ae1
mov ecx, dword [ebp - 0x2a4]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402760
cmp esi, ebx
jne 0x41d252
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], bl
call fcn.004389c4
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0053ce0c
ret 4
call fcn.00438697
int3
Function at 0x41eb9d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x5632e8
call fcn.0053cd89
and dword [ebp - 4], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
call fcn.00437969
push eax
mov ecx, edi
call fcn.00402738
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 0x41ec1f
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 0x41ec16
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.004026ce
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053ce0c
ret
Function at 0x41ff29
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 0x41ff43
cmp dword [ebp + 0xc], 5
jne 0x41ff60
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 0x41ff60
push edi
push edi
push edi
push edi
call esi
mov dword [ebp - 4], eax
cmp dword [0x5d1694], edi
je 0x41ff9e
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.00417a83
add esp, 0xc
push eax
push 0x417b8d
push edi
push edi
call fcn.0053c02f
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x41ffa1
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4203f4
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 0x42045d
cmp dword [ebp + 0x10], 1
je 0x420435
cmp dword [ebp + 0x10], 2
je 0x420435
push 0xd
pop eax
jmp 0x42045d
mov eax, dword [ebp - 4]
test edi, edi
je 0x420457
test eax, eax
je 0x420452
test al, 1
jne 0x420430
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x420457
jmp 0x420430
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 0x4210c2
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 0x421119
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.00537ed9
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x5d1ac0
call fcn.004023d5
mov eax, dword [0x5d1ac0]
add eax, 0xfffffff0
push eax
call fcn.00402446
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
call fcn.0053780e
leave
ret
Function at 0x421567
Capabilities:
Get file version info

Disassembly:
push 0xa0
mov eax, 0x567612
call fcn.0053cd89
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.0040b66d
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x98]
call fcn.00420f57
or dword [ebp - 4], 0xffffffff
mov bl, al
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x4215c4
push dword [ebp - 0x98]
call fcn.0053786e
pop ecx
test bl, bl
je 0x4215d1
xor eax, eax
inc eax
call fcn.0053ce0c
ret
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0xa0]
call fcn.00402372
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00437969
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402738
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.00402446
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.0043599a
pop ecx
pop ecx
test eax, eax
jne 0x42164f
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
jmp 0x4215cb
push 0
push dword [ebp - 0x9c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x421688
xor esi, esi
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
jmp 0x4215cb
push edi
call fcn.004378f7
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 0x421702
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0x599b40
push dword [ebp - 0xa4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x421702
mov eax, dword [ebp - 0xa8]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
cmp ecx, 3
jle 0x4216e7
mov esi, ebx
jmp 0x421702
jge 0x4216ed
xor esi, esi
jmp 0x421702
cmp edx, 7
jg 0x4216e3
jl 0x4216e9
cmp esi, 5
jg 0x4216e3
jl 0x4216e9
cmp word [eax + 0xc], bx
sbb esi, esi
inc esi
push dword [ebp - 0xa4]
call fcn.00437902
pop ecx
jmp 0x421665
Function at 0x421a75
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0x4f4
mov eax, 0x56754e
call fcn.0053cd89
mov esi, ecx
call fcn.00437969
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00402738
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00437969
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00402738
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.0040b66d
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.00420f57
mov byte [ebp - 0x4ad], al
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4ac], eax
je 0x421b01
push dword [ebp - 0x4ac]
call fcn.0053786e
pop ecx
lea eax, [ebp - 0x4b8]
cmp byte [ebp - 0x4ad], bl
je 0x421bc8
push dword [esi]
push str._TEMP_DNAME___s__IP_LOCAL
push eax
call fcn.0040a7d8
add esp, 0xc
lea eax, [ebp - 0x4b4]
push eax
push 0x20019
push ebx
push 0x59d2e4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421c48
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 0x421bb7
push 0xffffffffffffffff
push str.Corees2utility.exe
lea eax, [ebp - 0x424]
push 0x208
push eax
call fcn.0053c549
lea eax, [ebp - 0x424]
push eax
call fcn.00537ed9
add esp, 0x14
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004023d5
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x421c48
push dword [esi]
push str._T:__s__L
push eax
call fcn.0040a7d8
add esp, 0xc
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsestcfg.exe
lea ecx, [ebp - 0x4b4]
call fcn.00402372
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.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x4bc]
push eax
call fcn.0043599a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x421c43
call fcn.00402760
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xfffffff0
jmp 0x421cb8
call fcn.00402760
push 0x38
lea eax, [ebp - 0x4fc]
push ebx
push eax
call fcn.00538410
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.00402760
lea ecx, [edi - 0x10]
call fcn.00402760
call fcn.0053ce0c
ret
Function at 0x422267
Capabilities:
Read .ini file

Disassembly:
push 0x30
mov eax, 0x5644be
call fcn.0053cd20
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
call fcn.00437969
mov ecx, dword [ebp + 8]
push eax
call fcn.00402738
xor esi, esi
mov dword [ebp - 4], edi
inc esi
mov dword [ebp - 0x1c], esi
call fcn.00437969
push eax
lea ecx, [ebp - 0x14]
call fcn.00402738
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str._04x
push eax
mov dword [ebp - 4], esi
call fcn.0040a7d8
add esp, 0xc
call fcn.00437969
push eax
lea ecx, [ebp - 0x10]
call fcn.00402738
mov byte [ebp - 4], 2
lea esi, [ebp + 0x10]
cmp dword [ebp + 0x10], edi
je 0x4222f3
call fcn.004210c2
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push 0x59d6a8
push eax
call fcn.0040a7d8
add esp, 0x10
jmp 0x42230f
call fcn.004210c2
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push str._sEpsonDocument_CaptureAppInfo1_
push eax
call fcn.0040a7d8
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [ebp - 0x3c]
call fcn.00439a5b
push 0x59d748
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.0040195d
add esp, 0xc
push edi
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.00439b02
cmp eax, edi
je 0x4223f6
call fcn.00437969
push eax
lea ecx, [ebp + 0x10]
call fcn.00402738
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.004396ad
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00439d45
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 8
call fcn.004024a4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402760
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 0x4223e2
lea ecx, [ebp - 0x3c]
call fcn.00439a1d
test eax, eax
jne 0x4223cc
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.00402760
cmp ebx, edi
jne 0x422357
jmp 0x4223f6
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.004024a4
lea ecx, [esi - 0x10]
call fcn.00402760
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00439a8d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp + 8]
call fcn.0053cdf8
ret
Function at 0x42247e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x818
mov eax, 0x56443d
call fcn.0053cd89
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.00538410
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 0x422517
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.00437969
push eax
mov ecx, ebx
call fcn.00402738
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push eax
mov ecx, ebx
mov dword [ebp - 0x820], 1
call fcn.0040b727
push str.JobRunner.exe
push ebx
call fcn.00429a95
mov eax, ebx
call fcn.0053ce0c
ret
Function at 0x422a1e
Capabilities:
Read .ini file

Disassembly:
push 0x74
mov eax, 0x567c0d
call fcn.0053cd89
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.00405274
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, dword [0x5d1ab4]
push eax
lea ebx, [ebp - 0x30]
call fcn.0042a0e1
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x5d1ab4]
je 0x422a75
add eax, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0042a127
test al, al
jne 0x422a75
mov eax, ebx
jmp 0x422a80
mov eax, dword [0x5d1ab4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
cmp dword [eax], esi
je 0x422aa0
lea ecx, [ebp - 0x2c]
call fcn.00429b25
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 0x422bd5
lea esi, [ebp - 0x34]
call fcn.004210c2
mov esi, str.EpsonDocument_CaptureScanModule.ini
push esi
mov byte [ebp - 4], 2
call fcn.00537ed9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040b74d
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 0x422ba4
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
call fcn.00402446
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.00421f50
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.00402446
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov dword [esp], 0x599080
push 0x598e00
lea ecx, [ebp - 0x30]
call fcn.004108d9
push 0x10
push 0
push dword [ebp - 0x30]
call fcn.0053c377
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x422b8a
lea eax, [ebp - 0x80]
push eax
mov dword [edi], esi
call fcn.004013bc
lea eax, [ebp - 0x80]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.00420c02
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x80]
mov dword [ecx], eax
call fcn.004013fe
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402760
mov edi, dword [edi]
test edi, edi
jle 0x422bca
cmp edi, ebx
jge 0x422bca
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
lea ecx, [ebp - 0x2c]
setne al
mov byte [ebp - 0x3c], al
call fcn.00429b25
mov ecx, dword [ebp - 0x3c]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00402760
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.0040604b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
call fcn.0053ce0c
ret
Function at 0x422f9d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5643f3
call fcn.0053cd89
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437969
push eax
mov ecx, edi
call fcn.00402738
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push 0x59d2e4
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 0x423058
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 0x42304c
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0040234c
push str.Corees2launcher.exe
push edi
call fcn.00429a95
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053ce0c
ret

Function at 0x423060
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5643f3
call fcn.0053cd89
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437969
push eax
mov ecx, edi
call fcn.00402738
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 0x423110
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 0x423104
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0040234c
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053ce0c
ret
Function at 0x42313f
Capabilities:
Read .ini file

Disassembly:
push 0x78
mov eax, 0x568907
call fcn.0053cd20
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.00402446
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00422a1e
pop ecx
pop ecx
push dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Model
call fcn.00402372
lea edi, [ebp - 0x14]
call fcn.00436d6b
pop ecx
pop ecx
mov byte [ebp - 4], 1
xor bl, bl
cmp dword [ebp - 0x18], 0
jle 0x42325c
lea edi, [ebp - 0x24]
call fcn.004121a3
push str.Push_Scan_Plugin_
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.0040195d
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401906
add esp, 0xc
push str..ini
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.0040195d
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402760
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push str.DCEX.
push eax
call fcn.0040ee66
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.00402760
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402446
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00429537
pop ecx
test eax, eax
jne 0x4232a0
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402446
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004294e6
pop ecx
test eax, eax
je 0x4232ce
push 0xa
lea ecx, [ebp - 0x44]
call fcn.00438896
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00438ae1
lea ecx, [ebp - 0x44]
call fcn.00428b17
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004389c4
lea eax, [ebp - 0x84]
push eax
call fcn.004013bc
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push eax
call fcn.00420c02
mov edi, dword [ebp - 0x78]
pop ecx
pop ecx
lea esi, [ebp - 0x84]
call fcn.004013fe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
test edi, edi
setg al
or al, bl
call fcn.0053cdf8
ret