joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9f40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push 0x800
push 0
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9fa9
push 0x200
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9fa9
cmp dword [0x62fbb0], 0x3e
jae 0x4ca030
push eax
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4ca030
cmp byte [0x6359c5], 0
je 0x4c9fe3
cmp dword [0x62fbb0], 0x3e
jb 0x4c9fe3
push 0
mov edx, str.SubscribeServiceChangeNotifications
mov ecx, esi
call fcn.005290e0
push 0
mov edx, str.UnsubscribeServiceChangeNotifications
mov dword [0x637294], eax
mov ecx, esi
call fcn.005290e0
mov dword [0x6376a4], eax
jmp 0x4ca030
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4ca029
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ca029
cmp eax, 0x7fffffff
jae 0x4ca029
cmp dword [eax + esi], 0x4550
jne 0x4ca029
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x4ca029
cmp dword [edx + 4], 0
je 0x4ca029
push 0
add eax, esi
mov ecx, esi
push str.NotifyServiceStatusChangeW
push eax
call fcn.00529280
jmp 0x4ca02b
xor eax, eax
mov dword [0x637298], eax
mov byte [0x6363fc], 1
mov eax, 1
mov ecx, 0x637290
xchg dword [ecx], eax
cmp dword [0x637298], 0
je 0x4ca058
push 0
push 0x4c98c0
call sym.SystemInformer.exe_PhCreateThread2
cmp dword [0x637294], 0
nop
je 0x4ca0bd
xor ecx, ecx
mov edi, 0x637e6c
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4ca09e
push 5
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edx, eax
test edx, edx
je 0x4ca09e
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4ca097
mov esi, edx
jmp 0x4ca09e
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 8]
push eax
push 0
push 0x4c9ed0
push 0
push esi
mov esi, dword [0x637294]
mov ecx, esi
call dword [0x5a48f4]
call esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x4cb760
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, dword [0x6376ac]
jne 0x4cb7a2
mov ecx, edi
call fcn.004ccb60
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp ecx, dword [0x6376b4]
jne 0x4cb8aa
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
push ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4cb897
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov esi, eax
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6359c7], 0
je 0x4cb82d
mov ecx, dword [0x6389b0]
sub ecx, 1
jne 0x4cb852
push 0x2b2b2b
jmp 0x4cb832
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0xcc0020
push 0
push 0
push esi
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword ds:[ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6376c0]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
je 0x4cb8cf
mov ecx, dword [ecx + 8]
jmp 0x4cb8c0
mov esi, dword [ecx]
cmp ebx, dword [esi + 0x5c]
je 0x4cb8e2
inc eax
add ecx, 4
cmp eax, edx
jb 0x4cb8c0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.004ccd40
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x4ccb60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
push dword [edi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4ccd10
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword ds:[ebp - 8]
mov esi, eax
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6359c7], 0
je 0x4ccc3c
mov ecx, dword [0x6389b0]
sub ecx, 0
je 0x4ccc1d
sub ecx, 1
jne 0x4ccc66
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x62fbb8]
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4ccc56
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4ccc56
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [0x6363fd], 0
jne 0x4ccc78
cmp byte [0x6363ff], 0
je 0x4cccad
cmp byte [0x6363fe], 0
nop
je 0x4ccd21
mov ebx, dword [0x637bbc]
test ebx, ebx
je 0x4cccaa
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push eax
push 2
push 1
push esi
push dword [0x63775c]
call dword [0x5a48f4]
call ebx
mov ebx, dword [ebp - 0x18]
push dword [0x6376d4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x25
lea eax, [ebp - 0x14]
push eax
push 4
push str.Back
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xcc0020
push 0
push 0
push esi
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x4cccad
Function at 0x4cd760
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x637728], 0
push ebx
push esi
push edi
je 0x4cd82e
mov eax, dword [0x6376c0]
xor ecx, ecx
xor esi, esi
mov dword [0x637728], ecx
mov dword [0x637764], ecx
cmp dword [eax], ecx
jbe 0x4cd7f8
lea esp, [esp]
mov eax, dword [eax + 8]
push 0
push ecx
push 3
mov ebx, dword [eax + esi*4]
push ebx
mov edi, dword [ebx + 0xc]
mov ecx, edi
call dword [0x5a48f4]
call edi
mov edi, dword [ebx + 0x20]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 3
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4cd7e6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x6376c0]
inc esi
cmp esi, dword [eax]
jae 0x4cd7f8
mov ecx, dword [0x637728]
jmp 0x4cd790
push 0
push dword [0x637730]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x6376ac]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x6376b4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
jmp fcn.004cd180
pop edi
pop esi
pop ebx
ret
Function at 0x4d18a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
push 4
push dword [0x636044]
mov dword [ebp - 8], 0x100
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
xor esi, esi
cmp edi, 0xc0000004
jne 0x4d1934
jmp 0x4d18f0
cmp esi, 8
jae 0x4d1951
push ebx
push 0
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 8]
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
inc esi
cmp edi, 0xc0000004
je 0x4d18f0
test edi, edi
js 0x4d1951
mov eax, edi
mov dword [0x637844], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
push ebx
push 0
lfence
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret

Function at 0x4d1d40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x62fbb0], 0x64
push ebx
push esi
mov ebx, ecx
jb 0x4d1e33
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d1e33
push edi
add esi, 4
mov byte [ebp - 0x11], 0
push esi
push 4
push dword [0x636044]
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.005826f0
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push 0
push dword [ebp - 8]
push edi
push 4
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov edi, edi
test eax, eax
js 0x4d1e10
mov edx, dword [edi]
lea ecx, [edi + 0x20]
add edx, edi
mov eax, edi
cmp ecx, edx
ja 0x4d1e10
movzx ecx, byte [eax + 0xe]
cmp ecx, ebx
je 0x4d1e08
add eax, dword [eax]
mov edx, dword [eax]
lea ecx, [eax + 0x20]
add edx, eax
cmp ecx, edx
jbe 0x4d1df1
jmp 0x4d1e10
mov al, byte [eax + 0x13]
and al, 1
mov byte [ebp - 0x11], al
push edi
push 0
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, byte [ebp - 0x11]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov ecx, dword ds:[ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x4e42f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
mov edi, dword [ebx + 0x84]
cmp dword [edi], esi
jbe 0x4e432d
movzx eax, dl
lea ecx, [eax*4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov edx, dword [eax + esi*4]
inc esi
xor ecx, dword [edx]
and ecx, 4
xor dword [edx], ecx
mov edi, dword [ebx + 0x84]
mov ecx, dword [ebp - 4]
cmp esi, dword [edi]
jb 0x4e4312
push 0
push 0
push 0x404
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f3540
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x62f040]
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 [0x636044]
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.00582850
mov bl, byte [ebp + 0x18]
add esp, 0xc
cmp bl, 3
jne 0x4f366c
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.0056f200
lea ecx, [esp + 0x20]
call fcn.0056f2d0
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 0x4f370f
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.005717c0
lea edx, ds:[esp + 0x100]
lea ecx, [esp + 0x88]
call fcn.00571880
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 [0x636044]
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.0058078f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f4680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
test byte [0x632be4], 1
push ebx
push esi
jne 0x4f4705
mov esi, 0x632be4
lock bts dword [esi], 0x1f
setb al
test al, al
je 0x4f46b9
test byte [0x632be4], 1
jne 0x4f4705
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x4f4705
push 4
push 0x637af4
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f46db
mov dword [0x637af4], 0x2e
push 4
push 0x637b28
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f46fd
mov dword [0x637b28], 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], 0x637af4
push 0
push 0x400
mov dword [esp + 0x38], 0x637b28
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 0x4f47b2
lea ecx, ds:[ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4f47a8
call fcn.004fc420
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 0x4f60a0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 4], eax
mov ecx, dword [0x637b10]
push esi
mov esi, dword [ebp + 8]
push edi
test ecx, ecx
je 0x4f60e3
mov eax, dword [0x637b0c]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0058078f
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 0x4f6108
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 [0x637b0c], eax
lea eax, [esp + 8]
lock or dword [eax], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
mov dword [0x637b10], 0x7ffe0030
call fcn.0058078f
mov esp, ebp
pop ebp
ret 4
Function at 0x4f97a0
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.0x4f97ae
jmp dword [eax*4 + 0x4f9838]
push dword ds:[ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.0056f200
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.005717c0
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 0x4f980a
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 + 0x619710]
sub edx, 1
jne 0x4f97f0
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.0056efa0
pop edi
pop ebp
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
lea ecx, [ecx]
mov ch, 0x97
dec edi
add dl, cl
xchg edi, eax
dec edi
add ch, bl
xchg edi, eax
dec edi
add byte [0xcc004f98], dl
int3

Function at 0x4facc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x632b7c], 1
push ebx
push esi
push edi
jne 0x4fae2d
mov edi, 0x632b7c
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x4facfb
mov al, 1
jmp 0x4fad0f
test byte [0x632b7c], 1
jne 0x4fad0d
xor edx, edx
mov ecx, edi
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x4fae2d
call fcn.00531500
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 0x5d6fd4
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 0x5d6fe0
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 [0x62fbb0], 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 0x637af0
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 [0x637af0]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x4faee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.005a0c70
mov eax, dword [0x62f040]
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 [0x636044]
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 0x4fb017
lfence
jmp 0x4faf70
mov ebx, dword [ebp - 0x1024]
test ebx, ebx
je 0x4fb033
mov eax, dword [ebp - 0x1014]
lea ecx, [eax + ebx]
mov dword [ebp - 0x1010], ecx
cmp esi, ecx
jae 0x4fafbf
add esi, esi
push esi
test edi, edi
jne 0x4fafa8
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4fafb7
push edi
push 4
push dword [0x636044]
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.00582850
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 0x4faf70
mov eax, ecx
mov edx, edi
mov dword [ebp - 0x1018], eax
cmp ecx, 0xc0000011
jne 0x4fb062
mov dword [ebp - 0x1010], 0
mov ebx, dword ds:[ebp - 0x1014]
lea eax, [ebx + 1]
cmp esi, eax
jae 0x4fb0c8
inc esi
lfence
push esi
test edi, edi
jne 0x4fb0b7
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
jmp 0x4fb0c6
mov dword [ebp - 0x1014], ebx
mov edi, edx
mov dword [ebp - 0x1010], eax
test eax, eax
jns 0x4fb033
push edx
push 0
lfence
push dword [0x636044]
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.0058078f
mov esp, ebp
pop ebp
ret 4
push edi
push 4
push dword [0x636044]
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.0058078f
mov esp, ebp
pop ebp
ret 4