joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484459
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov edi, 1
mov dword [esp + 0x38], edi
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
call edx
mov ebp, dword [esp + 0x40]
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
call fcn.00451700
mov dword [esp + 0x20], ebx
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x28]
call fcn.0044ff50
cmp eax, edi
je 0x44dc5b
xor edi, edi
jmp 0x44dcb6
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push 2
push ebx
push eax
call sub.WINSPOOL.DRV_GetPrinterDriverW
mov ecx, dword [esp + 0x18]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
jne 0x44dc8d
xor edi, edi
jmp 0x44dcb6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push esi
push 2
push ebx
push ecx
call sub.WINSPOOL.DRV_GetPrinterDriverW
mov edi, eax
cmp edi, ebx
je 0x44dcb6
mov edx, dword [esi + 0x10]
push edx
mov ecx, ebp
call fcn.0044c510
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x44dccc
push eax
lea ecx, [esp + 0x24]
call fcn.00450190
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x44dcee
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebp, dword [esp + 0x40]
cmp edi, ebx
jne 0x44dcf9
mov ecx, ebp
call fcn.0044c970
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x24], vtable.CWriteLog.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dd26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44dd4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x44f0c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x483e3a
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0xa40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa50]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov ebx, 1
mov dword [esp + 0xa48], ebx
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xa54]
push ebx
push 0x104
lea eax, [esp + 0x42c]
push eax
push 0x49760c
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x44f1b9
push 0x104
lea ecx, [esp + 0x630]
push ecx
push 0x104
lea edx, [esp + 0x840]
push edx
push 0x104
lea eax, [esp + 0x28]
push eax
push 0x104
lea ecx, [esp + 0x238]
push ecx
push ebx
call fcn.0046e6ea
add esp, 0x24
test eax, eax
jne 0x44f1b9
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x224]
push ecx
push str._s_s_s
push esi
call fcn.00448fb0
add esp, 0x14
jmp 0x44f1c0
mov ecx, esi
call fcn.0044c970
lea eax, [ebx - 0x10]
mov byte [esp + 0xa48], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa40]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0046d626
add esp, 0xa40
ret 8
Function at 0x450a10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48416a
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x230]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov ebx, 1
mov dword [esp + 0x228], ebx
call fcn.00465c8b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x450a82
push 0x80004005
call fcn.00448b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x234]
push ebx
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0x49760c
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x450acc
lea edx, [esp + 0x14]
push edx
push 0x4979e8
push esi
call fcn.00448fb0
add esp, 0xc
jmp 0x450ad3
mov ecx, esi
call fcn.0044c970
lea eax, [ebx - 0x10]
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450af7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0046d626
add esp, 0x220
ret

Function at 0x450c60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x210], eax
test esi, esi
push ebx
mov bl, 1
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jne 0x450ca3
xor al, al
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0046d626
add esp, 0x214
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x450cb6
xor bl, bl
jmp 0x450d13
lea ecx, [esp + 8]
push ecx
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x450ccd
xor bl, bl
jmp 0x450d13
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jge 0x450ce5
xor bl, bl
jmp 0x450d13
cmp byte [esp + 0x21c], 0
je 0x450cfb
push str.EPSONMyEPSON_Connect
lea ecx, [esp + 0x10]
push ecx
jmp 0x450d05
push str.EPSONMyEpson_Portal
lea edx, [esp + 0x10]
push edx
push str._s_s_
push esi
call fcn.00448fb0
add esp, 0x10
mov eax, dword [esp + 4]
test eax, eax
je 0x450d38
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x450d30
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x214]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0046d626
add esp, 0x214
ret
Function at 0x450e10
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push 0x114
lea eax, [esp + 8]
push 0
push eax
xor bl, bl
call fcn.0046e670
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x450e6c
mov eax, 2
cmp dword [esp + 0x14], eax
jne 0x450e6c
cmp dword [esp + 8], 5
jne 0x450e6c
cmp dword [esp + 0xc], eax
mov al, 1
je 0x450e6e
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.0046d626
add esp, 0x118
ret

Function at 0x450e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
push 0x20219
push 0
push str.SOFTWAREEPSONInTouch
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x450f05
mov eax, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.OutputLog
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x450efc
xor bl, bl
jmp 0x450f05
cmp dword [esp + 8], 1
jne 0x450f05
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x450f14
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret

Function at 0x4511e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
push 0x20219
push 0
push str.SOFTWAREEPSONInTouch
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451260
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x498840
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x451257
xor bl, bl
jmp 0x451260
cmp dword [esp + 0xc], 1
jne 0x451260
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x45126f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x451280
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x14
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push 8
lea eax, [esp + 8]
push eax
push 5
push ecx
or esi, 0xffffffff
mov word [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x451303
cmp word [esp + 4], 0
je 0x451303
lea edx, [esp + 4]
push edx
call fcn.0046f7f8
mov ecx, dword [0x4a23ec]
add esp, 4
xor edx, edx
test ecx, ecx
je 0x4512e2
mov edi, edi
cmp ecx, eax
je 0x4512e2
mov ecx, dword [edx*8 + 0x4a23f4]
add edx, 1
test ecx, ecx
jne 0x4512d0
cmp dword [edx*8 + 0x4a23ec], 0
je 0x451303
mov eax, dword [edx*8 + 0x4a23e8]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0046d626
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046d626
add esp, 0x14
ret
Function at 0x451390
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
push str.kernel32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45159e
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x45140e
cmp dword [esp + 0x10], 4
jne 0x45159e
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x45159e
cmp eax, 0xa
jne 0x4513fd
lea esi, [eax - 8]
jmp 0x45159e
cmp eax, 0x5a
jne 0x45159e
lea esi, [eax - 0x55]
jmp 0x45159e
cmp eax, 2
jne 0x451599
mov eax, dword [esp + 0x10]
cmp eax, 4
je 0x45159e
cmp eax, 5
jne 0x451459
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x45143b
mov esi, 4
jmp 0x45159e
cmp eax, 1
jne 0x451448
lea esi, [eax + 2]
jmp 0x45159e
cmp eax, 2
jne 0x45159e
lea esi, [eax + 0xc]
jmp 0x45159e
cmp eax, 6
jne 0x451552
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x4514b3
cmp edi, esi
mov dword [esp + 8], esi
je 0x4514a9
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4514a9
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4514a9
xor edx, edx
cmp dword [esp + 8], esi
setne dl
add edx, 0x10
mov esi, edx
jmp 0x45159e
mov esi, 0x10
jmp 0x45159e
cmp eax, 1
jne 0x451501
cmp edi, esi
mov dword [esp + 8], esi
je 0x4514f7
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4514f7
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4514f7
xor ecx, ecx
cmp dword [esp + 8], esi
setne cl
add ecx, 0x12
mov esi, ecx
jmp 0x45159e
mov esi, 0x12
jmp 0x45159e
cmp eax, 2
je 0x45150f
cmp eax, 3
jne 0x451599
cmp edi, esi
mov dword [esp + 8], esi
je 0x45154b
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x45154b
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x45154b
xor eax, eax
cmp dword [esp + 8], esi
setne al
add eax, 0x1a
mov esi, eax
jmp 0x45159e
mov esi, 0x1a
jmp 0x45159e
cmp eax, 0xa
jne 0x451599
cmp dword [esp + 0x14], esi
jne 0x451599
cmp edi, esi
mov dword [esp + 8], esi
je 0x451599
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x451599
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x451599
xor edx, edx
cmp dword [esp + 8], esi
setne dl
add edx, 0x43
mov esi, edx
jmp 0x45159e
mov esi, 0x43
mov ecx, dword [esp + 0x120]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046d626
add esp, 0x11c
ret
Function at 0x451700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4842db
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CWriteLog.0
call fcn.00465c8b
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x451748
push 0x80004005
call fcn.00448b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.004518c0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x451776
mov edi, 1
mov dword [esi + 8], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4517d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484119
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
call fcn.00465c8b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x45181f
push 0x80004005
call fcn.00448b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
xor ecx, ecx
mov eax, 0x105
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.0046491e
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4518a7
push 1
push 0x23
push esi
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x451896
lea edi, [esp + 0x14]
mov ecx, 0x105
mov edx, esi
call fcn.0044cbb0
cmp eax, ebp
jge 0x45188a
xor ecx, ecx
jmp 0x45188e
mov ecx, dword [esp + 0x14]
cmp eax, ebp
jne 0x45189e
cmp ecx, ebp
je 0x45189e
push esi
mov ecx, ebx
call fcn.0044c510
push esi
call fcn.00464923
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4519c0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x484278
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
cmp dword [eax + 8], 1
jne 0x451b27
lea edi, [eax + 4]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x451b27
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x38]
push edx
mov ebp, eax
call fcn.00451b40
push str.GlobalEpOpnePrinterLogMutex
push 0
push 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x451aff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x451a83
push 0
mov ecx, edi
call fcn.00449160
mov edi, dword [edi]
push 0x20
push 0x498900
push edi
call fcn.004810b7
mov edi, eax
add esp, 0xc
test edi, edi
je 0x451af1
push 0
lea ecx, [esp + 0x3c]
call fcn.00449100
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x28]
push ebp
push ebx
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
push ecx
push edx
push str._04d__02d__02d__02d:_02d:_02d_PrcID_08ld_ThrID_08ld_MName_s:
push edi
call fcn.00480f74
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x6c]
push eax
push ecx
push edi
call fcn.0048109b
push edi
call fcn.0047cbb5
add esp, 0x3c
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451b27
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 ebp
pop ebx
add esp, 0x20
ret
Function at 0x453620
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x453696
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x453665
cmp eax, 2
jne 0x453681
test esi, esi
mov eax, dword [esp + 0x14]
je 0x453690
test eax, eax
je 0x45368b
test al, 1
jne 0x453681
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x453690
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x4536a0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4536c0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x4536d6
push 0x80004005
call fcn.00448b20
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x453700
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x453718
push 0x80004005
call fcn.00448b20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x453725
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x453f10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREEPSONInTouch
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453f90
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x498840
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x453f87
xor bl, bl
jmp 0x453f90
cmp dword [esp + 0xc], 1
jne 0x453f90
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x453f9f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x454420
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.mep.exe
xor bl, bl
call edi
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
je 0x454449
push 0x20
push str.mep.exe
call esi
test eax, eax
je 0x45447f
push str.mepSender.exe
call edi
test eax, eax
je 0x454461
push 0x20
push str.mepSender.exe
call esi
test eax, eax
je 0x45447f
push str.64DriverLoad.exe
call edi
test eax, eax
je 0x454479
push 0x20
push str.64DriverLoad.exe
call esi
test eax, eax
je 0x45447f
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x4544b0
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x208
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x204], eax
mov ecx, dword [esp + 0x210]
push esi
mov esi, dword [esp + 0x210]
lea eax, [esp + 0x218]
push eax
push ecx
push 0xff
lea edx, [esp + 0x14]
push pe_nt_image_headers32
push edx
call fcn.0046da7f
add esp, 0x14
cmp dword [esi + 0x260], 0
lea eax, [esp + 8]
mov word [esp + 0x206], 0
mov dword [esp + 4], eax
jne 0x454519
mov ecx, eax
push ecx
call fcn.0046dc8e
add esp, 4
add esi, 0x40
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x45454c
push 0
lea edx, [esp + 8]
push edx
push 0
push 1
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [esp + 0x208]
pop esi
xor ecx, esp
call fcn.0046d626
add esp, 0x208
ret
Function at 0x454920
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4a0fe0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x45498e
test ecx, ecx
je 0x454980
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x45499c
test ecx, ecx
je 0x454a41
push ecx
jmp 0x454a3b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
jne 0x454a0e
jmp 0x4549d0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00454920
mov edi, eax
test edi, edi
jne 0x454a5d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
je 0x4549d0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x454a25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x454a41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046d626
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x454a6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x454a43