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

Disassembly:
push 0x74
mov eax, 0x567e9c
call fcn.0053cea9
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.00404c90
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, dword [0x5d1ab4]
push eax
lea ebx, [ebp - 0x30]
call fcn.0042a030
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x5d1ab4]
je 0x422b30
add eax, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0042a076
test al, al
jne 0x422b30
mov eax, ebx
jmp 0x422b3b
mov eax, dword [0x5d1ab4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
cmp dword [eax], esi
je 0x422b5b
lea ecx, [ebp - 0x2c]
call fcn.00429aca
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 0x422c90
lea esi, [ebp - 0x34]
call fcn.0042117d
mov esi, str.EpsonDocument_CaptureScanModule.ini
push esi
mov byte [ebp - 4], 2
call fcn.00537ff9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040b0de
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x598dbc
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 0x422c5f
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
call fcn.00402431
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.0042200b
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.00402431
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov dword [esp], 0x598e70
push 0x598d00
lea ecx, [ebp - 0x30]
call fcn.00410649
push 0x10
push 0
push dword [ebp - 0x30]
call fcn.0053c497
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x422c45
lea eax, [ebp - 0x80]
push eax
mov dword [edi], esi
call fcn.0040139d
lea eax, [ebp - 0x80]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.00420cbd
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x80]
mov dword [ecx], eax
call fcn.004013df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040274b
mov edi, dword [edi]
test edi, edi
jle 0x422c85
cmp edi, ebx
jge 0x422c85
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
lea ecx, [ebp - 0x2c]
setne al
mov byte [ebp - 0x3c], al
call fcn.00429aca
mov ecx, dword [ebp - 0x3c]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040274b
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00405a73
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf2c
ret
Function at 0x423058
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5645ec
call fcn.0053cea9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437a9e
push eax
mov ecx, edi
call fcn.00402723
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push 0x59d0bc
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 0x423113
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 0x423107
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402337
push str.Corees2launcher.exe
push edi
call fcn.00429a3a
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053cf2c
ret

Function at 0x42311b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5645ec
call fcn.0053cea9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437a9e
push eax
mov ecx, edi
call fcn.00402723
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 0x4231cb
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 0x4231bf
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402337
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053cf2c
ret
Function at 0x4231fa
Capabilities:
Read .ini file

Disassembly:
push 0x78
mov eax, 0x568b8d
call fcn.0053ce40
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.00402431
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00422ad9
pop ecx
pop ecx
push dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Model
call fcn.0040235d
lea edi, [ebp - 0x14]
call fcn.00436f83
pop ecx
pop ecx
mov byte [ebp - 4], 1
xor bl, bl
cmp dword [ebp - 0x18], 0
jle 0x423317
lea edi, [ebp - 0x24]
call fcn.00411f71
push str.Push_Scan_Plugin_
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004018e7
add esp, 0xc
push str..ini
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push str.DCEX.
push eax
call fcn.0040eabc
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.0040274b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004294dc
pop ecx
test eax, eax
jne 0x42335b
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0042948b
pop ecx
test eax, eax
je 0x423389
push 0xa
lea ecx, [ebp - 0x44]
call fcn.00438999
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00438be4
lea ecx, [ebp - 0x44]
call fcn.00428abc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00438ac7
lea eax, [ebp - 0x84]
push eax
call fcn.0040139d
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push eax
call fcn.00420cbd
mov edi, dword [ebp - 0x78]
pop ecx
pop ecx
lea esi, [ebp - 0x84]
call fcn.004013df
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
test edi, edi
setg al
or al, bl
call fcn.0053cf18
ret
Function at 0x423849
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5645ec
call fcn.0053cea9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437a9e
push eax
mov ecx, edi
call fcn.00402723
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push str.SOFTWAREEPSONEpsonScanManager
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 0x4238f9
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push str.InstallFolder
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4238ed
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402337
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053cf2c
ret

Function at 0x423901
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x5645ec
call fcn.0053cea9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], esi
call fcn.00437a9e
push eax
mov ecx, edi
call fcn.00402723
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push esi
push str.SOFTWAREEPSONEpsonScanManager
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 0x4239b1
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 0x4239a5
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00402337
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0053cf2c
ret

Function at 0x4239e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREEPSONDocument_Capture
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423a60
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push str.InstallPath
push dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423a54
mov bl, 1
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0053792d
leave
ret
Function at 0x424275
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00538530
mov dword [ebp - 0x18], esi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea edi, [ebp - 4]
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 8], esi
call fcn.00423058
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4242e4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040274b
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x424c4f
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x565b80
call fcn.0053ce40
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402723
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x599af4
push eax
mov byte [ebp - 4], 1
call fcn.0040a0e9
mov esi, dword [ebp - 0x10]
add esp, 0xc
cmp dword [esi - 0xc], ebx
je 0x424cec
cmp dword [ebp + 8], ebx
jl 0x424cec
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], ebx
je 0x424cc3
lea edi, [ebp - 0x14]
call fcn.00412019
push dword [eax]
push 0xffffffffffffffff
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040274b
cmp edi, 0xffffffff
jne 0x424cd5
push ebx
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.00424f1f
add esp, 0x10
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, edi
jmp 0x424d02
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
or eax, 0xffffffff
call fcn.0053cf18
ret
Function at 0x425407
Capabilities:
Read .ini file

Disassembly:
push 0x2c
mov eax, 0x564463
call fcn.0053ce40
mov edi, ecx
mov ebx, dword [ebp + 8]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x38]
call fcn.00439b5e
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402723
push str..plg
push edi
mov byte [ebp - 4], 2
call fcn.00429a3a
mov edi, dword [edi]
push 0
push edi
lea ecx, [ebp - 0x38]
call fcn.00439c05
test eax, eax
je 0x4254e8
lea ecx, [ebp - 0x38]
call fcn.004397b0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00439e48
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040248f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebp - 0x38]
call fcn.00439b20
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x4254c5
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
test eax, eax
jne 0x4254c5
push edi
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0xc], eax
je 0x4254cd
cmp dword [ebp - 0x1c], 0
jne 0x42545c
jmp 0x4254eb
lea ecx, [ebp - 0x38]
call fcn.004396ca
add edi, 0xfffffff0
push edi
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [ebx], eax
mov ecx, edi
jmp 0x425503
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.004396ca
call fcn.00437a9e
push eax
mov ecx, ebx
call fcn.00402723
lea ecx, [edi - 0x10]
mov dword [ebp - 0x14], esi
call fcn.0040274b
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00439b90
mov eax, ebx
call fcn.0053cf18
ret
Function at 0x4255e1
Capabilities:
Read .ini file

Disassembly:
push 0x84
mov eax, 0x568a2c
call fcn.0053ce40
and dword [ebp - 0x20], 0
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x14]
call fcn.00402723
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00439b5e
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402723
mov byte [ebp - 4], 3
push dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Model
call fcn.0040235d
lea edi, [ebp - 0x18]
call fcn.00436f83
add esp, 4
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x598e70
call fcn.0040235d
push dword [ebp + 0x10]
lea eax, [ebp - 0x90]
push eax
call fcn.0040fc72
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0040fdfb
movzx eax, al
test eax, eax
je 0x4256a8
lea ecx, [ebp + 0x10]
call fcn.00412182
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push str._s_sAppInfo1.plg
push eax
call fcn.0040a0e9
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
add esp, 0x10
jmp 0x4256e5
lea ecx, [ebp - 0x10]
call fcn.00412182
push 0x598dcc
push eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.0040193e
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0040248f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov edi, dword [ebp - 0x1c]
push 0
push edi
lea ecx, [ebp - 0x3c]
call fcn.00439c05
test eax, eax
je 0x4257be
lea ecx, [ebp - 0x3c]
call fcn.004397b0
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00439e48
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0040248f
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebp - 0x3c]
call fcn.00439b20
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x42576c
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
test eax, eax
jne 0x42576c
push esi
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0xc], eax
je 0x425774
cmp dword [ebp - 0x10], 0
jne 0x425703
jmp 0x4257c1
lea ecx, [ebp - 0x3c]
call fcn.004396ca
add esi, 0xfffffff0
push esi
call fcn.00402431
pop ecx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x20], ebx
call fcn.0040fdd1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [edi - 0x10]
call fcn.0040274b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00439b90
mov ecx, esi
jmp 0x4257fe
mov esi, dword [ebp - 0x14]
call fcn.00437a9e
mov ecx, dword [ebp + 8]
push eax
call fcn.00402723
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x20], ebx
call fcn.0040fdd1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [edi - 0x10]
call fcn.0040274b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00439b90
lea ecx, [esi - 0x10]
call fcn.0040274b
mov eax, dword [ebp + 8]
call fcn.0053cf18
ret
Function at 0x427603
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0x10
pop eax
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
call fcn.00538530
add esp, 0xc
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4276a0
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x427696
push ebx
push dword [ebp + 8]
call fcn.00537b40
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42768d
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42768d
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x42948b
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x56261d
call fcn.0053ce40
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00402431
pop ecx
push dword [0x5d1ad4]
lea esi, [eax + 0x10]
push 1
push str.FirstRun
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, edi
call fcn.0053cf18
ret

Function at 0x4294dc
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x56261d
call fcn.0053ce40
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00402431
pop ecx
push dword [0x5d1ad8]
lea esi, [eax + 0x10]
push 1
push str.FirstRun
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, edi
call fcn.0053cf18
ret
Function at 0x4297e1
Capabilities:
Read .ini file

Disassembly:
push 0x248
mov eax, 0x567d03
call fcn.0053cea9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
xor esi, esi
xor eax, eax
inc esi
push 0x206
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00538530
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00412182
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov ebx, 0x59a28c
lea eax, [ebp - 0x21c]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x220]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x21c]
push eax
push esi
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x429a1e
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x220]
call fcn.00402723
mov byte [ebp - 4], 2
call fcn.004120c2
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x220]
push 0x59dbdc
push eax
call fcn.0040a0e9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
push eax
call fcn.00402431
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jne 0x4298e2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040248f
mov esi, dword [ebp - 0x22c]
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x224]
call fcn.00402723
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x220]
push esi
push edi
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0040a0e9
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.00439b5e
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x224]
push 0
push ebx
lea ecx, [ebp - 0x254]
call fcn.00439c05
lea ecx, [ebp - 0x254]
test eax, eax
jne 0x42995d
mov byte [ebp - 4], 4
call fcn.00439b90
lea ecx, [ebx - 0x10]
call fcn.0040274b
lea ecx, [esi - 0x10]
call fcn.0040274b
lea ecx, [edi - 0x10]
jmp 0x429a19
call fcn.004396ca
push dword [ebp - 0x228]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov ebx, esp
push eax
call fcn.00402431
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov dword [ebp - 0x230], esp
mov ebx, esp
push esi
call fcn.00402431
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x234], esp
call fcn.00412182
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x238], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 8
call fcn.00402431
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.0042883a
add esp, 0x14
test eax, eax
je 0x4299f3
lea eax, [ebp - 0x21c]
push eax
push 0x59c6a8
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 4
call fcn.00439b90
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, esi
call fcn.0040274b
mov ecx, edi
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf2c
ret