joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f2f60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x108], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xfc], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ecx + 8]
movzx eax, ax
mov ch, al
mov cl, ah
movzx eax, word [esp + 0x106]
mov word [esp + 0x104], cx
mov ch, al
mov cl, ah
lea eax, [esi + 0x10]
push eax
push 4
push dword [0x633f94]
bswap edx
mov dword [esp + 0x20], edx
mov word [esp + 0x112], cx
mov dword [esp + 0x24], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [esp + 0x14]
push esi
push dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [esp + 0x14], eax
mov dword [eax + 0xc], ebx
add eax, 0x10
push eax
call fcn.00581150
mov bl, byte [ebp + 0x18]
add esp, 0xc
cmp bl, 3
jne 0x4f308c
lea eax, [esi + 0x10]
mov dword [esp + 0x28], 0x67452301
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
mov edx, esi
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0056e000
lea ecx, [esp + 0x20]
call fcn.0056e0d0
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
jmp 0x4f312f
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0xc]
mov edx, esi
push eax
mov dword [esp + 0xa4], 0x67452301
mov dword [esp + 0xa8], 0xefcdab89
mov dword [esp + 0xac], 0x98badcfe
mov dword [esp + 0xb0], 0x10325476
mov dword [esp + 0xb4], 0xc3d2e1f0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call fcn.005705c0
lea edx, ds:[esp + 0x100]
lea ecx, [esp + 0x88]
call fcn.00570680
mov eax, dword [esp + 0x10c]
mov bl, 5
mov edi, dword [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xc], eax
push esi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edx, dword ds:[esp + 0x1c]
mov eax, dword [esp + 0xc]
shl bl, 4
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [edx]
bswap eax
mov dword [edx], eax
movzx eax, word [edx + 4]
mov ch, al
mov cl, ah
movzx eax, word [edx + 6]
mov word [edx + 4], cx
mov ch, al
mov cl, ah
mov word [edx + 6], cx
mov al, byte [edx + 8]
shr ecx, 8
and al, 0x3f
and cl, 0xf
or al, 0x80
or cl, bl
mov byte [edx + 8], al
pop edi
mov byte [edx + 7], cl
mov ecx, dword [esp + 0x110]
pop esi
pop ebx
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f40a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
test byte [0x630c48], 1
push ebx
push esi
jne 0x4f4125
mov esi, 0x630c48
lock bts dword [esi], 0x1f
setb al
test al, al
je 0x4f40d9
test byte [0x630c48], 1
jne 0x4f4125
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x4f4125
push 4
push 0x635bb0
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f40fb
mov dword [0x635bb0], 0x2e
push 4
push 0x635be4
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f411d
mov dword [0x635be4], 0x2c
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
mov eax, dword [ebp + 0xc]
mov ecx, 3
mov dword [esp + 0x10], eax
xor eax, eax
cmp byte [ebp + 0x10], al
push 0
cmovne eax, ecx
mov dword [esp + 0x18], 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x2c], 0x635bb0
push 0
push 0x400
mov dword [esp + 0x38], 0x635be4
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, eax
mov dword [esp + 0xc], 0
push 0
push 0
lea eax, [esp + 0x10]
lea ecx, [esi + esi]
push eax
mov dword [esp + 0x14], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, eax
lea eax, [esp + 0x10]
push esi
push dword [ebx + 4]
push eax
push dword [ebp + 8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x4f41d2
lea ecx, ds:[ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4f41c8
call fcn.004fbe40
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebx + 4]
call sym.SystemInformer.exe_PhCountStringZ
add eax, eax
mov dword [ebx], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f5ac0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 4], eax
mov ecx, dword [0x635bcc]
push esi
mov esi, dword [ebp + 8]
push edi
test ecx, ecx
je 0x4f5b03
mov eax, dword [0x635bc8]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 4
push 0x7ffe0030
call sym.SystemInformer.exe_PhCountStringZ
lea ecx, ds:[eax + eax]
movzx eax, word [ecx + 0x7ffe002e]
mov edx, ecx
mov edi, eax
cmp eax, 0x5c
jne 0x4f5b28
lea edx, [ecx - 2]
lea eax, [ecx - 2]
mov dword [esi], edx
cmp edi, 0x5c
mov dword [esi + 4], 0x7ffe0030
cmovne eax, ecx
xor ecx, ecx
mov dword [0x635bc8], eax
lea eax, [esp + 8]
lock or dword [eax], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
mov dword [0x635bcc], 0x7ffe0030
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 4
Function at 0x4f91c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 3
ja case.default.0x4f91ce
jmp dword [eax*4 + 0x4f9258]
push dword ds:[ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.0056e000
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.005705c0
pop edi
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
not ecx
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
je 0x4f922a
lea ecx, [ecx]
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6174c0]
sub edx, 1
jne 0x4f9210
not ecx
pop esi
mov dword [edi + 4], ecx
pop edi
pop ebp
ret 0xc
push dword ds:[ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.0056dda0
pop edi
pop ebp
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
lea ecx, [ecx]
aad 0x91
dec edi
add dl, ch
xchg ecx, eax
dec edi
add ch, bh
xchg ecx, eax
dec edi
add byte [0xcc004f92], dh
int3

Function at 0x4fa6e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x630be0], 1
push ebx
push esi
push edi
jne 0x4fa84d
mov edi, 0x630be0
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x4fa71b
mov al, 1
jmp 0x4fa72f
test byte [0x630be0], 1
jne 0x4fa72d
xor edx, edx
mov ecx, edi
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x4fa84d
call fcn.00530420
mov esi, eax
lea eax, [ebp - 0xa0]
push 1
push eax
mov bl, byte [esi + 1]
call dword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
movzx ecx, bl
lea eax, [ebp - 0x8c]
push 2
lea ecx, [ecx*4 + 0x4c]
push ecx
push eax
call dword [sym.imp.ntdll.dll_RtlCreateAcl]
push 0x5d4d1c
push 0xf000f
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push esi
push 0xf000f
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0x5d4d28
push 7
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0
lea eax, [ebp - 0x8c]
push eax
push 1
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
cmp dword [0x62dbb0], 0x64
mov dword ds:[ebp - 0xa8], 0x420040
sbb eax, eax
mov dword [ebp - 0xa4], str.BaseNamedObjectsSystemInformer
and eax, 0xfffff000
mov dword [ebp - 0xc0], 0x18
add eax, 0x1080
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
push eax
push 0x2000000
push 0x635bac
mov dword [ebp - 0xac], 0
call dword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
mov ecx, edi
call sym.SystemInformer.exe_PhfEndInitOnce
mov ecx, dword [ebp - 4]
mov eax, dword [0x635bac]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x4fa900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.0059f780
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x1000
mov dword [ebp - 0x101c], edx
push esi
push 4
push dword [0x633f94]
mov dword [ebp - 0x1018], ecx
mov dword [ebp - 0x1020], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ebx, ebx
mov edi, eax
push ebx
push ebx
push esi
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x1014], ebx
push eax
lea eax, [ebp - 0x1028]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1018]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ecx, eax
mov dword [ebp - 0x1010], ecx
test ecx, ecx
js 0x4faa37
lfence
jmp 0x4fa990
mov ebx, dword [ebp - 0x1024]
test ebx, ebx
je 0x4faa53
mov eax, dword [ebp - 0x1014]
lea ecx, [eax + ebx]
mov dword [ebp - 0x1010], ecx
cmp esi, ecx
jae 0x4fa9df
add esi, esi
push esi
test edi, edi
jne 0x4fa9c8
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4fa9d7
push edi
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov edi, eax
mov eax, dword [ebp - 0x1014]
push ebx
lea ecx, [ebp - 0x100c]
add eax, edi
push ecx
push eax
call fcn.00581150
add esp, 0xc
mov ebx, dword [ebp - 0x1010]
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x1014], ebx
push 0
push 0
push 0x1000
push eax
lea eax, [ebp - 0x1028]
push eax
push 0
push 0
push 0
push dword [ebp - 0x1018]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ecx, eax
mov dword [ebp - 0x1010], eax
test ecx, ecx
jns 0x4fa990
mov eax, ecx
mov edx, edi
mov dword [ebp - 0x1018], eax
cmp ecx, 0xc0000011
jne 0x4faa82
mov dword [ebp - 0x1010], 0
mov ebx, dword ds:[ebp - 0x1014]
lea eax, [ebx + 1]
cmp esi, eax
jae 0x4faae8
inc esi
lfence
push esi
test edi, edi
jne 0x4faad7
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
jmp 0x4faae6
mov dword [ebp - 0x1014], ebx
mov edi, edx
mov dword [ebp - 0x1010], eax
test eax, eax
jns 0x4faa53
push edx
push 0
lfence
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0x101c]
mov dword [eax], 0
mov eax, dword [ebp - 0x1020]
mov dword [eax], 0
mov eax, dword [ebp - 0x1018]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 4
push edi
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov edi, eax
mov eax, dword [ebp - 0x101c]
mov ecx, dword [ebp - 8]
mov byte [ebx + edi], 0
xor ecx, ebp
mov dword [eax], edi
mov eax, dword [ebp - 0x1020]
pop edi
pop esi
mov dword [eax], ebx
mov eax, dword [ebp - 0x1010]
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 4
Function at 0x4fac80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, 0x5a4d
push esi
push edi
mov edi, edx
cmp word [ecx], ax
jne 0x4fad3b
mov eax, dword ds:[ecx + 0x3c]
test eax, eax
je 0x4fad3b
cmp eax, 0x7fffffff
jae 0x4fad3b
cmp dword [eax + ecx], 0x4550
jne 0x4fad3b
lea edx, [ecx + 0x78]
add edx, eax
mov eax, dword [edx]
test eax, eax
je 0x4fad3b
cmp dword [edx + 4], 0
je 0x4fad3b
push 0
add eax, ecx
push str.DllGetClassObject
push eax
call fcn.005281c0
mov esi, eax
test esi, esi
je 0x4fad3b
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x5a51a0
push edi
call dword [0x5a28f0]
call esi
mov edi, eax
test edi, edi
js 0x4fad31
mov eax, dword [esp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax]
push 0
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov edi, eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0x8007007f
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4faf20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0x30
xor ecx, ecx
mov dword [esp + 0x10], str.AppXDeploymentClient.dll
call fcn.00527f40
mov esi, eax
test esi, esi
jne 0x4fafa4
push 0x800
push eax
push str.AppXDeploymentClient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4fafa4
push 0x200
push eax
push str.AppXDeploymentClient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4fafa4
cmp dword [0x62dbb0], 0x3e
jae 0x4faf97
push eax
push eax
push str.AppXDeploymentClient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4fafa4
mov eax, 0x8007007e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Windows.Management.Deployment.PackageManager
mov dword [esp + 0x18], 1
call sym.SystemInformer.exe_PhCountStringZ
mov dword [esp + 0x18], eax
mov eax, 0x5a4d
mov dword [esp + 0x24], str.Windows.Management.Deployment.PackageManager
cmp word [esi], ax
jne 0x4fb0bd
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4fb0bd
jmp 0x4fafe0
cmp eax, 0x7fffffff
jae 0x4fb0bd
cmp dword [eax + esi], 0x4550
jne 0x4fb0bd
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x4fb0bd
cmp dword [edx + 4], 0
je 0x4fb0bd
push 0
add eax, esi
mov ecx, esi
push str.DllGetActivationFactory
push eax
call fcn.005281c0
mov esi, eax
test esi, esi
je 0x4fb0bd
lea eax, ds:[esp + 0xc]
mov ecx, esi
push eax
lea eax, [esp + 0x18]
push eax
call dword [0x5a28f0]
call esi
mov edi, eax
test edi, edi
jne 0x4fb0c2
mov eax, dword ds:[esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov edi, eax
test edi, edi
jne 0x4fb09f
mov eax, dword [esp + 8]
push dword [ebp + 0xc]
push 0x61b418
mov esi, dword [eax]
push eax
mov esi, dword [esi]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov edi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, 0x8007007f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4fc1e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x62dbb0], 0xffffffff
mov ecx, dword [0x635c08]
push esi
push edi
jae 0x4fc20b
cmp ecx, 0x40
jae 0x4fc20b
lfence
mov eax, dword fs:[0x18]
mov esi, dword [eax + ecx*4 + 0xe10]
jmp 0x4fc214
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4fc223
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
cmp eax, 0x40
jae 0x4fc238
mov dword [esi + eax*4 + 4], edi
mov eax, edi
inc dword [esi]
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword ds:[esi + 0x10c]
test ecx, ecx
jne 0x4fc26e
push 0x100
push 4
push dword [0x633f94]
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x108]
cmp dword [esi + 0x104], eax
jne 0x4fc2b3
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4fc29c
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4fc2ab
push ecx
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
mov dword [ecx + eax*4], edi
mov eax, edi
inc dword [esi + 0x104]
pop edi
pop esi
pop ebp
ret 4

Function at 0x4fc5c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, dword [ebp + 0x1c]
push esi
mov edx, dword [ebp + 0x18]
lea esi, [ebp - 0x24]
push edi
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0xc], esi
lea esi, [ebp - 0x18]
push esi
push dword [ebp + 0x14]
mov dword [ebp - 0x24], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x18
push eax
push edx
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0
push eax
push 0x1fffff
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x14], 0x10003
mov dword [ebp - 0x10], 8
mov dword [ebp - 8], 0
call dword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov esi, eax
test esi, esi
js 0x4fc691
test ebx, ebx
je 0x4fc66f
mov ecx, dword [ebp - 0x1c]
mov dword [ebx], ecx
jmp 0x4fc67d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4fc67d
push eax
call dword [sym.imp.ntdll.dll_NtClose]
lea ecx, [ecx]
test edi, edi
je 0x4fc68f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 0x20

Function at 0x500a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor eax, eax
test edx, edx
jne 0x500a10
pop ebp
ret 8
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub edx, 1
jne 0x500a14
pop esi
pop ebp
ret 8
Function at 0x500a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
jne 0x500a56
pop edi
pop ebx
pop ebp
ret 8
mov edi, dword ds:[edi + 4]
push esi
mov esi, eax
shr esi, 1
cmp byte [ebp + 0xc], bl
je 0x500a96
test esi, esi
je 0x500a8d
lea esp, [esp]
movzx eax, word [edi]
lea edi, [edi + 2]
push eax
call dword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub esi, 1
jne 0x500a70
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8
push eax
push edi
call sym.SystemInformer.exe_PhHashBytes
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x5021a0
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x62dbb0], 0xffffffff
push ebx
push esi
push edi
jae 0x5022bf
mov esi, dword fs:[0x18]
mov eax, dword fs:[0x18]
mov ebx, dword [esi + 0x30]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
jne 0x50225c
jmp 0x5021f0
cmp dword [esi + 0xf94], 0
jne 0x50227f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, dword fs:[0x18]
push 0x2000
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0xf94], eax
test eax, eax
je 0x5022bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
je 0x5021f0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov dword [esi + edi*4 + 0xe10], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0
push 1
push dword [ebx + 0x150]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
cmp edi, 0xffffffff
je 0x5022bf
mov ecx, dword [esi + 0xf94]
lea eax, [edi + 0x40]
mov dword [ecx + edi*4], 0
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x5080a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test bl, 1
je 0x508159
test bl, 2
je 0x5080fb
push 0x20
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
test esi, esi
je 0x50820b
mov dword [esi], 0
jmp 0x50820b
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x18], 0x200
call sym.SystemInformer.exe_PhCreateString3
mov ebx, eax
mov ecx, dword [ebx]
shr ecx, 1
inc ecx
push ecx
push dword [ebx + 4]
push edi
call dword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
lea eax, [edi + edi]
mov dword [ebx], eax
test esi, esi
je 0x50813d
mov dword [esi], ebx
jmp 0x50820b
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50820b
call fcn.004fbe40
jmp 0x50820b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x5081ff
test bl, 2
jne 0x5081ff
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
lea ecx, [edi + edi]
push eax
mov dword [esp + 0x24], ecx
call sym.SystemInformer.exe_PhCreateString3
mov edi, eax
mov ecx, dword [edi]
shr ecx, 1
inc ecx
push ecx
push dword [edi + 4]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x5081cb
test esi, esi
je 0x5081bf
mov dword [esi], edi
mov edi, dword [esp + 0x14]
jmp 0x50820b
push edi
call sym.SystemInformer.exe_PhDereferenceObject
mov edi, dword [esp + 0x14]
jmp 0x50820b
test esi, esi
je 0x5081d6
call sym.SystemInformer.exe_PhReferenceEmptyString
mov dword [esi], eax
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x5081e9
call fcn.004fbe40
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 0xc
nop
test esi, esi
je 0x50820b
call sym.SystemInformer.exe_PhReferenceEmptyString
mov dword [esi], eax
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret 0xc