joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496c10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x496c32
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x496c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x496c80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00496d40
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x496c92
xor ebx, ebx
jmp 0x496c69
call fcn.0055ada0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x266
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0055aee0
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.0053f210
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x496cd6
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x496cd9
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004d9ad0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x496d00
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x496d03
and eax, 0x7f
push eax
push ebx
push edi
call fcn.0053f210
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x496d25
push dword [ebp - 0xc4]
call fcn.0050d52e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055af40
jmp 0x496c8e
Function at 0x496d40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x496d62
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x496d8b
mov bl, 1
test al, 0x10
je 0x496ddd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x496deb
call fcn.0055ada0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x251
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0055aee0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0053f210
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x496e2d
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x496e30
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x496def
xor ebx, ebx
jmp 0x496d74
lea ecx, [ebp - 0xb8]
push 2
push 0x255
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00458830
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0053f210
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x496e57
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x496e5a
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004d9ad0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x496e81
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x496e84
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004d9ad0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x496eb6
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x496eb9
and eax, 0x7f
push eax
push ebx
push edi
call fcn.0053f210
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x496ea6
push dword [ebp - 0xc4]
call fcn.0050d52e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055af40
jmp 0x496deb
and eax, 0x7f
push eax
push ebx
push edi
call fcn.0053f210
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.0053f210
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x496eeb
push dword [ebp - 0xc4]
call fcn.0050d52e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00458c70
jmp 0x496deb
Function at 0x498100
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00496f80
mov eax, dword [esi]
test eax, eax
je 0x498153
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x49815a
lea ecx, [ebp - 0x14]
call fcn.00497960
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x498135
cmp dword [ebx + 0x50], 0
je 0x498165
add ebx, 0x58
jmp 0x498131
cmp byte [ebx + 0x1b], 0
jns 0x498170
mov eax, dword [ebx + 0x10]
jmp 0x498173
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x498160
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x4981a4
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.00498dc0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x498160
mov ecx, dword [ebp + 8]
push ebx
call fcn.00498c20
jmp 0x498160

Function at 0x4981b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00496f80
mov eax, dword [esi]
test eax, eax
je 0x498203
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x49820a
lea ecx, [ebp - 0x14]
call fcn.00497960
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x4981e5
cmp dword [ebx + 0x50], 2
jne 0x49824d
cmp byte [ebx + 0x1b], 0
jns 0x49821b
mov eax, dword [ebx + 0x10]
jmp 0x49821e
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x49824d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x498252
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.00498dc0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
add ebx, 0x58
jmp 0x4981e1
mov ecx, dword [ebp + 8]
push ebx
call fcn.00498c20
jmp 0x49824d
Function at 0x49e460
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x49e477
test eax, eax
je 0x49e477
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x49e485
mov ecx, dword [0x608cf4]
test ecx, ecx
jne 0x49e4c1
cmp dword [0x608cec], 0
je 0x49e471
mov esi, dword [0x608cf0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x49e4cb
test esi, esi
je 0x49e471
mov ecx, dword [0x608cec]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x49e471
call dword [section..00cfg]
call ecx
jmp 0x49e485
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x49e4a9

Function at 0x4a20e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x608d10]
mov ecx, dword [0x5f7664]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a210b
mov ecx, 0x608d08
pop ebp
jmp fcn.004613d0
push 0x608d10
call fcn.0050d5a7
add esp, 4
cmp dword [0x608d10], 0xffffffff
jne 0x4a2100
xor eax, eax
mov dword [0x608d0c], eax
mov dword [0x608d08], eax
mov ecx, 0x608d08
push eax
call fcn.00461470
push 0x608d10
call fcn.0050d61d
add esp, 4
jmp 0x4a2100
Function at 0x4a8130
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ecx + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4a829c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edi
mov edi, dword [edi + 0x18]
test edi, edi
je 0x4a8267
imul eax, dword [ebp + 8], 0x5bd1e995
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 ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x14]
and ecx, 0xf0f0f0f
imul ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x4a8292
mov edx, ebx
cmp ebx, edi
jb 0x4a81e4
mov eax, ebx
xor edx, edx
div edi
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4a8267
mov esi, dword [eax]
test esi, esi
je 0x4a8267
lea eax, [edi - 1]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a820d
mov eax, dword [ebp + 8]
cmp dword [esi + 8], eax
je 0x4a8232
jmp 0x4a822a
cmp ecx, 1
mov dword [ebp - 0x24], edx
jbe 0x4a82b3
cmp eax, edi
jb 0x4a8223
xor edx, edx
div edi
mov eax, edx
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x4a8267
mov esi, dword [esi]
test esi, esi
jne 0x4a81fc
jmp 0x4a8267
lea edi, [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
push esi
push edi
call fcn.0049ddc0
mov esi, dword [edi]
mov dword [edi], 0
test esi, esi
je 0x4a8267
cmp byte [ebp - 0x14], 0
je 0x4a825e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a825e
lock dec dword [eax + 4]
je 0x4a82a8
push esi
call fcn.0050d52e
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
setne bl
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edx, [edi - 1]
and edx, ebx
jmp 0x4a81e4
mov ecx, esi
call fcn.004dfa10
jmp 0x4a8157
push eax
call fcn.004da540
add esp, 4
jmp 0x4a825e
and eax, dword [ebp - 0x28]
jmp 0x4a8223
Function at 0x4a8920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x4a8950
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x4a8a50
push 0
push eax
push 0x4a8900
push 0x608d7c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4a8a4b
cmp dword [0x608d80], 0
jne 0x4a893c
push dword [0x608d84]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a893c
mov esi, eax
mov eax, 0x608d88
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x608d8c]
mov ebx, dword [0x608d90]
mov eax, dword [0x608d94]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x608d98]
mov dword [ebp - 0x20], eax
mov eax, dword [0x608d9c]
mov dword [ebp - 0x24], eax
mov eax, 0x608d88
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4a89e4
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x4a89f9
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4a8a0f
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x4a8a28
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x4a8a3d
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.004f3a80
add esp, 4
jmp 0x4a893c
call fcn.00522670
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x608d84], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x608d80], ecx
pop ebp
ret
Function at 0x4a8a70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x4a8a50
push 0
push eax
push 0x4a8900
push 0x608d7c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4a8b43
mov esi, dword [ebp + 0xc]
cmp dword [0x608d80], 0
jne 0x4a8b51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x608d84]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x4a8b06
push 0x14
call fcn.004f3a50
add esp, 4
test eax, eax
je 0x4a8b51
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x608d84]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4a8b48
mov ebx, dword [ebp + 8]
mov esi, 0x608d88
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x608d8c], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00522670
push edi
call fcn.004f3a80
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x4a8b2f
Function at 0x4b35b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x5f3024]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, SysReAllocString
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0xc]
mov dword [edx], 0xffffffff
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4b3608
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x4b360d
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x4b35f6
int3

Function at 0x4b3610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov esi, SysReAllocString
cmp eax, esi
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push edx
mov edi, ebx
push ebx
call ecx
test eax, eax
je 0x4b3688
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4b3675
cmp ebx, 0xffffffff
je 0x4b369a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x4b369d
mov ebx, dword [ebp - 0x14]
jmp 0x4b3661
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x4b3661
int3
mov edx, dword [ebp + 0xc]
jmp 0x4b3637

Function at 0x4b3ac0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov esi, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.004b39d0
add esp, 0x10
or edx, eax
jne 0x4b3af7
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x4b3b0d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x4b3b1f
xor ebx, ebx
jmp 0x4b3af7
call fcn.0055ada0
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.0055aee0
lea eax, [ebp - 0xac]
push 0xc
push 0x5e79aa
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, esi
call fcn.0055af40
jmp 0x4b3b1b
Function at 0x4b47d0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4b48cd
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x10], 7
jb 0x4b48f8
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
shr cl, 3
and cl, 1
mov dword [ebp - 0x10], ecx
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x4b4906
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x18], al
mov eax, SysReAllocString
xor ecx, ecx
cpuid
cmp eax, reloc.OLEAUT32.dll_SysStringLen
jle 0x4b490a
mov eax, VariantCopy
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x19], dh
test dh, dh
je 0x4b490f
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x4b481a
xor eax, eax
jmp 0x4b489e
mov dh, byte [esi + 0x19]
jmp 0x4b48ec
cmp byte [esi + 0x1a], 0
je 0x4b48f0
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x4b48f0
cmp ecx, 0x666f736f
jne 0x4b48f0
cmp edx, 0x76482074
jne 0x4b48f0
mov byte [esi + 0x19], 1
jmp 0x4b48f0

Function at 0x4b5a20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x608ec0]
mov ecx, dword [0x5f7664]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4b5a8a
mov ecx, 0x608eb8
call fcn.004613d0
test eax, eax
jne 0x4b5a7d
push 4
call fcn.0050d4fe
add esp, 4
mov edi, eax
mov dword [eax], 0
mov ecx, 0x608eb8
call fcn.004613d0
mov esi, eax
mov ecx, 0x608eb8
push edi
call fcn.004da9d0
test esi, esi
jne 0x4b5acd
mov ecx, 0x608eb8
pop esi
pop edi
pop ebp
jmp fcn.004613d0
push 0x608ec0
call fcn.0050d5a7
add esp, 4
cmp dword [0x608ec0], 0xffffffff
jne 0x4b5a42
xor eax, eax
mov dword [0x608ebc], eax
mov dword [0x608eb8], eax
mov ecx, 0x608eb8
push 0x42c670
call fcn.00461470
push 0x608ec0
call fcn.0050d61d
add esp, 4
jmp 0x4b5a42
push esi
call fcn.0050d52e
add esp, 4
jmp 0x4b5a7d
Function at 0x4ba120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x80], eax
cmp byte [ecx + 0xb], 0
js 0x4ba16d
je 0x4ba1ed
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x2c], 0x44
jmp 0x4ba199
cmp dword [ecx + 4], 0
je 0x4ba1ed
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x2c], 0x44
mov ecx, dword [ecx]
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x4ba1ed
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
sub esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call esi
sub esp, 4
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0050db32
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x4ba240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x4ba2b0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x4ba27c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050db32
add esp, 8
pop esi
pop ebp
ret
lea esi, [ebp - 0xc]
push 0x1b
push str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
push esi
call fcn.0056dd80
add esp, 0xc
mov ecx, esi
push 0x5dee22
call fcn.00566110
mov ecx, esi
call fcn.0056ddb0
jmp 0x4ba26c
Function at 0x4c96f0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x4c9707
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4c970a
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x4c9746
nop word cs:[eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4c9720
cmp edx, 1
je 0x4c9767
cmp edx, 2
je 0x4c975e
cmp edx, 3
jne 0x4c9772
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4c9c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jb 0x4c9d5e
movdqa xmm4, xmmword [0x5d67a0]
movdqa xmm5, xmmword [0x5d67b0]
nop word cs:[eax + eax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm1, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x4c9ce0
movdqa xmm4, xmmword [0x5d67c0]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x5d67d0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x4c9de2
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x4c9dbb
movdqa xmm1, xmmword [0x5d67d0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm2, xmm2
pxor xmm1, xmm1
pblendw xmm1, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm1, xmmword [0x5d67e0], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x5d67f0], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x5d6800], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret