joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aa60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
test dl, dl
je 0x40ab93
mov ebx, 0x64
movzx eax, dl
push 9
cmp dl, bl
push 0
cmovbe ebx, eax
push ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x40ab9c
mov eax, 0x5a4d
mov dword [ebp - 0x18], 0x434a40
mov dword [ebp - 0x14], ebx
cmp word [ebx], ax
jne 0x40ab9c
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x40ab9c
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x40ab9c
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x40ab9c
xor esi, esi
xor edi, edi
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
movzx eax, word [ecx + ebx + 6]
cmp esi, eax
jae 0x40ab8c
movzx eax, word [ecx + ebx + 0x14]
lea esi, [ebx + 0x18]
add eax, edi
add esi, ecx
add esi, eax
je 0x40ab8c
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
sbb eax, eax
and eax, 0xfffffff8
mov eax, dword [eax + esi + 0x10]
test eax, eax
je 0x40ab80
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
imul ecx, eax
mov eax, 0x51eb851f
mul ecx
mov ecx, 1
mov eax, edx
shr eax, 5
cmp eax, 1
cmovb eax, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab80
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40ab50
xor edi, edi
jmp 0x40ab53
lea edi, [eax + ebx]
push edi
lea ecx, [ebp - 0x18]
call fcn.0040d770
cmp esi, eax
jne 0x40ab9c
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x18]
dec eax
add eax, edi
push eax
call fcn.0040d770
cmp esi, eax
jne 0x40ab9c
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.0040a820
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
inc esi
add edi, 0x28
jmp 0x40aae1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40abb0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427a7f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x438070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x439a4c], 0
jne 0x40ac1f
push 0x28
call fcn.0040faf3
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00406710
push 0
mov esi, eax
push esi
push 0x439a4c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x40ac1f
test esi, esi
je 0x40ac1f
push 0x28
push esi
call fcn.0040fd93
add esp, 8
mov eax, dword [0x439a4c]
cmp dword [eax], 1
jle 0x40ace2
push 0
push 0x8000000
push 3
push 0
push 7
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ac72
test esi, esi
je 0x40ac72
push 4
push 0x1000
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x40ac86
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10]
push 0
push eax
push 0x100000
push edi
push esi
call ebx
test eax, eax
je 0x40acb9
nop
cmp dword [ebp - 0x10], 0
jbe 0x40acb9
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100000
push edi
push esi
call ebx
test eax, eax
jne 0x40aca0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 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
push 9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x40ac72
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40ac72
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40ac72
mov ecx, 0xe0
cmp word [eax + esi + 0x14], cx
jne 0x40ac72
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40ac72
mov eax, dword [eax + esi + 0x50]
or edx, 0xffffffff
cmp eax, 0xffffffff
mov ecx, esi
cmovb edx, eax
call fcn.0040a820
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 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
Function at 0x40b070
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], 8
jb 0x40b086
mov eax, dword [esi]
jmp 0x40b088
mov eax, esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b0a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push eax
call fcn.0040fda1
push dword [ebp - 4]
mov edi, eax
push 0
push edi
call fcn.004129f0
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x40b0bf
mov esi, dword [esi]
push edi
push dword [ebp - 4]
push dword [ebp - 0xc]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40b10a
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
push eax
push 0x434890
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40b10a
mov edx, dword [ebp - 8]
test edx, edx
je 0x40b10a
movzx eax, word [edx + 0xa]
lea ecx, [eax + eax*4]
movzx eax, word [edx + 8]
lea eax, [eax + ecx*2]
movzx ecx, word [edx + 0xe]
imul ebx, eax, 0x64
add ebx, ecx
push edi
call fcn.0040f8b2
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bc50
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov edi, edi
push 0x22c
push 0
push edi
call fcn.004129f0
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x40bc88
mov byte [esi + 8], 1
call ebx
jmp 0x40bc8e
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x40bcaa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x40bc60
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x40bf60
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00410910
mov eax, dword [0x438070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
push 0
push eax
mov edi, ecx
call fcn.004129f0
add esp, 0xc
mov dword [ebp - 0x1008], 1
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x40c110
mov ecx, dword [ebp - 0x1008]
cmp ecx, 1
jne 0x40c053
cmp word [ebp - 0x804], ax
jne 0x40c010
xor ecx, ecx
lea eax, [ebp - 0x804]
push ecx
push eax
mov ecx, ebx
call fcn.00403fd7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c020
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403fd7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x40c10b
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x40c0f3
cmp eax, 0x400
ja 0x40c0f3
cmp word [ebp - 0x1004], 0
jne 0x40c0b6
xor ecx, ecx
lea eax, [ebp - 0x1004]
push ecx
push eax
mov ecx, ebx
call fcn.00403fd7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c0c0
sub ecx, edx
lea eax, [ebp - 0x1004]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403fd7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 0xea
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 8
Function at 0x40c130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c140
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8

Function at 0x40c7d0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push 0x434b18
mov edi, ecx
call esi
push str.crypt32.dll
mov dword [edi + 4], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x40c86e
push str.CryptCATAdminCalcHashFromFileHandle
push eax
call esi
push str.CryptCATAdminAcquireContext
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.CryptCATCatalogInfoFromContext
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.CryptCATAdminReleaseContext
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.WTHelperProvDataFromStateData
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.WTHelperGetProvSignerFromChain
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.WinVerifyTrust
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40c880
push str.CertNameToStrW
push eax
call esi
mov dword [edi + 0x30], eax
pop edi
pop esi
ret
Function at 0x40d540
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x438070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40d669
test ecx, ecx
je 0x40d669
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d669
push 0x8000
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 0
call fcn.0040fda1
add esp, 4
mov dword [ebp - 0x64], 0
mov esi, eax
push 0
lea eax, [ebp - 0x64]
push eax
push 0x8000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40d641
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40d613
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x6c], eax
call fcn.0040def0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x64]
push 5
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40d5d1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x60]
mov ecx, edi
call fcn.0040e010
mov ecx, 0x4346b0
mov edx, 0xc
mov edi, edi
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x40d665
add edi, 4
add ecx, 4
sub edx, 4
jae 0x40d630
xor bl, bl
test esi, esi
je 0x40d652
push 1
push esi
call fcn.0040fd93
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x40d643
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret

Function at 0x40d770
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x3c]
xor esi, esi
add ebx, ecx
mov dword [ebp - 4], ecx
xor edi, edi
movzx ecx, word [ebx + 6]
cmp esi, ecx
jae 0x40d7c9
movzx eax, word [ebx + 0x14]
lea edx, [ebx + 0x18]
add eax, edi
add edx, eax
je 0x40d7c9
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x40d7b8
mov ecx, dword [edx + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x40d7be
inc esi
add edi, 0x28
jmp 0x40d786
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d7e0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40d7f0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40d7ed
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x40d7ed
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x40d3d8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408a8b
mov dword [ebp - 0x14], eax
cmp dword [0x42f804], esi
jne 0x40d4cb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d5ab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d5ab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d5ab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42f804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42f808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42f80c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f814], eax
test eax, eax
je 0x40d4c8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f810], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d4e3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d505
push 4
pop eax
jmp 0x40d5ad
cmp dword [ebp - 0x14], esi
je 0x40d505
push dword [0x42f804]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d4ea
mov eax, dword [0x42f810]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d563
cmp dword [0x42f814], edi
je 0x40d563
push eax
call ebx
push dword [0x42f814]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d563
test eax, eax
je 0x40d563
call ecx
test eax, eax
je 0x40d558
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d558
test byte [ebp - 8], 1
jne 0x40d563
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d593
mov eax, dword [0x42f808]
cmp eax, edi
je 0x40d590
push eax
call ebx
test eax, eax
je 0x40d590
call eax
mov esi, eax
test esi, esi
je 0x40d590
mov eax, dword [0x42f80c]
cmp eax, edi
je 0x40d590
push eax
call ebx
test eax, eax
je 0x40d590
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42f804]
call ebx
test eax, eax
je 0x40d5ab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d5ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f8b
mov esp, ebp
pop ebp
ret
Function at 0x1000db20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d6e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp dword [eax + 0x16], 0
je 0x1000dc4f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
mov eax, edi
setne cl
cmp byte [ebp + 0xc], 0
je 0x1000db90
test cl, cl
je 0x1000db90
push dword [edi + 0x26]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
mov eax, dword [esi + 4]
push dword [eax + 0x12]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
mov edi, eax
test edi, edi
jne 0x1000dbd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000dbd0
mov eax, dword [esi + 4]
push dword [eax + 0x16]
push 1
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, 0x34
cmp eax, 1
cmovne edi, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x16]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
mov eax, dword [esi + 4]
push dword [eax + 0x16]
je 0x1000dc14
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, 0x34
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
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 8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov ecx, dword [esi + 4]
add esp, 4
cmp edx, dword [ecx + 0x1e]
jl 0x1000dc32
jg 0x1000dc2c
cmp eax, dword [ecx + 0x1a]
jbe 0x1000dc32
mov dword [ecx + 0x1a], eax
mov dword [ecx + 0x1e], edx
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
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 8
mov eax, 0x32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10010020
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
cwde
test eax, eax
je 0x10010052
mov ecx, dword [esi]
and al, 3
pop esi
cmp al, 2
jne 0x10010049
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033360
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033590
mov eax, 0x30
pop esi
pop ebp
ret
Function at 0x10025320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1002532f
pop dword [ebp - 4]
mov eax, 0xa33a5a2f
add eax, 0x6cc7f900
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x69cb57f3
add dword [ebp - 0x14], 0xe486ed58
mov dword [ebp - 0x10], 0x2f0516b5
sub dword [ebp - 0x10], 0xfcd1ca70
mov dword [ebp - 0xc], 0x4742d40
sub dword [ebp - 0xc], 0xb827e912
mov dword [ebp - 8], 0xebfb5879
add dword [ebp - 8], 0x1404a787
lea eax, [ebp - 0x14]
push eax
mov eax, 0x2f3baafe
add eax, 0xe0ca851a
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x1a68d776
sub dword [ebp - 0x14], 0xa5f66e20
mov dword [ebp - 0x10], 0x1d188872
sub dword [ebp - 0x10], 0xdbac26fd
mov dword [ebp - 0xc], 0xd84b75ad
add dword [ebp - 0xc], 0x8b23f6bf
mov dword [ebp - 8], 0xeb278bda
sub dword [ebp - 8], 0xeb278bda
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xa5d836a0
sub eax, 0x95d20680
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x51a51
push 0
call eax
mov ecx, 0xf917ef55
add ecx, 0x6e84ed2
xor ebx, ebx
add ebx, eax
mov esi, 0x9be44327
sub esi, 0x8bdabd27
add esi, dword [ebp - 4]
mov edi, 0xb415ee9d
add edi, 0x890226cc
mov edx, dword [esi]
xor edx, edi
mov dword [ebx], edx
add ebx, 4
add esi, 4
loop 0x10025453
add eax, 0xeb6f
xor ebx, ebx
add ebx, eax
add eax, 0x1d8fb3fa
sub eax, 0x1d8fb3f5
mov ecx, 0xecbce734
add ecx, 0x234318cc
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10035360
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x1008ab18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call sym.ScCore.dll_public:_bool___thiscall_ScCore::String::decodeURI_void_
mov ebx, eax
test ebx, ebx
je 0x100354cc
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x100353ac
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x100353a8
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x100353ac
mov edi, eax
jmp 0x10035390
push 0x100
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100354c4
push 0x80
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100354c4
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
jne 0x100354c4
test edi, edi
je 0x100354c4
push esi
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test esi, esi
mov dword [ebp - 0x188], eax
pop esi
je 0x100354c4
cmp eax, edi
je 0x100354c4
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x10035471
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push dword [ebp - 0x188]
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 2
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret