joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bae0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x54], 0
je 0x41bb6f
push eax
call fcn.004588bd
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx + 0x90]
cmp edx, eax
jl 0x41bb6f
test edx, edx
jle 0x41bb6f
test eax, eax
jl 0x41bb71
cmp eax, edx
jge 0x41bb71
imul eax, eax, 0xe0
add eax, dword [ecx + 0x8c]
test eax, eax
je 0x41bb6f
mov eax, dword [eax + 0xa0]
sub eax, 0x10
push eax
call fcn.00402000
mov esi, eax
add esi, 0x10
add esp, 4
cmp dword [esi - 0xc], 0
je 0x41bb53
inc dword [0x5db1ec]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
ret
call fcn.00448939
int3

Function at 0x41cfd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d2614]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x11c
xor edi, edi
lea eax, [ebp - 0x120]
push edi
push eax
call fcn.00544f30
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x41d02c
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
cmp dword [ebp - 0x11c], 6
mov eax, 1
jae 0x41d03c
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005418f3
mov esp, ebp
pop ebp
ret
Function at 0x41e240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ff30
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.COsasoi::GetShownAnonymousFlag_r_n
push 0x5dafc0
call fcn.00403a80
xor edi, edi
add esp, 8
mov dword [ebp - 0x10], edi
call fcn.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e299
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x1f
push str.SoftwareEPSONSoftware_Updater
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00401e90
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp esi, edi
je 0x41e2ec
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0x20019
mov esi, eax
mov dword [ebp - 0x34], vtable.Registry.0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
jne 0x41e316
mov esi, 0xf003f
mov ebx, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x30]
push eax
push edi
push esi
push edi
push edi
push edi
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
je 0x41e38a
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push edi
push edi
push str.Anonymous
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x1c], edi
je 0x41e37a
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x41e387
push eax
call esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x10]
push ecx
push str.bRet___d_r_n
push 0x5dafc0
call fcn.00403a80
push 0x5a4da8
push 0x5dafc0
call fcn.00403a80
mov eax, dword [ebp - 0x30]
add esp, 0x14
mov dword [ebp - 0x34], vtable.Registry.0
cmp eax, edi
je 0x41e3c3
push eax
call esi
mov dword [ebp - 0x30], edi
lea eax, [ebx - 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e3e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56ff00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push str.COsasoi::SetShownAnonymousFlag_r_n
push 0x5dafc0
call fcn.00403a80
push 1
push str.bShown___d_r_n
push 0x5dafc0
call fcn.00403a80
add esp, 0x14
call fcn.00448a4d
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e46b
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x1f
push str.SoftwareEPSONSoftware_Updater
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], edi
call fcn.00401e90
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
je 0x41e4c4
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [esp + 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0x20006
mov esi, eax
mov dword [esp + 0x24], vtable.Registry.0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
jne 0x41e4f1
mov esi, 0xf003f
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
push esi
push edi
push edi
push edi
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x40], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
je 0x41e561
mov edx, dword [esp + 0x28]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push edi
push str.Anonymous
push edx
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x41e55d
push eax
call esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push 0x5a4da8
push 0x5dafc0
call fcn.00403a80
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x24], vtable.Registry.0
cmp eax, edi
je 0x41e58a
push eax
call esi
mov dword [esp + 0x28], edi
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f570
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570c28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 8], esi
jne 0x41f5ca
mov esi, dword [ebp + 0xc]
push 0x5a14b0
mov ecx, esi
call fcn.00401a30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00448a4d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41f5e4
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x200
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x41f631
push 0x200
push 8
call edi
push eax
call ebx
mov ebx, eax
test ebx, ebx
jne 0x41f67c
push esi
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp + 0xc]
push 0x5a14b0
mov ecx, esi
call fcn.00401a30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f666
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push ebx
mov eax, 0x100
push 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edx + 4]
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41f6b5
push esi
lea ecx, [ebp - 0x14]
call fcn.004019e0
push esi
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push ebx
push 0
call edi
push eax
call esi
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.00402000
mov edi, dword [ebp + 0xc]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f702
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41f720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570398
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x14], esi
push 0x5a14b0
cmp dword [eax + 8], esi
jne 0x41f765
mov ecx, edi
call fcn.00401a30
jmp 0x41f82c
lea ecx, [ebp - 0x10]
call fcn.00401a30
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x200
push 8
mov dword [ebp - 0x14], 0x100
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41f7bb
push 0x5a14b0
mov ecx, edi
call fcn.00401a30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41f820
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [eax + 4]
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41f7e6
push esi
lea ecx, [ebp - 0x10]
call fcn.004019e0
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402000
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f82c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570398
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
xor esi, esi
mov dword [ebp + 0x10], esi
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp + 0x10], esi
push eax
cmp dword [edi + 8], esi
jne 0x41f8d4
call fcn.00402000
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00402000
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x41f99d
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x10]
push edx
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x10]
cmp eax, esi
jbe 0x41f960
add eax, 2
push eax
call fcn.00447f3e
mov esi, eax
add esp, 4
test esi, esi
je 0x41f960
mov edx, dword [ebp + 0x10]
add edx, 2
push edx
push 0
push esi
call fcn.00544f30
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f957
push esi
lea ecx, [ebp - 0x10]
call fcn.004019e0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.00447f33
add esp, 4
lea esi, [ebx - 0x10]
push esi
call fcn.00402000
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fa2c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x41fa2c
add eax, 2
push eax
call fcn.00447f3e
mov esi, eax
add esp, 4
test esi, esi
jne 0x41f9bd
lea esi, [ebx - 0x10]
push esi
call fcn.00402000
add esp, 4
jmp 0x41fa08
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
push 0
push esi
call fcn.00544f30
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f9f6
push esi
lea ecx, [ebp - 0x10]
call fcn.004019e0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.00447f33
lea esi, [ebx - 0x10]
push esi
call fcn.00402000
add esp, 8
mov edi, dword [ebp + 8]
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa2c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41fa50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 8], 0
push esi
mov esi, eax
jne 0x41fa66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [ebp - 4]
call fcn.00401a30
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax + 2]
mov eax, dword [edi + 4]
push ecx
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fab2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41fac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [eax + 8], 0
jne 0x41fad4
xor eax, eax
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, dword [eax + 4]
push 0
push 0
push ecx
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x421210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571c70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5a14b0
lea ecx, [ebp - 0x10]
call fcn.00401a30
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.00406a10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
je 0x421367
mov edx, ecx
lea ecx, [edx - 1]
test ecx, ecx
jl 0x42139b
cmp ecx, edx
jg 0x42139b
movzx ecx, word [eax + ecx*2]
cmp cx, 0x5c
je 0x421294
push 0x5a12d4
lea ecx, [ebp - 0x10]
call fcn.00403ff0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 8
push str.Link.ini
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5a5860
call fcn.00401a30
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.EpsonConnect
call fcn.00401a30
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push esi
call fcn.00402000
add eax, 0x10
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 1
call fcn.00407a20
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x42132b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421364
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42138a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401fd0
int3

Function at 0x421b80
Capabilities:
Resume thread

Disassembly:
push 0
push 0x5d4e00
push 0x5d4de4
push 0
push 0
push 4
push 0
push 2
push 0x5a60b0
call fcn.00458719
push eax
call fcn.00561909
add esp, 0x14
mov dword [esi + 0x2fc], eax
test eax, eax
je 0x421bdf
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x2fc]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x2fc]
mov eax, dword [edx + 0x178]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x422730
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5735f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x7c]
lea edi, [esi + 0x7c]
sub eax, 0x10
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0x5a14b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00401a30
push ebx
mov byte [esp + 0x34], 1
call fcn.00541a2d
add esp, 4
mov dword [esp + 0x1c], eax
push str._Y_m_d_H_M_S
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edx
call fcn.00421ea0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00401f40
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4227f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403ee0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x78]
push edx
call fcn.00401f40
lea ecx, [esp + 0x10]
call fcn.00407020
add esi, 0x74
push edi
mov ecx, esi
call fcn.00401f40
call fcn.00407ee0
push 0xd
push str.ShareFile.dat
mov ecx, esi
call fcn.00403ee0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42285a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5d2614]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x410
mov ebx, ecx
lea ecx, [ebp - 0x41c]
push 0
push ecx
mov dword [ebp - 0x424], eax
call fcn.00544f30
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x2c]
add esp, 0xc
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], ecx
call fcn.00451b96
mov eax, dword [eax + 4]
add eax, 0xd0
lea edx, [ebp - 0x41c]
mov dword [eax + 0x54], 0xd
mov dword [eax + 0x58], edx
call fcn.00451b96
call fcn.00451b96
mov edi, dword [eax + 4]
add edi, 0xd0
mov dword [ebp - 0x420], 0xffffffff
je 0x425b41
mov eax, dword [edi + 0x60]
test eax, eax
je 0x425b41
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425b41
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push ecx
push edx
call eax
mov dword [ebp - 0x420], eax
mov dword [edi + 0x5c], eax
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425b50
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x40c]
lea edi, [esi + 0x30]
push eax
mov ecx, edi
call fcn.00401e90
mov ecx, dword [ebp - 0x410]
mov dword [esi + 0x14], 0x270e
mov dword [ebx], ecx
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Installed
push str.DownDLLLog
call ebx
mov edx, dword [ebp - 0x424]
mov dword [edx], eax
mov edi, dword [edi]
push edi
push 0
push str.FileSize
push str.DownDLLLog
call ebx
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x420]
xor ecx, ebp
pop ebx
call fcn.005418f3
mov esp, ebp
pop ebp
ret 4