joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ca61
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0x24c
mov eax, 0x46d4ce
call fcn.004517f7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 2
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x220]
call fcn.00402773
push 1
push 0x1a
lea eax, [ebp - 0x21c]
push eax
xor ebx, ebx
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x224]
call fcn.00402773
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push str._sEpsonDocument_Capture_
push eax
mov byte [ebp - 4], 4
call fcn.0040314f
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040270e
push str.CopyCusPro.ini
lea ecx, [ebp - 0x220]
call fcn.00403c3c
push dword [ebp - 0x220]
push 1
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x41cc9b
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402773
push str.Devices
push str.Resources
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push str._s_s_s_
push eax
call fcn.0040314f
add esp, 0x14
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040283c
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x228]
cmp dword [esi - 0xc], ebx
jne 0x41cb82
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040270e
mov esi, dword [ebp - 0x228]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x234]
call fcn.00402773
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x22c]
push esi
push edi
lea eax, [ebp - 0x234]
push 0x477fb8
push eax
call fcn.0040314f
add esp, 0x10
lea ecx, [ebp - 0x258]
call fcn.0042be99
push ebx
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x234]
push ebx
lea ecx, [ebp - 0x258]
call fcn.0042bf31
lea ecx, [ebp - 0x258]
test eax, eax
je 0x41cc7a
call fcn.0042ba95
push dword [ebp - 0x230]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x230], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x228]
mov dword [ebp - 0x240], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x224]
mov dword [ebp - 0x23c], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x238], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0040283c
mov byte [ebp - 4], 8
call fcn.0041bfa9
add esp, 0x14
test eax, eax
je 0x41cc74
push dword [ebp - 0x220]
push 0x479ab0
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 7
call fcn.0042bec2
lea ecx, [ebx - 0x10]
call fcn.0040285d
lea ecx, [esi - 0x10]
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
call fcn.0045187a
ret
Function at 0x41ccde
Capabilities:
Read .ini file

Disassembly:
push 0x240
mov eax, 0x46d42b
call fcn.004517f7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
xor edi, edi
xor eax, eax
inc edi
push 0x206
mov dword [ebp - 4], edi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0044de40
add esp, 0xc
lea ebx, [ebp - 0x21c]
call fcn.004084ad
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov esi, 0x477fb8
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285d
lea eax, [ebp - 0x218]
push eax
push edi
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x41cf11
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x224]
call fcn.00402773
mov byte [ebp - 4], 2
call fcn.004083f2
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x224]
push 0x47ad94
push eax
call fcn.0040314f
add esp, 0x14
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040283c
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x220]
cmp dword [edi - 0xc], 0
jne 0x41cdde
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040270e
mov edi, dword [ebp - 0x220]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402773
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x224]
push edi
push ebx
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0040314f
add esp, 0x10
lea ecx, [ebp - 0x24c]
call fcn.0042be99
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x21c]
push 0
push esi
lea ecx, [ebp - 0x24c]
call fcn.0042bf31
lea ecx, [ebp - 0x24c]
test eax, eax
jne 0x41ce59
mov byte [ebp - 4], 4
call fcn.0042bec2
lea ecx, [esi - 0x10]
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
lea ecx, [ebx - 0x10]
jmp 0x41cf0c
call fcn.0042ba95
push dword [ebp - 0x228]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x228], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x220]
mov dword [ebp - 0x22c], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
mov byte [ebp - 4], 7
mov ebx, esp
mov dword [ebp - 0x230], esp
call fcn.004084ad
push ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x234], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 8
call fcn.0040283c
mov byte [ebp - 4], 5
call fcn.0041bfa9
add esp, 0x14
test eax, eax
je 0x41cee4
lea eax, [ebp - 0x218]
push eax
push 0x479ab0
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.0042bec2
lea ecx, [esi - 0x10]
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
call fcn.0045187a
ret
Function at 0x421559
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x46b6a4
call fcn.0045178e
mov esi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, edi
jne 0x421582
lea ecx, [eax - 0x10]
jmp 0x4216ae
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040283c
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040735d
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040270e
push dword [ebp - 0x18]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push str.JobDeviceType
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x18]
mov dword [ebx + 0xc], eax
push edi
push str.NumJobEvents
push dword [ebp - 0x1c]
call esi
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x24]
call fcn.00407480
push dword [ebp - 0x18]
movzx eax, al
push edi
push str.SupportsEpsonScanSetting
push dword [ebp - 0x1c]
mov dword [ebx + 0x14], eax
call esi
neg eax
sbb eax, eax
neg eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x24]
mov dword [ebx + 0x18], eax
call fcn.004074e0
push eax
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 4
call fcn.0040275e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
lea edi, [ebp - 0x14]
call fcn.00407556
push eax
lea ecx, [ebx + 0x28]
mov byte [ebp - 4], 5
call fcn.0040275e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
lea edi, [ebp - 0x14]
call fcn.004075cc
push eax
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 6
call fcn.0040275e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
push dword [ebp - 0x18]
push 0
push str.ModifiedEvent
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x4216a0
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040283c
mov esi, ebx
call fcn.004216d1
lea ecx, [ebp - 0x24]
call fcn.00407460
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
call fcn.00451866
ret 0xc
Function at 0x421dbb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46edee
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x48c7d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x18]
call fcn.00402773
and dword [esp + 0x48], 0
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x1c]
call fcn.00402773
lea esi, [esp + 0x20]
mov byte [esp + 0x48], 1
call fcn.004085f9
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call fcn.0040270e
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285d
lea ebx, [edi + 4]
push ebx
lea ecx, [edi + 0x60]
call fcn.0040275e
mov eax, dword [edi + 0x34]
lea esi, [esp + 0x1c]
mov dword [edi + 0xa0], eax
call fcn.00408676
mov byte [esp + 0x48], 3
push dword [esp + 0x1c]
mov ebx, dword [ebx]
push ebx
push str.CurrentDS
push str.Select_DS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, edi
call fcn.00421b86
cmp eax, 5
jne 0x421ec2
mov ecx, edi
call fcn.00425303
mov esi, eax
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
dec eax
je 0x421f6f
dec eax
je 0x421ef9
dec eax
jne 0x421f26
lea eax, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.0040283c
mov esi, edi
call fcn.00421d18
test eax, eax
jne 0x421f90
jmp 0x421f0a
mov eax, dword [edi + 0x38]
test eax, eax
je 0x421f0a
push eax
call fcn.00418d3e
and dword [edi + 0x38], 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.0040283c
mov ecx, edi
call fcn.00423239
test eax, eax
je 0x421f90
lea ecx, [esp + 0x24]
call fcn.0042be99
xor esi, esi
push esi
mov byte [esp + 0x4c], 4
push dword [esp + 0x18]
lea ecx, [esp + 0x2c]
call fcn.0042bf31
cmp eax, 1
jne 0x421f53
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
call fcn.0042ba95
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call fcn.0042bec2
jmp 0x421e89
lea eax, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.0040283c
mov esi, edi
call fcn.00421d18
test eax, eax
je 0x421f26
xor esi, esi
inc esi
jmp 0x421e89
Function at 0x423239
Capabilities:
Read .ini file

Disassembly:
push 0x270
mov eax, 0x46ea39
call fcn.004517f7
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x244]
call fcn.00402773
mov byte [ebp - 4], 1
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x240]
call fcn.00402773
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x423467
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x238]
call fcn.00402773
mov byte [ebp - 4], 3
push dword [ebp + 8]
mov ebx, str.file
push edi
push str.count
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xa
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x22c], eax
call fcn.0042ada0
mov byte [ebp - 4], 4
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x228]
call fcn.00402773
mov byte [ebp - 4], 5
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x220]
call fcn.00402773
mov byte [ebp - 4], 6
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x234]
call fcn.00402773
xor eax, eax
inc eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], eax
jl 0x423395
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push 0x477a1c
push eax
call fcn.0040314f
mov edi, dword [ebp - 0x228]
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x47741c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push 0x4774a8
push eax
call fcn.0040314f
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x260]
call fcn.0042af5c
inc dword [ebp - 0x224]
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jle 0x423316
jmp 0x42339b
mov edi, dword [ebp - 0x228]
cmp dword [ebp - 0x22c], 0
jle 0x42343e
lea eax, [esi + 0x5c]
push 0
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], esi
call fcn.00404f29
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040285d
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.0042aef0
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, esi
call fcn.0045187a
ret 4
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
xor esi, esi
inc esi
jmp 0x4233f0
lea eax, [esi + 0x5c]
push 0xa
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], esi
call fcn.0042ada0
push 1
lea edx, [ebp - 0x27c]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 8
call fcn.00404f29
lea ecx, [ebp - 0x27c]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0042aef0
jmp 0x42340d
Function at 0x4261b4
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x469efe
call fcn.004517f7
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
mov ebx, edx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
and dword [ebp - 4], 0
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
lea edx, [ebp - 0x210]
push edx
push dword [ebp + 0xc]
push ecx
push eax
call esi
cmp eax, 0xff
je 0x426225
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.004024c3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, ebx
jmp 0x426294
push 0x1000
call fcn.0042a554
pop ecx
push dword [edi + 4]
mov ebx, eax
push 0x400
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call esi
push ebx
lea ecx, [ebp - 0x214]
call fcn.004024c3
push ebx
mov byte [ebp - 4], 1
call fcn.0042a55f
pop ecx
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
call fcn.0040283c
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp - 0x218]
call fcn.0045187a
ret 8

Function at 0x4266df
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x46b2bf
call fcn.004517f7
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402773
and dword [ebp - 4], 0
call fcn.004083f2
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x477fb8
push eax
call fcn.0040314f
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 0x426828
test eax, eax
jle 0x426828
and dword [ebp - 0xe0], 0
cmp eax, ebx
mov edi, ebx
jl 0x426828
cmp dword [ebp - 0xe0], 0
jne 0x426828
cmp dword [ebp - 0xd8], ebx
mov esi, ebx
jl 0x42681b
push esi
lea eax, [ebp - 0x24]
push 0x477a1c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00426d23
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x47741c
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.0044d4c8
pop ecx
pop ecx
test eax, eax
je 0x42680f
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x4267a8
jmp 0x42681b
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x426791
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp - 0xdc]
call fcn.0045187a
ret 4
Function at 0x426844
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x469571
call fcn.004517f7
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, esi
je 0x4269b3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], esi
je 0x4269b3
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402773
mov byte [ebp - 4], 2
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x224]
call fcn.00402773
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.0040314f
mov edi, dword [ebp - 0x224]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4268f8
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x4269b6
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0044de40
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push esi
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 0x426953
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4268d7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040247a
push dword [ebp + 0xc]
lea esi, [ebp - 0x21c]
call fcn.004068da
lea ecx, [edi - 0x10]
cmp eax, 0xffffffff
je 0x4268da
call fcn.0040285d
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
xor eax, eax
inc eax
jmp 0x4269c8
lea ecx, [eax - 0x10]
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
xor eax, eax
call fcn.0045187a
ret 8

Function at 0x427d51
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x469274
call fcn.0045178e
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402773
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x4774a8
push eax
call fcn.0040314f
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x427d9f
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.0040285d
mov eax, edi
call fcn.00451866
ret
Function at 0x427daf
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x230
mov eax, 0x469244
call fcn.004517f7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0042be99
xor eax, eax
push 0x206
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0044de40
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push str._s.
push eax
call fcn.0042a1bd
add esp, 0x18
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.0042bf31
test eax, eax
jne 0x427e3f
xor esi, esi
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0042bec2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, esi
call fcn.0045187a
ret
lea ecx, [ebp - 0x238]
call fcn.0042bb7b
lea ecx, [ebp - 0x238]
mov edi, eax
call fcn.0042be5a
test eax, eax
jne 0x427f00
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402773
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0042c1c1
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0040314f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp - 0x238]
push 0x10
lea ecx, [ebp - 0x238]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x427eed
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x23c], esp
mov ecx, esp
push eax
call fcn.0040283c
call fcn.00427daf
pop ecx
jmp 0x427ef4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040285d
test edi, edi
jne 0x427e3f
lea ecx, [ebp - 0x238]
call fcn.0042ba95
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x427e1d
Function at 0x4281eb
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.0044de40
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 0x428239
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x428243
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret

Function at 0x42824a
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.0044de40
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.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, esi
pop esi
leave
ret