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

Disassembly:
push 0x1c
mov eax, 0x568eb6
call fcn.0053d6e0
call fcn.00438329
push eax
lea ecx, [ebp - 0x14]
call fcn.00402a28
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
mov esi, esp
lea edi, [ebp - 0x18]
mov dword [ebp - 0x28], esp
call fcn.0042cd4e
mov ecx, edi
call fcn.00423264
pop ecx
pop ecx
mov dword [ebp - 0x10], 0xc9
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x599dec
push eax
call fcn.0040ab0a
add esp, 0xc
cmp dword [ebp - 0x10], 0xc9
jne 0x4285cd
mov ebx, 0x2bd
jmp 0x428600
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x1c]
call fcn.0042cd4e
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 1
push dword [ebp - 0x10]
call fcn.0042569f
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.00402a50
lea edi, [ebp - 0x28]
call fcn.004128e9
mov edi, eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0042cd4e
push eax
lea eax, [ebp - 0x20]
push str.DCEX.
push eax
mov byte [ebp - 4], 3
call fcn.0040f2dd
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
mov edi, dword [ebp - 0x14]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test esi, esi
setg bl
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x42867d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x54]
mov dword [eax + ecx*4 + 0x58], esi
inc dword [eax + 0x54]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xe6
jle 0x4285a9
lea ecx, [edi - 0x10]
call fcn.00402a50
call fcn.0053d7b8
ret
Function at 0x428c62
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x569694
call fcn.0053d6e0
mov ebx, ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0x14]
mov dword [ebp - 0x20], esp
call fcn.0042cd4e
mov ecx, edi
call fcn.00423264
push dword [ebp - 0x14]
call fcn.004288f1
add esp, 0xc
push 0x1004
call fcn.00438288
pop ecx
test eax, eax
je 0x428cb0
mov esi, eax
call fcn.00428069
mov edi, eax
jmp 0x428cb2
xor edi, edi
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.0042cd4e
and dword [ebp - 4], 0
lea ecx, [edi + 4]
push eax
call fcn.0040279f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.00413241
lea ecx, [edi + 8]
push eax
mov dword [ebp - 4], 1
call fcn.0040279f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00426387
pop ecx
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0040279f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402a50
and dword [edi + 0x54], 0
and dword [edi + 0x50], 0
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.0042cd4e
call fcn.00423b7b
pop ecx
test al, al
jne 0x428d67
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.0042cd4e
call fcn.0042379e
pop ecx
test al, al
jne 0x428d67
xor esi, esi
xor eax, eax
jmp 0x428d6c
xor eax, eax
inc eax
xor esi, esi
push edi
push ebx
mov byte [edi + 0x1000], al
call fcn.00428566
push dword [ebp - 0x14]
mov edx, edi
mov ecx, ebx
call fcn.0042869b
add esp, 0xc
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0xff4]
push eax
call fcn.00538480
add esp, 0xc
test byte [ebx + 0x48], 0x10
jbe 0x428df8
mov eax, dword [ebx + 0x30]
cmp eax, 0xca
jl 0x428dd3
mov dword [edi + 0xffc], 0x22
jmp 0x428df8
cmp eax, 0xc8
jl 0x428de6
mov dword [edi + 0xffc], 0x20
jmp 0x428df8
xor ecx, ecx
cmp eax, 0x70
setge cl
lea ecx, [ecx + ecx + 0x1a]
mov dword [edi + 0xffc], ecx
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push 0x4280b1
push esi
push esi
mov dword [ebp - 0x20], esi
call fcn.0053c9ec
add esp, 0x18
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x733c
push esi
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x428e34
mov ebx, dword [ebx + 0x4c]
jmp 0x428e37
mov ebx, dword [ebx + 0x50]
cmp ebx, esi
je 0x428e42
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.0053d7b8
ret
Function at 0x429d29
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x55708f
call fcn.0053d6e0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00402741
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.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, edi
call fcn.0053d7b8
ret

Function at 0x429d7a
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x55708f
call fcn.0053d6e0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00402741
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.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, edi
call fcn.0053d7b8
ret
Function at 0x42a080
Capabilities:
Read .ini file

Disassembly:
push 0x248
mov eax, 0x568487
call fcn.0053d749
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.00538860
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00412a52
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov ebx, 0x59a5a4
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.00402a50
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 0x42a2bd
call fcn.00438329
push eax
lea ecx, [ebp - 0x220]
call fcn.00402a28
mov byte [ebp - 4], 2
call fcn.00412992
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x220]
push 0x59deec
push eax
call fcn.0040ab0a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
push eax
call fcn.00402741
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jne 0x42a181
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040279f
mov esi, dword [ebp - 0x22c]
call fcn.00438329
push eax
lea ecx, [ebp - 0x224]
call fcn.00402a28
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x220]
push esi
push edi
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0040ab0a
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.0043a3f5
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x224]
push 0
push ebx
lea ecx, [ebp - 0x254]
call fcn.0043a49c
lea ecx, [ebp - 0x254]
test eax, eax
jne 0x42a1fc
mov byte [ebp - 4], 4
call fcn.0043a427
lea ecx, [ebx - 0x10]
call fcn.00402a50
lea ecx, [esi - 0x10]
call fcn.00402a50
lea ecx, [edi - 0x10]
jmp 0x42a2b8
call fcn.00439f61
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.00402741
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.00402741
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x234], esp
call fcn.00412a52
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x238], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 8
call fcn.00402741
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.004290d8
add esp, 0x14
test eax, eax
je 0x42a292
lea eax, [ebp - 0x21c]
push eax
push 0x59c9e8
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.0043a427
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, esi
call fcn.00402a50
mov ecx, edi
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7cc
ret
Function at 0x42ce6a
Capabilities:
Read .ini file

Disassembly:
push 0x68
mov eax, 0x568c57
call fcn.0053d6e0
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42ce91
lea ecx, [eax - 0x10]
jmp 0x42cfb6
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00402741
add eax, 0x10
pop ecx
mov dword [esi], eax
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.0041052b
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040279f
lea ecx, [ebp - 0x74]
mov dword [ebx + 8], edi
call fcn.00410aec
lea ecx, [ebp - 0x74]
mov dword [ebx + 0xc], eax
call fcn.00410a58
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x74]
call fcn.004106b4
push dword [ebp - 0x68]
movzx eax, al
push 0
push str.SupportsEpsonScanSetting
push dword [ebp - 0x6c]
mov dword [ebx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x74]
mov dword [ebx + 0x18], eax
call fcn.00410b7d
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.00410bf3
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.00410ce9
lea ecx, [ebx + 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, esi
call fcn.00410dde
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x42cfa8
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00402741
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.0042cfd9
lea ecx, [ebp - 0x74]
call fcn.0041068a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7b8
ret 0xc
Function at 0x431ec3
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x564a8d
call fcn.0053d749
and dword [ebp - 4], 0
and dword [ebp - 0x268], 0
mov ecx, edi
call fcn.00439318
push 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
call fcn.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x431f17
test ecx, ecx
jns 0x431f0d
push 0x80070057
call fcn.00402a0e
cmp word [eax], 0x5c
jne 0x431f17
xor bl, bl
jmp 0x431f19
mov bl, 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x431f35
push 0x5c
lea ecx, [ebp + 8]
call fcn.004173fa
push 0x59b914
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00401c58
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402a50
cmp esi, 0xffffffff
je 0x432057
test byte [ebp - 0x260], 0x12
jne 0x43203a
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040266d
push str.desktop.ini
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.0041107e
test eax, eax
je 0x432028
push str.Thumbs.db
lea ecx, [ebp - 0x264]
call fcn.0041107e
test eax, eax
je 0x432028
push str.__.___
lea ecx, [ebp - 0x264]
call fcn.0041107e
test eax, eax
je 0x432028
push str.________.___
lea ecx, [ebp - 0x264]
call fcn.0041107e
test eax, eax
je 0x432028
push str..
lea ecx, [ebp - 0x264]
call fcn.0041107e
test eax, eax
je 0x432028
push 0
push str.fio12_
lea ecx, [ebp - 0x264]
call fcn.0040f22e
cmp eax, 0xffffffff
jne 0x432028
inc dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
call fcn.0043947b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431f76
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0x268]
call fcn.0053d7cc
ret 4
Function at 0x432070
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x564a52
call fcn.0053d749
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
mov ecx, edi
call fcn.00439318
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4320c6
test ecx, ecx
jns 0x4320bc
push 0x80070057
call fcn.00402a0e
cmp word [eax], 0x5c
jne 0x4320c6
xor bl, bl
jmp 0x4320c8
mov bl, 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x4320e4
push 0x5c
lea ecx, [ebp + 8]
call fcn.004173fa
push 0x59b914
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00401c58
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402a50
cmp esi, 0xffffffff
je 0x43228e
test byte [ebp - 0x264], 0x12
jne 0x432271
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040266d
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.0041107e
test eax, eax
je 0x43225f
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x43225f
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x43225f
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x43225f
push str..
lea ecx, [ebp - 0x268]
call fcn.0041107e
test eax, eax
je 0x43225f
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.0040f22e
cmp eax, 0xffffffff
jne 0x43225f
mov ecx, dword [ebp - 0x278]
push 0
push dword [ebp - 0x268]
call fcn.00439271
test eax, eax
jne 0x43225f
call fcn.00438329
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402a28
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 2
call fcn.00401c01
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0040279f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0043947b
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x432125
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
inc eax
call fcn.0053d7cc
ret 8
Function at 0x433e78
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x564955
call fcn.0053d749
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
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 0x433ed4
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.0040266d
jmp 0x433f43
push 0x1000
call fcn.004382b7
pop ecx
push dword [edi + 4]
mov dword [ebp - 0x218], eax
push 0x400
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
call fcn.0040266d
push dword [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.004382c2
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
push eax
call fcn.00402741
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, ebx
call fcn.0053d7cc
ret 8

Function at 0x4341b6
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x565c5b
call fcn.0053d749
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.00438329
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402a28
and dword [ebp - 4], 0
call fcn.00412992
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x59a5a4
push eax
call fcn.0040ab0a
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 0x4342ff
test eax, eax
jle 0x4342ff
and dword [ebp - 0xe0], 0
mov edi, ebx
cmp eax, ebx
jl 0x4342ff
cmp dword [ebp - 0xe0], 0
jne 0x4342ff
mov esi, ebx
cmp dword [ebp - 0xd8], ebx
jl 0x4342f2
push esi
lea eax, [ebp - 0x24]
push 0x599dec
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00434809
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x599168
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.00539167
pop ecx
pop ecx
test eax, eax
je 0x4342e6
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x43427f
jmp 0x4342f2
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x434268
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0xdc]
call fcn.0053d7cc
ret 4
Function at 0x43431b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x564070
call fcn.0053d749
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x434497
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x434497
call fcn.00438329
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402a28
mov byte [ebp - 4], 2
call fcn.00438329
push eax
lea ecx, [ebp - 0x224]
call fcn.00402a28
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push str.SOFTWAREEPSONEPSON_Scan_s
push eax
call fcn.0040ab0a
mov esi, dword [ebp - 0x224]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4343cd
lea ecx, [esi - 0x10]
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x43449a
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538860
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
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 0x434428
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4343ac
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.0053894e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004026d0
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040f22e
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
je 0x4343af
call fcn.00402a50
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
inc eax
jmp 0x4344ac
lea ecx, [eax - 0x10]
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7cc
ret 8
Function at 0x4358cf
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x55dbcc
call fcn.0053d6e0
xor edi, edi
inc edi
push edi
push 0x1a
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00438329
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a28
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x599768
push eax
call fcn.0040ab0a
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x43591d
xor edi, edi
lea ecx, [eax - 0x10]
call fcn.00402a50
mov eax, edi
call fcn.0053d7b8
ret

Function at 0x43592d
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x238
mov eax, 0x564022
call fcn.0053d749
xor ebx, ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.0043a3f5
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538860
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x59ee1c
push eax
call fcn.00437e4d
add esp, 0x18
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0043a49c
cmp eax, ebx
jne 0x4359bc
xor esi, esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.0043a427
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, esi
call fcn.0053d7cc
ret
lea ecx, [ebp - 0x240]
call fcn.0043a047
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
call fcn.0043a3b7
test eax, eax
jne 0x435a84
call fcn.00438329
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402a28
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0043a778
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push str._s_s
push eax
call fcn.0040ab0a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0x240]
push 0x10
lea ecx, [ebp - 0x240]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x435a71
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x244], esp
mov edi, esp
push eax
call fcn.00402741
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0043592d
pop ecx
jmp 0x435a78
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402a50
cmp dword [ebp - 0x220], ebx
jne 0x4359bc
lea ecx, [ebp - 0x240]
call fcn.00439f61
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
inc esi
jmp 0x43599b