joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b990
Capabilities:
Enumerate pe sections
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [ecx + 8]
movzx eax, ax
mov ch, al
mov cl, ah
movzx eax, word [esp + 0x22]
mov word [esp + 0x20], cx
mov ch, al
mov cl, ah
lea eax, [esi + 0x10]
push eax
push 4
push dword [0x54b674]
bswap edx
mov dword [esp + 0x24], edx
mov word [esp + 0x2e], cx
mov dword [esp + 0x20], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [esp + 0x18]
push esi
push dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [esp + 0x18], eax
mov dword [eax + 0xc], ebx
add eax, 0x10
push eax
call fcn.004dd620
mov bl, byte [ebp + 0x18]
add esp, 0xc
cmp bl, 3
jne 0x49ba8f
lea eax, [esi + 0x10]
mov dword [esp + 0x38], 0x67452301
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
mov edx, esi
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.004d3390
lea ecx, [esp + 0x30]
call fcn.004d3470
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
jmp 0x49bb06
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edx, esi
push eax
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
mov dword [esp + 0x5c], 0xc3d2e1f0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.004d4dc0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x30]
call fcn.004d4e70
mov eax, dword [esp + 0x28]
mov bl, 5
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shl bl, 4
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x18]
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 ax, cx
mov word [edx + 6], ax
shr eax, 8
and al, 0xf
or al, bl
mov byte [edx + 7], al
mov al, byte [edx + 8]
pop edi
and al, 0x3f
or al, 0x80
pop esi
mov byte [edx + 8], al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x49c920
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
test byte [0x547bb4], 1
push esi
push edi
jne 0x49c9e7
mov edi, 0x547bb4
lock bts dword [edi], 0x1f
jae 0x49c95f
test byte [0x547bb4], 1
jne 0x49c9e7
xor edx, edx
mov ecx, edi
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x49c9e7
push 4
push 0x54ae64
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x49c981
mov dword [0x54ae64], 0x2e
push 4
push 0x54ae80
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x49c9a3
mov dword [0x54ae80], 0x2c
lock bts dword [edi], 0
jb 0x49c9e7
mov esi, dword [0x547bb8]
test esi, esi
je 0x49c9bd
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
lock xadd dword [edi], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x49c9e7
test esi, esi
je 0x49c9e7
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x547bb8], 0
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], 0x54ae64
push 0
push 0x400
mov dword [esp + 0x38], 0x54ae80
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push dword [0x54b7b4]
mov edi, eax
lea esi, [edi + edi]
lea ecx, [esi + 0xa]
push ecx
call sym.ProcessHacker.exe_PhCreateObject
push edi
xor edx, edx
mov dword [esp + 0x10], eax
lea ecx, [eax + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov word [ecx + esi], dx
push dword [eax + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x49ca9b
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x49ca91
call fcn.004a2a20
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0xc]
push dword [esi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
add eax, eax
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49cba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push 0x22
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x49cc3c
lea eax, [ebp - 4]
mov dword [ebp - 0x1c], 0x10
push eax
push 3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 1
push eax
push ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x49cc35
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x49cc35
mov ebx, dword [ebp - 8]
push esi
mov esi, dword [ebp - 0xc]
push edi
push ebx
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
mov edi, eax
push esi
push edi
call fcn.004dd620
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49db90
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [0x54ae78]
sub esp, 8
test edx, edx
je 0x49dbb6
mov ecx, dword [ebp + 8]
mov eax, dword [0x54ae74]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esp, ebp
pop ebp
ret 4
push 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
cmp word [eax + eax + 0x7ffe002e], 0x5c
lea ecx, [eax + eax]
jne 0x49dbd1
add ecx, 0xfffffffe
mov eax, dword [ebp + 8]
mov dword [0x54ae74], ecx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], 0x7ffe0030
lea eax, [esp + 4]
lock or dword [eax], ecx
mov dword [0x54ae78], 0x7ffe0030
mov esp, ebp
pop ebp
ret 4

Function at 0x49dca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x49dcba
push eax
call sym.ProcessHacker.exe_PhCountStringZ
mov ebx, eax
add ebx, ebx
jmp 0x49dcbc
xor ebx, ebx
push dword [0x54b7b4]
lea esi, [ebx + 0x208]
lea eax, [esi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
xor eax, eax
lea ecx, [edi + 8]
mov dword [edi + 4], ecx
mov dword [edi], esi
mov word [ecx + esi], ax
push dword [edi + 4]
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x49dd2c
push dword [edi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
mov edx, eax
mov eax, dword [ebp + 0xc]
add edx, edx
mov dword [edi], edx
test eax, eax
je 0x49dd21
lea ecx, [ebx + 2]
shr edx, 1
push ecx
push eax
mov eax, dword [edi + 4]
lea eax, [eax + edx*2]
push eax
call fcn.004dd620
add esp, 0xc
add dword [edi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x49dd3f
call fcn.004a2a20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49dd50
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
test eax, eax
js 0x49df05
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x49dd9c
movzx eax, word [edx]
mov word [esp + 0x20], ax
add eax, 2
cmp dword [edx], 0xfffe
mov word [esp + 0x22], ax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
ja 0x49ddc2
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x49ddd0
movzx eax, word [esi]
mov word [esp + 0x28], ax
add eax, 2
cmp dword [esi], 0xfffe
mov word [esp + 0x2a], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
jbe 0x49ddd0
mov eax, 0xc0000106
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x49dde3
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
test edi, edi
jne 0x49dde9
jmp 0x49dde5
xor eax, eax
lea edi, [esp + 0x18]
test eax, eax
jne 0x49ddfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
add eax, 0x78
test ecx, ecx
je 0x49de19
mov esi, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
jmp 0x49de21
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], ecx
push ebx
push ecx
push eax
push edi
push dword [ebp + 0x10]
test edx, edx
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x34]
cmove eax, ecx
xor ecx, ecx
push eax
test esi, esi
lea eax, [esp + 0x40]
cmove eax, ecx
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ntdll.dll_RtlCreateProcessParameters]
mov ebx, dword [ebp + 0x1c]
mov esi, eax
test esi, esi
js 0x49de94
lea eax, [esp + 0x30]
push eax
push 0
push 0
mov al, bl
and al, 1
movzx eax, al
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x2c]
push 0
push 0
push dword [esp + 0x2c]
push 0x40
push eax
call dword [sym.imp.ntdll.dll_RtlCreateUserProcess]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlDestroyProcessParameters]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test esi, esi
js 0x49df03
test bl, 4
jne 0x49deb4
push 0
push dword [esp + 0x3c]
call dword [sym.imp.ntdll.dll_NtResumeThread]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x49dec8
mov eax, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x49ded7
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
jmp 0x49dee1
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x49def9
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push dword [esp + 0x38]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x49ede0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
push 0x38
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x3c
push 0
push eax
call fcn.004dce30
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x49ee98
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x49ee3f
push eax
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x49ee45
push eax
call sym.ProcessHacker.exe_PhGetWin32Message
mov esi, eax
test esi, esi
jne 0x49ee68
push str.Unable_to_execute_the_program.
push 0x532664
push 0x10
push edi
call sym.ProcessHacker.exe_PhShowMessage
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [esi + 4]
push 0x52304c
push str.Unable_to_execute_the_program.
push 0xfffe
push 0x20
push edi
call sym.ProcessHacker.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x49ee98
call fcn.004a2a20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49f210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x38
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x3c
push 0
push eax
call fcn.004dce30
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x24], 5
push eax
mov dword [ebp - 0x3c], 0x40c
mov dword [ebp - 0x34], str.properties
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x49f2c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x49f270
push eax
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x49f276
push eax
call sym.ProcessHacker.exe_PhGetWin32Message
mov esi, eax
test esi, esi
jne 0x49f299
push str.Unable_to_execute_the_program.
push 0x532664
push 0x10
push edi
call sym.ProcessHacker.exe_PhShowMessage
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [esi + 4]
push 0x52304c
push str.Unable_to_execute_the_program.
push 0xfffe
push 0x20
push edi
call sym.ProcessHacker.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x49f2c9
call fcn.004a2a20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0690
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp ecx, 3
ja case.default.0x4a06a4
jmp dword [ecx*4 + 0x4a0770]
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
mov dword [eax + 4], 0
mov dword [eax + 8], 0
pop ebp
ret 8
mov dword [eax + 0x1c], 0x67452301
mov dword [eax + 0x20], 0xefcdab89
mov dword [eax + 0x24], 0x98badcfe
mov dword [eax + 0x28], 0x10325476
mov dword [eax + 0x2c], 0xc3d2e1f0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
pop ebp
ret 8
mov dword [eax + 4], 0
pop ebp
ret 8
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0xa54ff53a
mov dword [eax + 0x1c], 0x510e527f
mov dword [eax + 0x20], 0x9b05688c
mov dword [eax + 0x24], 0x1f83d9ab
mov dword [eax + 0x28], 0x5be0cd19
pop ebp
ret 8
push 0xc00000f0
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov edi, edi
stosd dword es:[edi], eax
push es
dec edx
add cl, bl
push es
dec edx
add byte [esi], cl
pop es
dec edx
add byte [ecx], bl
pop es
dec edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 3
ja case.default.0x4a078e
jmp dword [eax*4 + 0x4a0814]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d3390
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d4dc0
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 0x4a07ea
jmp 0x4a07d0
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x533f00]
sub edx, 1
jne 0x4a07d0
not ecx
pop esi
mov dword [edi + 4], ecx
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d32e0
pop edi
pop ebp
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop
xchg ebp, eax
pop es
dec edx
add byte [eax - 0x44ffb5f9], ch
pop es
dec edx
add ch, dh
pop es
dec edx
add ah, cl
int3
Function at 0x4a0780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp ecx, 3
ja case.default.0x4a06a4
jmp dword [ecx*4 + 0x4a0770]
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
mov dword [eax + 4], 0
mov dword [eax + 8], 0
pop ebp
ret 8
mov dword [eax + 0x1c], 0x67452301
mov dword [eax + 0x20], 0xefcdab89
mov dword [eax + 0x24], 0x98badcfe
mov dword [eax + 0x28], 0x10325476
mov dword [eax + 0x2c], 0xc3d2e1f0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
pop ebp
ret 8
mov dword [eax + 4], 0
pop ebp
ret 8
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0xa54ff53a
mov dword [eax + 0x1c], 0x510e527f
mov dword [eax + 0x20], 0x9b05688c
mov dword [eax + 0x24], 0x1f83d9ab
mov dword [eax + 0x28], 0x5be0cd19
pop ebp
ret 8
push 0xc00000f0
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov edi, edi
stosd dword es:[edi], eax
push es
dec edx
add cl, bl
push es
dec edx
add byte [esi], cl
pop es
dec edx
add byte [ecx], bl
pop es
dec edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 3
ja case.default.0x4a078e
jmp dword [eax*4 + 0x4a0814]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d3390
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d4dc0
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 0x4a07ea
jmp 0x4a07d0
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x533f00]
sub edx, 1
jne 0x4a07d0
not ecx
pop esi
mov dword [edi + 4], ecx
pop edi
pop ebp
ret 0xc
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.004d32e0
pop edi
pop ebp
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop
xchg ebp, eax
pop es
dec edx
add byte [eax - 0x44ffb5f9], ch
pop es
dec edx
add ch, dh
pop es
dec edx
add ah, cl
int3
Function at 0x4a1540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.Process_HackerCache
call sym.ProcessHacker.exe_PhCountStringZ
push dword [0x54b7b4]
mov ebx, eax
add ebx, ebx
lea esi, [ebx + 0x208]
lea ecx, [esi + 0xa]
push ecx
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
xor eax, eax
lea ecx, [edi + 8]
mov dword [edi + 4], ecx
mov dword [edi], esi
mov word [ecx + esi], ax
push dword [edi + 4]
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or esi, 0xffffffff
test eax, eax
js 0x4a15b9
push dword [edi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
add eax, eax
lea ecx, [ebx + 2]
push ecx
mov ecx, dword [edi + 4]
mov dword [edi], eax
shr eax, 1
push str.Process_HackerCache
lea eax, [ecx + eax*2]
push eax
call fcn.004dd620
add esp, 0xc
add dword [edi], ebx
jmp 0x4a15cd
lea ecx, [edi - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a15cb
call fcn.004a2a20
xor edi, edi
push edi
call sym.ProcessHacker.exe_PhDeleteDirectory
lea ecx, [edi - 8]
lock xadd dword [ecx + 4], esi
dec esi
pop edi
pop esi
pop ebx
jne 0x4a15e6
call fcn.004a2a20
mov esp, ebp
pop ebp
ret
Function at 0x4a15f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push esi
push edi
push str.Process_HackerCache
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call sym.ProcessHacker.exe_PhCountStringZ
push dword [0x54b7b4]
add eax, eax
mov dword [ebp - 8], eax
lea esi, [eax + 0x208]
lea ecx, [esi + 0xa]
push ecx
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
xor eax, eax
lea ecx, [edi + 8]
mov dword [edi + 4], ecx
mov dword [edi], esi
mov word [ecx + esi], ax
push dword [edi + 4]
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or ebx, 0xffffffff
test eax, eax
js 0x4a1690
push dword [edi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
mov esi, dword [ebp - 8]
add eax, eax
mov dword [edi], eax
shr eax, 1
lea ecx, [esi + 2]
push ecx
mov ecx, dword [edi + 4]
push str.Process_HackerCache
lea eax, [ecx + eax*2]
push eax
call fcn.004dd620
add esp, 0xc
add dword [edi], esi
jmp 0x4a16a4
lea ecx, [edi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a16a2
call fcn.004a2a20
xor edi, edi
xor esi, esi
lea ebx, [esi + 0x1a]
lea esp, [esp]
push 0x54ae8c
call dword [sym.imp.ntdll.dll_RtlRandomEx]
xor edx, edx
div ebx
add edx, 0x41
mov word [ebp + esi*2 - 0x30], dx
inc esi
cmp esi, 0xf
jb 0x4a16b0
xor eax, eax
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a16df
mov ecx, dword [eax + 4]
jmp 0x4a16e4
mov ecx, 0x5077f0
test edi, edi
je 0x4a16ed
mov eax, dword [edi + 4]
jmp 0x4a16f2
mov eax, 0x5077f0
push ecx
push 0x507e1c
lea ecx, [ebp - 0x30]
push ecx
push 0x507e1c
push eax
push 5
call sym.ProcessHacker.exe_PhConcatStrings
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4a1718
mov eax, dword [eax + 4]
jmp 0x4a171a
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
call sym.ProcessHacker.exe_PhGetFullPath
mov esi, eax
mov ebx, 0xffffffff
test esi, esi
je 0x4a1799
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4a1799
push dword [0x54b7b4]
mov ecx, dword [esi + 4]
add eax, eax
mov dword [ebp - 8], eax
add eax, 0xa
push eax
mov dword [ebp - 0xc], ecx
call sym.ProcessHacker.exe_PhCreateObject
mov edx, dword [ebp - 8]
mov dword [ebp - 4], eax
lea ecx, [eax + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
mov word [ecx + edx], ax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
test ecx, ecx
je 0x4a177e
push edx
push ecx
push dword [eax + 4]
call fcn.004dd620
mov eax, dword [ebp - 4]
add esp, 0xc
push eax
call sym.ProcessHacker.exe_PhCreateDirectory
mov ecx, dword [ebp - 4]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a1799
call fcn.004a2a20
mov ecx, dword [ebp - 0x10]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a17ae
call fcn.004a2a20
lea ecx, [edi - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x4a17be
call fcn.004a2a20
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4