joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000194e
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x100019ce
push str.avifil32.dll
call fcn.1000473e
test al, al
jne 0x10001967
pop edi
ret
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.AVIFileInit
push dword [edi + 4]
call esi
push str.AVIFileExit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.AVIFileRelease
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.AVIFileOpen
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.AVIStreamInfo
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.AVIStreamOpenFromFile
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.AVIStreamRelease
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 1
pop esi
mov al, 1
pop edi
ret

Function at 0x10001a04
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x10001a84
push str.winmm.dll
call fcn.1000473e
test al, al
jne 0x10001a1d
pop edi
ret
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.mmioInstallIOProcA
push dword [edi + 4]
call esi
push str.mmioOpenA
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.mmioClose
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.mmioAscend
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.mmioRead
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.mmioDescend
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.mciSendCommandA
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 1
pop esi
mov al, 1
pop edi
ret
Function at 0x10004310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp dword [edi + 0xe8], eax
jne 0x1000433e
cmp dword [edi + 0xec], ebx
je 0x10004429
and dword [ebp - 0x14], 0
lea ecx, [edi + 0x30]
and dword [ebp - 0x10], 0
mov dword [edi + 0xe8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push esi
push eax
mov dword [edi + 0xec], ebx
mov dword [ebp - 8], ebx
call fcn.1000473e
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
push esi
sete byte [ebp - 0x25]
and dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10004391
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x2c], eax
mov edx, dword [edi + 0x9c]
mov ecx, dword [edi + 0xa4]
mov esi, dword [edi + 0x98]
sub ecx, edx
mov eax, dword [edi + 0xa0]
push 0x10
push ecx
sub eax, esi
push eax
push edx
push esi
xor esi, esi
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push esi
push 0x491
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
test eax, eax
je 0x100043db
mov ecx, edi
call fcn.1000473e
cmp dword [ebp - 0x2c], 0
je 0x100043ec
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0x25], 0
je 0x100043fb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x10004429
mov eax, dword [edi + 0x98]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10009a12
mov esp, ebp
pop ebp
ret 8
Function at 0x1000473e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000474d
pop dword [ebp - 0x38]
mov eax, 0x30a578e8
add eax, 0xdf5ace65
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x18f68955
sub dword [ebp - 0x48], 0xcaa4440a
mov dword [ebp - 0x44], 0x20b234ac
sub dword [ebp - 0x44], 0xee7ee867
mov dword [ebp - 0x40], 0xabec0c19
add dword [ebp - 0x40], 0xa0603815
mov dword [ebp - 0x3c], 0xc92249dd
sub dword [ebp - 0x3c], 0xc92249dd
lea eax, [ebp - 0x48]
push eax
mov eax, 0x1b5b33ce
sub eax, 0xb5a735e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe3d84773
add dword [ebp - 0x48], 0x909a21e3
mov dword [ebp - 0x44], 0x4ba57e3
add dword [ebp - 0x44], 0x3cb20992
mov dword [ebp - 0x40], 0xe9d73419
add dword [ebp - 0x40], 0x79983853
mov dword [ebp - 0x3c], 0xf8bda91a
sub dword [ebp - 0x3c], 0xf8bda91a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36902
push 0
call eax
mov ecx, 0x73d4e839
sub ecx, 0x73d4a59b
mov ebx, eax
mov edi, 0xdd832da9
sub edi, 0xcd8189a9
add edi, dword [ebp - 0x38]
mov edx, 0x4c13eb28
sub dword [ebp - 8], ebx
mov esi, dword [edi]
add dword [ebp - 0x10], eax
add esi, edx
mov dword [ebp - 0xc], 0x7800e901
mov dword [ebx], esi
xor dword [ebp - 4], edx
add ebx, 0xdbf3812d
sub ebx, 0xdbf38129
add edi, 0xbb506f4e
sub edi, 0xbb506f4a
loop 0x10004864
add eax, 0xfd4b
mov ebx, eax
add eax, 0x5ccfaff7
sub eax, 0x5ccfaff2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x10008ab3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
cmp eax, 0x1a
jl 0x10008b0b
mov eax, dword [edi + 8]
cmp eax, dword [edi]
jl 0x10008b0b
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 0x10
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push dword [edi + 4]
push dword [edi]
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.1000473e
push 1
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x10009075
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x1001694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push ebx
xor ebx, ebx
push eax
push 1
push ebx
push 0x10011c8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10016f4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x1001204
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10016eb
cmp dword [ebp - 0xc], 4
jne 0x10016eb
cmp dword [ebp - 0x10], ebx
je 0x10016eb
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x1001a47
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 8]
push eax
push 1
push 0
and byte [esi], 0
push 0x1001214
push SysReAllocString
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001ab5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x1001244
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001aac
cmp dword [ebp + 8], 4
je 0x1001aa3
cmp dword [ebp + 8], 3
jne 0x1001aa9
cmp dword [ebp - 0xc], 0
je 0x1001aac
mov byte [esi], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret 4

Function at 0x1001abc
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jl 0x1001b91
lea eax, [ebp - 4]
push eax
push 0x1001658
push 4
push 0
push 0x1001648
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x1001b8b
cmp dword [ebp + 8], 0
jne 0x1001b03
xor eax, eax
jmp 0x1001b28
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.01001ed0
mov eax, esp
push esi
push dword [ebp + 8]
push eax
call fcn.01001670
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x34], 8
push eax
mov word [ebp - 0x24], 3
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + pe_nt_image_headers32]
mov esi, eax
test esi, esi
jl 0x1001b82
mov eax, dword [ebp - 4]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0x38]
mov eax, esi
pop esi
leave
ret 4
Function at 0x1001b9b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001250
push dword [ebp + 8]
call esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1001190
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c0f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1001184
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c06
cmp dword [ebp - 8], 1
jne 0x1001c06
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret 8

Function at 0x1001c16
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.010016f9
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001274
push edi
call esi
push 0x1001170
push edi
call esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1001190
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001ca2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x1001178
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c99
cmp dword [ebp + 8], 1
je 0x1001c8b
cmp dword [ebp + 8], 2
jne 0x1001c99
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x1001d50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012d8
push 0x1002ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x10072b4], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x10072b0], ecx
shl ecx, 8
add ecx, edx
mov dword [0x10072ac], ecx
shr eax, 0x10
mov dword [0x10072a8], eax
call fcn.01002dc0
test eax, eax
jne 0x1001dba
push 0x1c
call fcn.01001ea0
add esp, 4
mov dword [ebp - 4], 0
call fcn.01002bc0
call fcn.01002bb0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1007794], eax
call fcn.01002570
mov dword [0x1007290], eax
test eax, eax
je 0x1001ded
mov eax, dword [0x1007794]
test eax, eax
jne 0x1001df7
push 0xffffffffffffffff
call fcn.01001f30
add esp, 4
call fcn.010022c0
call fcn.010021d0
call fcn.01001f00
mov eax, dword [0x10072c4]
mov dword [0x10072c8], eax
push eax
mov eax, dword [0x10072bc]
push eax
mov ecx, dword [0x10072b8]
push ecx
call fcn.01001caa
add esp, 0xc
mov dword [ebp - 0x1c], eax
push eax
call fcn.01001f30
jmp 0x1001e52
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ea0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x1007298], 2
je 0x1001eae
call fcn.01002fd0
mov eax, dword [esp + 4]
push eax
call fcn.01003010
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1001f70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10072e4]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x1001f8f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x10072e0], 1
mov byte [0x10072dc], bl
jne 0x1001fe9
mov ecx, dword [0x100778c]
test ecx, ecx
je 0x1001fd7
mov esi, dword [0x1007788]
sub esi, 4
cmp esi, ecx
jb 0x1001fd7
mov eax, dword [esi]
test eax, eax
je 0x1001fd0
call eax
mov ecx, dword [0x100778c]
sub esi, 4
cmp esi, ecx
jae 0x1001fc2
push 0x1005014
push 0x1005010
call fcn.01002020
add esp, 8
push 0x100501c
push 0x1005018
call fcn.01002020
add esp, 8
test ebx, ebx
jne 0x1002010
push ebp
mov dword [0x10072e4], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x1002570
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10073f8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x10025b2
call edi
mov esi, eax
test esi, esi
je 0x100259c
mov eax, 1
jmp 0x10025ad
call ebp
mov ebx, eax
test ebx, ebx
je 0x10026bf
mov eax, 2
mov dword [0x10073f8], eax
cmp eax, 1
jne 0x1002652
test esi, esi
jne 0x10025cb
call edi
mov esi, eax
test esi, esi
je 0x10026bf
cmp word [esi], 0
mov eax, esi
je 0x10025e5
add eax, 2
cmp word [eax], 0
jne 0x10025d3
add eax, 2
cmp word [eax], 0
jne 0x10025d3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1002644
push edi
call fcn.01003240
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002644
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1002636
push ebx
call fcn.010031f0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x10026bf
test ebx, ebx
jne 0x1002663
call ebp
mov ebx, eax
test ebx, ebx
je 0x10026bf
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x100267b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x1003010
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x10051d0
push ebx
Function at 0x41796f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x41797e
pop dword [ebp - 0x38]
mov eax, 0xc1e1679a
add eax, 0x3e6011e4
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x4e760
push 0
mov eax, 0xf09121f3
add eax, 0xfb390bd
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x40e5
mov esi, eax
mov edi, 0x488e00
add edi, dword [ebp - 0x38]
mov ebx, 0x68dc9e98
sub ebx, 0x19e6a2f3
add dword [ebp - 0x10], 0x97507186
mov edx, dword [edi]
sub edx, ebx
xor dword [ebp - 0x18], 0xfce6c78f
mov dword [esi], edx
sub dword [ebp - 0x30], 0x2116552f
add esi, 4
add edi, 0x2c757e96
sub edi, 0x2c757e92
loop 0x4179d1
add eax, 0x13a921a0
sub eax, 0x13a82b39
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10014630
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10018b90
call fcn.1000d420
call fcn.100190f0
call fcn.100092f0
call fcn.10037800
mov ecx, eax
call fcn.10037430
call fcn.10037800
mov ecx, eax
call fcn.10037800
mov esi, dword [esi]
test esi, esi
je 0x10014675
mov ecx, esi
call fcn.10037800
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.10013770
call fcn.1002d0f0
pop esi
jmp fcn.1001f4d0

Function at 0x10016a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ef28
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1006b894]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x30], ebx
jne 0x10016ad9
movzx ecx, word [esi + 0x28]
mov eax, dword [esi + 4]
push ecx
lea edx, [esi + 0xc]
push edx
push eax
call fcn.1000d760
mov ecx, eax
call fcn.10037800
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x10016ad9
push str.Hyphenation_service_not_supported
push 0xffffff36
lea ecx, [ebp - 0x3c]
call fcn.10037800
push 0x1005d268
lea ecx, [ebp - 0x3c]
push ecx
call sub.MSVCR100.dll__CxxThrowException
call fcn.10037800
mov ecx, eax
call fcn.10037410
test al, al
je 0x10016b61
cmp byte [esi + 0x3d], bl
jne 0x10016b61
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x10046540
mov byte [ecx], bl
call fcn.10037800
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov dword [ebp - 4], ebx
mov byte [ecx], bl
call fcn.10037800
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ecx
mov edx, esp
mov dword [ebp - 0x48], esp
mov bl, 1
push edx
mov byte [ebp - 4], bl
call eax
mov byte [ebp - 4], 2
call fcn.10037800
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10037800
mov byte [esi + 0x3d], bl
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x40]
mov edx, dword [edx + 0xc]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c1ea
mov esp, ebp
pop ebp
ret 4
Function at 0x10022c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004081c
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1006b894]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x484], ebx
cmp byte [esi + 0x28], bl
je 0x10022de1
mov edx, dword [esi + 4]
push ebx
lea eax, [ebp - 0x480]
push eax
push 0x400
lea ecx, [ebp - 0x414]
push ecx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x480], ebx
call edi
cmp eax, ebx
jne 0x10022d19
call dword [sym.imp.kernel32.dll_GetLastError]
push str.MailSlotRead
push eax
lea ecx, [ebp - 0x47c]
call fcn.10037800
push 0x1005d268
lea eax, [ebp - 0x47c]
push eax
call sub.MSVCR100.dll__CxxThrowException
cmp dword [ebp - 0x480], ebx
jne 0x10022d2a
mov dword [ebp - 4], 0xffffffff
jmp 0x10022cc1
mov dword [ebp - 0x420], 0xf
mov dword [ebp - 0x424], ebx
mov byte [ebp - 0x434], bl
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 1
call fcn.10037800
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.10036db0
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x434]
push ecx
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call edx
cmp al, bl
je 0x10022d99
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x434]
push ecx
mov ecx, esi
call fcn.10037800
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.10035170
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 4
call sym.AdobeLinguistic.dll_public:_void___thiscall_devtech::RCPtr_struct_devtech::LM_UniString::StringValue_::destructor_void_
cmp dword [ebp - 0x420], 0x10
jb 0x10022dcf
mov edx, dword [ebp - 0x434]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x10022cc1
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003c1ea
mov esp, ebp
pop ebp
ret