joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f773e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
pop ebp
jmp 0x4f774f
test edx, edx
jle 0x4f77b5
push ebp
mov ebp, esp
push edi
push esi
movdqa xmm0, xmmword [0x5c1b40]
movdqa xmm1, xmmword [0x5d5ed0]
xor eax, eax
mov esi, edx
mov edi, dword [ecx]
add ecx, 4
movd xmm2, edi
shr edi, 0x1f
pshufd xmm2, xmm2, 0
add eax, edi
pxor xmm2, xmm0
pcmpgtd xmm2, xmm1
movdqa xmm3, xmm2
psrld xmm3, 0x1f
pshufd xmm3, xmm3, 0x4e
psubd xmm3, xmm2
pshufd xmm2, xmm3, 0xe5
paddd xmm2, xmm3
movd edi, xmm2
add esi, edi
dec edx
jne 0x4f776c
lea eax, [eax + eax*4]
mov edx, esi
pop esi
pop edi
pop ebp
jmp 0x4f77b7
xor eax, eax
add eax, edx
ret

Function at 0x4ffe10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x63a1e8]
mov ebx, ecx
lea esi, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
push edx
push ecx
push esi
call fcn.0048a430
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4ffe3f
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
mov edi, eax
js 0x4ffecd
test edi, edi
je 0x4ffee0
cmp dword [ebp + 8], 0
mov dword [ebp - 0x20], ebx
mov bl, 1
je 0x4fff44
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.005909e3
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push ebx
call fcn.0048a430
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4ffe9b
mov ebx, dword [ebp - 0x1c]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x4ffeb5
push dword [ebp - 0x1c]
call fcn.005909b6
add esp, 4
cmp word [esi], 0
mov bl, 1
je 0x4ffee4
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x4ffec0
jmp 0x4ffee6
push dword [ebp - 0x1c]
call fcn.005909b6
add esp, 4
test edi, edi
jne 0x4ffe5a
xor ebx, ebx
jmp 0x4fff44
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push esi
push ecx
call fcn.0048a840
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x4fff06
mov byte [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x4fff2c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x4fff2c
push dword [ecx]
call fcn.005909b6
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push esi
call fcn.005909ec
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x500310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, dword [0x63a1e8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, SysReAllocString
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0xc]
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x500353
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
jne 0x500356
int3
xor esi, esi
dec esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005909f1
mov eax, esi
add esp, 8
pop esi
pop ebp
ret

Function at 0x500368
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [0x63a1e8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, SysReAllocString
xor ecx, ebp
cmp eax, esi
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5003ce
mov eax, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x5003e0
push edi
mov ebx, eax
call eax
cmp eax, 3
jne 0x5003f9
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, ebx
jne 0x5003a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x5003e5
cmp ebx, 0xffffffff
je 0x5003fe
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
jmp 0x5003e5
int3

Function at 0x500995
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xb0
mov eax, dword [0x63a1e8]
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
push ebx
push ebx
push esi
call fcn.005008aa
add esp, 0x10
or edx, eax
jne 0x500a18
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x500a18
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x500a16
call fcn.00482ea0
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0xf4
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.00482fd0
lea eax, [ebp - 0xb0]
push 0xc
push 0x5d6586
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483090
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0xb0
pop esi
pop ebx
pop ebp
ret
Function at 0x501822
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x63a1e8]
mov bl, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, ebp
test bl, bl
mov dword [ebp - 0x10], eax
je 0x50186e
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x50186e
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
push 0
call fcn.005018ab
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
movzx eax, bl
shl eax, 0x13
or eax, 3
cmp byte [esi + 0xb], 0
jns 0x50187f
mov esi, dword [esi]
mov ecx, 0x200
push edi
push 0
push ecx
push ecx
push 2
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor ecx, ebp
call fcn.005909f1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x501ac0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xb0
mov eax, dword [0x63a1e8]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x501b75
and eax, 0xfeff
cmp eax, 6
je 0x501b75
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63e78c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x501b94
push 0x10000000
push 0
push esi
call dword [0x63e788]
mov bl, 1
test eax, eax
jne 0x501b7e
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x501b71
call fcn.00482ea0
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.00482fd0
lea eax, [ebp - 0xb0]
push 0x1b
push 0x5d69ad
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483090
xor ebx, ebx
jmp 0x501b7e
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0xb0
pop esi
pop ebx
pop ebp
ret
push 0x63e78c
call fcn.00590a37
add esp, 4
cmp dword [0x63e78c], 0xffffffff
jne 0x501b16
push 1
push str.::InitializeCriticalSectionEx
push 0x5bfe20
call fcn.00502100
add esp, 0xc
mov dword [0x63e788], eax
push 0x63e78c
call fcn.00590aad
add esp, 4
jmp 0x501b16

Function at 0x501bdc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
sete al
pop ebp
ret
Function at 0x511900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ecx + 4]
jmp 0x511916
mov esi, dword [esi + 0x8c]
test esi, esi
je 0x51194b
xor edi, edi
xchg dword [esi], edi
test edi, edi
je 0x511910
nop word cs:[eax + eax]
nop dword [eax]
bsf ecx, edi
mov ebx, 1
mov eax, dword [esi + ecx*4 + 8]
shl ebx, cl
push eax
call dword [eax + 4]
add esp, 4
xor edi, ebx
jne 0x511930
jmp 0x511910
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x51ae10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63ebf8]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x51ae3b
mov ecx, 0x63ebf0
pop ebp
jmp fcn.0048ca50
push 0x63ebf8
call fcn.00590a37
add esp, 4
cmp dword [0x63ebf8], 0xffffffff
jne 0x51ae30
mov dword [0x63ebf4], 0
mov dword [0x63ebf0], 0
mov ecx, 0x63ebf0
push 0
call fcn.0048cac0
push 0x63ebf8
call fcn.00590aad
add esp, 4
jmp 0x51ae30

Function at 0x528ba0
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, ecx
add ecx, 0xc
mov dword [ebp - 0x14], ecx
call fcn.00494c80
mov esi, dword [edi + 0x14]
test esi, esi
je 0x528ca7
imul eax, dword [ebp + 8], 0x5bd1e995
mov edx, esi
mov dword [ebp - 0x10], edi
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e995
xor eax, 0x6f47a654
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
mov eax, esi
shr eax, 1
and eax, 0x55555555
sub edx, eax
mov eax, edx
shr edx, 2
and eax, 0x33333333
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul edi, eax, 0x1010101
shr edi, 0x18
cmp edi, 1
jbe 0x528c3e
cmp ecx, esi
mov ebx, ecx
mov edx, esi
jb 0x528c45
mov esi, edx
mov eax, ecx
xor edx, edx
div esi
mov ebx, edx
jmp 0x528c43
lea ebx, [esi - 1]
and ebx, ecx
mov edx, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x528ca7
mov esi, dword [eax]
test esi, esi
je 0x528ca7
lea eax, [edx - 1]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
jmp 0x528c7e
mov eax, dword [ebp + 8]
cmp dword [esi + 8], eax
je 0x528cba
mov esi, dword [esi]
test esi, esi
je 0x528ca7
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x528c70
cmp edi, 1
jbe 0x528ca0
cmp eax, edx
jb 0x528ca3
mov edi, edx
xor edx, edx
div edi
mov eax, edx
mov edx, edi
mov edi, dword [ebp - 0x18]
jmp 0x528ca3
and eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x528c78
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, dword [0x63ee9c]
cmp esi, 1
ja 0x528d25
push 0x63ee9c
call fcn.00481d40
add esp, 4
test al, al
je 0x528d1f
mov esi, 0x63eea0
mov dword [0x63eea4], 0
mov dword [0x63eea0], 0
mov ecx, 0x63eea0
push 0
call fcn.0048cac0
push 0x63ee9c
push 0
push 0x63eea0
push 0x63ee9c
call fcn.00481df0
add esp, 0x10
jmp 0x528d25
mov esi, dword [0x63ee9c]
mov ecx, esi
call fcn.0048ca50
mov edx, dword [ebp + 0xc]
mov edi, eax
mov ecx, esi
mov ebx, edx
push edx
call fcn.0048ca80
mov eax, dword [ebx + 0x14]
push dword [ebp + 8]
push eax
call dword [eax + 4]
add esp, 8
mov ecx, esi
push edi
call fcn.0048ca80
jmp 0x528cb0
Function at 0x52e6bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
call fcn.0052e460
test al, al
je 0x52e6e0
push 0x32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edi, [esi + 0x20]
mov ecx, edi
push 0
call fcn.0052e742
mov eax, dword [esi + 0x30]
test eax, eax
je 0x52e6ff
mov dword [esi + 0x34], eax
push eax
call fcn.005909b6
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], 0
test eax, eax
je 0x52e716
push eax
call fcn.00496d10
add esp, 4
mov ecx, edi
push 0
call fcn.0052e742
lea ecx, [esi + 0x18]
call fcn.00408ad0
lea ecx, [esi + 0x14]
call fcn.00408ad0
lea ecx, [esi + 0x10]
call fcn.00408ad0
mov ecx, esi
pop esi
pop edi
pop ebp
jmp fcn.0052e370
Function at 0x52eb1a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x63a1e8]
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
lea edi, [esi + 0x18]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
push ebx
push eax
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00408a4a
mov ecx, esi
mov esi, dword [esi + 0x18]
lea eax, [esi + 1]
cmp eax, 1
ja 0x52eb89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x19
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ecx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push 7
push ecx
push dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x52ecb1
xor eax, eax
push eax
push eax
push eax
push 6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, dword [ebp + 0x18]
test eax, eax
je 0x52ecc4
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x52ec0f
test ecx, ecx
je 0x52ec0f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
lea edi, [edx + eax]
push ecx
push ebx
push edi
call fcn.00594260
add esp, 0xc
mov eax, 0xffffff00
mov ecx, dword [edi + eax + 0x100]
test ecx, ecx
je 0x52ec0a
sub ecx, ebx
mov dword [edi + eax + 0x100], ecx
add eax, 4
jne 0x52ebf6
mov eax, dword [ebp - 0x14]
mov dword [0x63e448], eax
sub esp, 0xc
mov edi, dword [ebp - 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x63e448
mov ecx, edi
call fcn.0052eab6
test eax, eax
mov dword [0x63e448], 0
jne 0x52eca2
mov eax, dword [ebp + 0x10]
mov dword [0x63ecac], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0x63ecac
call fcn.0052eab6
test eax, eax
mov dword [0x63ecac], 0
jne 0x52eca2
mov eax, dword [ebp + 0x14]
mov dword [0x63ecb0], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0x63ecb0
call fcn.0052eab6
test eax, eax
mov dword [0x63ecb0], 0
je 0x52ecd6
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x52eb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1a
jmp 0x52eb71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ebx, 0x1b
jmp 0x52eb73
mov esi, dword [ebp + 8]
lea eax, [edi + 0x20]
mov dword [ebp - 0x1c], eax
push 0x20
call fcn.00590936
add esp, 4
mov ebx, eax
mov ecx, eax
push esi
push dword [edi + 0x24]
push dword [edi + 8]
push dword [edi]
call fcn.0055ddd0
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.0052e742
mov ecx, dword [edi + 0x20]
push 0x400
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call fcn.0055de62
mov ebx, 4
test al, al
je 0x52eb73
mov ecx, edi
call fcn.0052e600
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x52eb73
Function at 0x535a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
mov ecx, dword [0x63a1e8]
mov eax, dword [ebp + 0xc]
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 8], ecx
jne 0x535aee
mov dword [ebp - 0x14], 0x535b10
lea eax, [ebp - 0x14]
push 0
push eax
push 0x535a10
push 0x63ed20
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x535b00
cmp dword [0x63ed24], 0
jne 0x535aee
push dword [0x63ed28]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x535aee
mov esi, eax
push 0x63ed2c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x63ed38]
movsd xmm0, qword [0x63ed30]
mov dword [ebp - 0xc], eax
movsd qword [ebp - 0x14], xmm0
push 0x63ed2c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x535ac7
push dword [esi]
call eax
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x535ad6
push dword [esi + 4]
call eax
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x535ae5
push dword [esi + 8]
call eax
add esp, 4
push esi
call fcn.004f8290
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005909f1
add esp, 0x10
pop esi
pop ebp
ret 0xc
call fcn.005a471a
int3
Function at 0x544788
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005604c0

Function at 0x550068
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [0x63a1e8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x5500e0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
je 0x5500a4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005909f1
add esp, 8
pop esi
pop ebp
ret
lea esi, [ebp - 0xc]
push 0x1b
push str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
push esi
call fcn.004fff90
add esp, 0xc
mov ecx, esi
call fcn.004fff60
push 0xc
push 0x5cd838
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.004fff70
jmp 0x550094

Function at 0x5516c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [0x63e310]
mov edx, dword fs:[0x2c]
mov eax, dword [0x63ee58]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x551735
mov ecx, 0x63ee50
call fcn.0048ca50
test eax, eax
jne 0x551728
mov edi, esp
push 4
call fcn.00590936
add esp, 4
mov ecx, 0x63ee50
mov esi, eax
mov dword [eax], 0
call fcn.0048ca50
test eax, eax
je 0x55171b
push eax
call fcn.005909b6
add esp, 4
mov ecx, 0x63ee50
push esi
call fcn.0048ca80
mov esp, edi
mov ecx, 0x63ee50
pop esi
pop edi
pop ebp
jmp fcn.0048ca50
push 0x63ee58
call fcn.00590a37
add esp, 4
cmp dword [0x63ee58], 0xffffffff
jne 0x5516e2
mov dword [0x63ee54], 0
mov dword [0x63ee50], 0
mov ecx, 0x63ee50
push 0x407000
call fcn.0048cac0
push 0x63ee58
call fcn.00590aad
add esp, 4
jmp 0x5516e2

Function at 0x556720
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x556756
mov edx, dword [ebp + 0xc]
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [edx]
movzx esi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x5dd614]
dec ecx
jne 0x556740
pop esi
pop edi
pop ebp
ret
Function at 0x55ad36
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [0x63a1e8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, 5
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
jne 0x55adce
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
cmp byte [edi + 0xb], 0
jns 0x55ad7a
mov edi, dword [edi]
mov ebx, dword [ebx]
push 0
push esi
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x55adbb
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
lea ecx, [ebp - 0x14]
push 3
push edi
push edi
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
lea eax, [ebp - 0x14]
sbb edi, edi
or edi, dword [eax]
jmp 0x55adbe
xor edi, edi
dec edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55b0e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [ebp + 8]
mov eax, dword [0x63a1e8]
mov edi, 5
add ecx, 0xfffffffb
xor eax, ebp
cmp ecx, 1
mov dword [ebp - 0x10], eax
ja 0x55b22f
mov eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x54], 0x44
cmp byte [eax + 0xb], 0
jns 0x55b152
mov eax, dword [eax]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.005a6c22
add esp, 4
movzx edx, byte [esi + 0xb]
test dl, dl
jns 0x55b16b
mov edx, dword [esi + 4]
mov esi, dword [esi]
test edx, edx
mov ecx, dword [ebp + 0xc]
cmove esi, edx
cmp byte [ebx + 0xb], 0
jns 0x55b17b
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
push edx
push ecx
push esi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0x58], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x55b21f
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov ebx, 0x101c01
cmp eax, 6
mov eax, 0x1fffff
cmove ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push ebx
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [esi + 4]
test eax, eax
je 0x55b218
mov eax, esi
mov esi, 0x100c43
mov ecx, 0x1fffff
add eax, 4
cmp dword [ebp + 8], 6
mov edi, eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
push edi
push dword [ebp - 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x55b21f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x55b22f
push eax
call fcn.00496d10
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55e89a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x38], 0
je 0x55e9ac
mov esi, ecx
lea edx, [ecx + 0x30]
lea eax, [ebp - 0x58]
lea edi, [ebp - 0x5c]
mov ecx, edi
push eax
push 2
call fcn.0055e9d3
add esp, 8
mov edx, dword [edi]
test edx, edx
je 0x55e9b3
cmp dword [edx], 0
mov dword [ebp - 0x64], esi
je 0x55e998
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
add eax, 0x18
mov dword [ebp - 0x6c], eax
xor eax, eax
test dword [edx + eax*8 + 8], 0xc0000020
mov dword [ebp - 0x60], eax
jne 0x55e98c
cmp dword [ebp + 8], 0
je 0x55e950
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x55e950
xor ebx, ebx
xor edi, edi
mov eax, dword [ebp - 0x60]
add ecx, ebx
mov esi, dword [edx + eax*8 + 4]
call fcn.0048ac30
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov edx, dword [ebp - 0x68]
test eax, eax
jne 0x55e98c
mov eax, dword [ebp + 8]
inc edi
add ebx, 0x44
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xf0f0f0f1
cmp edi, eax
jb 0x55e918
mov eax, dword [ebp - 0x60]
lea ebx, [ebp - 0x54]
mov ecx, ebx
push dword [edx + eax*8 + 4]
call fcn.004a1ba4
mov esi, dword [ebp - 0x64]
mov edi, dword [esi + 0x1c]
cmp edi, dword [esi + 0x20]
jae 0x55e980
push 0x44
push ebx
push edi
call fcn.00594260
add esp, 0xc
add edi, 0x44
mov dword [esi + 0x1c], edi
jmp 0x55e989
mov ecx, dword [ebp - 0x6c]
push ebx
call fcn.0052df60
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
inc eax
cmp eax, dword [edx]
jb 0x55e8f3
mov dword [ebp - 0x5c], 0
push edx
call fcn.005909ec
add esp, 4
xor esi, esi
jmp 0x55e9bd
mov esi, 0x3f0
jmp 0x55e9bd
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 4