joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498db0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x642b58]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x498e05
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00596351
mov eax, 0x642b54
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x642b58
call fcn.00596397
add esp, 4
cmp dword [0x642b58], 0xffffffff
jne 0x498dea
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.0059a740
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.00596296
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x642b98]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x498eb4
mov ecx, esi
push ebx
push 0x642b74
push edi
call fcn.00499010
mov dword [0x642b54], esi
push 0x642b58
call fcn.0059640d
add esp, 4
jmp 0x498dea
push 0x642b98
call fcn.00596397
add esp, 4
cmp dword [0x642b98], 0xffffffff
jne 0x498e8e
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x642b94], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x642b84], xmm1
movups xmmword [0x642b74], xmm0
push 0x642b98
call fcn.0059640d
add esp, 4
jmp 0x498e8e

Function at 0x498f30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x642b98]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x498fa4
movzx eax, word [0x642b74]
cmp eax, 0xc
ja case.0x498f70.1
xor esi, esi
jmp dword [eax*4 + 0x5ce284]
mov esi, 2
jmp case.0x498f70.0
mov esi, 4
jmp case.0x498f70.0
mov esi, 1
jmp case.0x498f70.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00596351
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x642b98
call fcn.00596397
add esp, 4
cmp dword [0x642b98], 0xffffffff
jne 0x498f62
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x642b94], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x642b84], xmm1
movups xmmword [0x642b74], xmm0
push 0x642b98
call fcn.0059640d
add esp, 4
jmp 0x498f62
Function at 0x49a640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
add eax, 1
cmp eax, 1
ja 0x49a66c
mov ecx, esi
call fcn.00484770
jmp 0x49a755
mov edi, ecx
cmp dword [ecx + 4], 1
je 0x49a76b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 2
push 0
push 0
push ecx
push eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x49a660
mov dword [ebp - 0x28], esp
push eax
sub esp, 0xc
mov ebx, esp
lea eax, [edi + 0x10]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 0x14]
mov dword [ebx], 0
test edi, edi
je 0x49a70c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
add ecx, 1
cmp ecx, 2
jb 0x49a6e9
mov dword [ebp - 0x18], eax
call fcn.004835e0
push dword [ebx]
call fcn.00498c60
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebx], 0
lea ecx, [edi + 1]
cmp ecx, 2
jb 0x49a6fc
mov dword [ebx], edi
mov edi, eax
call fcn.004835e0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov ecx, esi
push ebx
call fcn.0040894a
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [ebx]
add eax, 1
cmp eax, 2
jb 0x49a752
call fcn.004835e0
push dword [ebx]
call fcn.00498c60
add esp, 4
mov dword [ebx], 0
mov esp, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
Function at 0x49a770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
lea eax, [edi + 1]
cmp eax, 2
jae 0x49a794
xor ebx, ebx
jmp 0x49a850
mov esi, ecx
cmp dword [ecx + 4], 1
jne 0x49a864
mov dword [esi], 0
call fcn.004835e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.004835e0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 0
push 0
push 5
push ecx
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, eax
test eax, eax
je 0x49a839
mov eax, dword [ebp - 0x14]
cmp dword [esi], eax
je 0x49a832
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jb 0x49a813
mov dword [ebp - 0x18], eax
call fcn.004835e0
push dword [esi]
call fcn.00498c60
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [esi], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x49a82b
mov dword [esi], ecx
mov dword [ebp - 0x18], eax
call fcn.004835e0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 4], 0
test ebx, ebx
setne bl
test edi, edi
je 0x49a850
call fcn.004835e0
push edi
call fcn.00498c60
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3

Function at 0x49a870
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [esi + 4], 0
setne al
mov ebx, ecx
sar ebx, 0x1f
add eax, eax
add eax, 4
push dword [ebp + 0xc]
push ecx
push ebx
mov dword [ebp - 0x30], eax
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x49a8e7
call fcn.004e68d0
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp - 0x30]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x49a8e7
call fcn.004e68d0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
test edi, edi
je 0x49a91e
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [ebp - 0x20]
sub ecx, edi
add ecx, dword [ebp - 0x28]
test eax, eax
cmove ecx, eax
mov dword [esi], ecx
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor ebx, ebx
jmp 0x49a908
Function at 0x49ac70
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x58], eax
mov ebx, esp
push 0x59
push str..._.._base_system_sys_info_win.cc
push str.AmountOfFreeDiskSpace
push ebx
call fcn.004835b0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push ebx
call fcn.004d4910
cmp byte [edi + 0xb], 0
jns 0x49acb5
mov edi, dword [edi]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
cmp ecx, 0xffffffff
mov edi, edx
sbb edi, 0x7fffffff
mov esi, SysReAllocString
cmovb esi, edx
mov edi, 0xffffffff
cmovb edi, ecx
xor ebx, ebx
cmp eax, 1
sbb ebx, ebx
or edi, ebx
or ebx, esi
lea ecx, [esp + 0x10]
call fcn.004d4a30
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00596351
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x49b7a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x642bd0]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x49b924
jp 0x49b924
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x642be0]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x49b949
mov eax, dword [0x642bf0]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x49b982
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x642be8]
sbb ebx, dword [0x642bec]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x5c7ad0]
subpd xmm1, xmmword [0x5c7ae0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x5ce578]
ucomisd xmm2, xmm0
ja 0x49b924
mov eax, dword [esp + 8]
sub eax, dword [0x642bd8]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x642bdc]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x5c7ad0]
subpd xmm2, xmmword [0x5c7ae0]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x642bd0], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00596351
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x642be0
call fcn.00596397
add esp, 4
cmp dword [0x642be0], 0xffffffff
jne 0x49b812
rdtsc
mov dword [0x642bd8], eax
mov dword [0x642bdc], edx
push 0x642be0
call fcn.0059640d
add esp, 4
jmp 0x49b812
push 0x642bf0
call fcn.00596397
add esp, 4
cmp dword [0x642bf0], 0xffffffff
jne 0x49b833
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x642bec], ecx
mov dword [0x642be8], eax
push 0x642bf0
call fcn.0059640d
add esp, 4
jmp 0x49b833
Function at 0x49ce30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x49ced3
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.00596296
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.0049cd40
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.0049bc30
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x49cebd
mov ecx, edi
call fcn.0049bc80
push edi
call fcn.00596316
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x49ced0
push dword [esp + 8]
call fcn.00596316
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.00596351
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a1e50
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x4a1ebd
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4a1e90
cmp edx, 1
jne 0x4a1ec6
jmp 0x4a1ee2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x4a1ee2
cmp edx, 2
je 0x4a1ed9
cmp edx, 3
jne 0x4a1eed
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x4a2048
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x4a1f54
lea edx, [edi - 1]
and edx, ebx
jmp 0x4a1f60
mov edx, ebx
cmp ebx, edi
jb 0x4a1f60
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4a2048
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x4a2048
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x4a1fb6
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x4a2046
mov ebx, dword [ebx]
test ebx, ebx
je 0x4a2046
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x4a2010
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4a1fcb
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x4a1fac
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x4a2028
cmp dword [ebp - 0x10], 0
je 0x4a2042
cmp byte [esi], dl
jne 0x4a1fac
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x4a2042
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x4a1ff0
jmp 0x4a1fac
cmp dword [ebp - 0x28], 1
jbe 0x4a1fa0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4a1fa3
xor edx, edx
div ecx
mov eax, edx
jmp 0x4a1fa3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4a2042
push eax
push esi
push ecx
call fcn.00598d2d
add esp, 0xc
test eax, eax
jne 0x4a1fac
mov ecx, ebx
jmp 0x4a2048
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4aa900
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aa560
Function at 0x4aac10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aa910
Function at 0x4be1dd
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004855d0
mov dword [ebp - 0x34], eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp - 0x34]
push esi
push eax
push str..pipemojo._lu._lu._I64u
push edi
call fcn.0048b8d0
add esp, 0x18
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4be233
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.0048c140
add esp, 0xc
cmp byte [ebp - 0x1d], 0
jns 0x4be252
push dword [ebp - 0x28]
call fcn.00596316
add esp, 4
mov dword [ebp - 0x34], esp
push eax
mov edi, esp
cmp byte [ebp - 0x11], 0
jns 0x4be261
mov ebx, dword [ebp - 0x1c]
sub esp, 0x20
xor esi, esi
mov dword [esp + 0x1c], esi
movaps xmm0, xmmword [0x5d39f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0x1388
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.00408a9a
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.004be7a6
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push ebx
call fcn.004be780
mov ecx, ebx
call fcn.004be7ce
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x4be2df
push 0x48
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00504ae0
add esp, 0xc
mov ecx, ebx
call fcn.00504ab0
mov ecx, ebx
call fcn.00504ac0
mov dword [ebp - 0x34], esp
mov eax, dword [0x5d3a80]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [0x5d3a78]
movsd qword [ebp - 0x28], xmm0
push eax
mov edi, esp
cmp byte [ebp - 0x11], 0
jns 0x4be305
mov eax, dword [ebp - 0x1c]
jmp 0x4be308
lea eax, [ebp - 0x1c]
xor esi, esi
push esi
push 0x40100000
push 3
push ebx
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.00408a9a
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.004be7a6
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.004be780
mov ecx, ebx
call fcn.004be7ce
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x4be370
push 0x55
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00504ae0
add esp, 0xc
mov ecx, ebx
call fcn.00504ab0
mov ecx, ebx
call fcn.00504ac0
push 0
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x4be3d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x4be3b2
cmp byte [ebp - 0x11], 0
jns 0x4be3a0
push dword [ebp - 0x1c]
call fcn.00596316
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00504ae0
add esp, 0xc
mov ecx, ebx
call fcn.00504ab0
mov ecx, ebx
call fcn.00504ac0
jmp 0x4be38f
int3
Function at 0x4c13a1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4c13c3
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x4c14a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4c13fe
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004c14bd
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x4c14a4
call fcn.00484390
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x261
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.004844c0
lea eax, [ebp - 0xb4]
push 0x10
push str.CreateDirectory
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c1452
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048c5c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c1477
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4c1499
push dword [ebp - 0xc8]
call fcn.00596316
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00484570
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4c14bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4c14df
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c15ae
mov bl, 1
test al, 0x10
jne 0x4c1656
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x4c1654
lea ecx, [ebp - 0xbc]
push 2
push 0x24f
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00483ab0
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c1547
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048c5c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c156c
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4c159e
push dword [ebp - 0xc8]
call fcn.00596316
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00483e50
jmp 0x4c1654
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x4c1654
call fcn.00484390
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x24b
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.004844c0
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c1602
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.0048c5c0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c1627
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.00401baa
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4c1649
push dword [ebp - 0xc8]
call fcn.00596316
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00484570
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret