joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c537a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c52620
mov eax, dword [esi]
test eax, eax
je 0x1c537f3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c537fa
lea ecx, [ebp - 0x14]
call fcn.01c53000
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c537d5
cmp dword [ebx + 0x50], 0
je 0x1c53805
add ebx, 0x58
jmp 0x1c537d1
cmp byte [ebx + 0x1b], 0
jns 0x1c53810
mov eax, dword [ebx + 0x10]
jmp 0x1c53813
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c53800
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c53844
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c54460
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1c53800
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c542c0
jmp 0x1c53800

Function at 0x1c53850
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c52620
mov eax, dword [esi]
test eax, eax
je 0x1c538a3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c538aa
lea ecx, [ebp - 0x14]
call fcn.01c53000
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c53885
cmp dword [ebx + 0x50], 2
jne 0x1c538ed
cmp byte [ebx + 0x1b], 0
jns 0x1c538bb
mov eax, dword [ebx + 0x10]
jmp 0x1c538be
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c538ed
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c538f2
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c54460
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 0x1c53881
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c542c0
jmp 0x1c538ed
Function at 0x1c54640
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x1d15014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c54666
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x1c54669
and ecx, 0x7f
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.01c43250
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c54683
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.01c43250
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c5469c
mov edi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x1d], 0
jns 0x1c546b7
push dword [ebp - 0x28]
call fcn.01c92c47
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x1c546c8
push dword [ebp - 0x1c]
call fcn.01c92c47
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x1c54760
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.01c43250
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c5478e
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c547ac
push dword [ebp - 0x1c]
call fcn.01c92c47
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c54845
test esi, esi
je 0x1c54845
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.01c92c73
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.01c43250
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1c547ef
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c54809
push dword [ebp - 0x1c]
call fcn.01c92c47
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x1c5485e
push edi
call fcn.01cad054
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c71560
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x1c54861
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.01c92c7c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.01c92c47
add esp, 4
jmp 0x1c5482d
Function at 0x1c54870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.01c96470
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x1c548f8
push ebx
call fcn.01cad054
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.01c76450
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.01c4f8a0
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c4f0e0
mov ecx, ebx
call fcn.01c76580
mov ecx, edi
call fcn.01c76580
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c56370
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x1d15014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
test al, al
je 0x1c5644b
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.01c96470
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x1d02b90]
movups xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov ecx, 3
push ecx
push 1
push edx
push eax
call ebx
mov ecx, 3
push ecx
push 0x20
push edx
push eax
call ebx
lea ecx, [ebp - 0x120]
mov dword [ecx - 8], 6
mov dword [ecx - 4], edi
mov word [ecx + 0x108], 0
lea ecx, [ebp - 0x12c]
push edx
push eax
push 0x23
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, 0x80003
test eax, eax
je 0x1c56452
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.01c564a0
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x1c56452
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x1c5645a
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1d0a580]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c56d80
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 0x1c57c40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d2fe5c]
cmp eax, 0xffffffff
je 0x1c57c60
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
jmp 0x1c57c5e

Function at 0x1c57c70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1d2fe5c]
cmp eax, 0xffffffff
je 0x1c57d31
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1c57d31
mov eax, dword [0x1d372c4]
mov ecx, dword [0x1d31114]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c57d3b
mov edi, dword [0x1d372c0]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c57d80
mov ecx, dword [0x1d366bc]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d366c0], 0
jne 0x1c57d8c
lea eax, [eax*4 + 0x1d366c0]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1d366c4], ecx
mov dword [0x1d366bc], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1d366c8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x1c57d9b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.01c57da0
jmp 0x1c57c95
push 0x1d372c4
call fcn.01c92cb7
add esp, 4
cmp dword [0x1d372c4], 0xffffffff
jne 0x1c57cb6
push 4
call fcn.01c92c17
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c7a330
mov dword [0x1d372c0], edi
push 0x1d372c4
call fcn.01c92d2d
add esp, 4
jmp 0x1c57cb6
mov ecx, edi
call fcn.01c7a340
jmp 0x1c57ccb
inc edx
cmp edx, 0x100
jne 0x1c57cd4
jmp 0x1c57d1b
int3
Function at 0x1c57da0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x1d2fe5c]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x1c57e4d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1c57e96
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.01c96470
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.01c5e1a0
add esp, 8
push edi
call fcn.01c92c73
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.01c95ef0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.01c5e1a0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.01c5e180
add esp, 4
test al, al
je 0x1c57e99
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x1c57e9c
xor eax, eax
dec eax
lock cmpxchg dword [0x1d2fe5c], ecx
je 0x1c57dd1
push ecx
call fcn.01ce83a0
add esp, 4
mov ecx, dword [0x1d2fe5c]
mov dword [ebp - 0x814], ecx
jmp 0x1c57dd1
int3
int3
push esi
call fcn.01c5e180
add esp, 4
test al, al
je 0x1c57ec4
cmp dword [ebp - 0x814], 0xffffffff
je 0x1c57ec4
push 0xffffffffffffffff
call fcn.01ce83a0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x1c57e6b
int3
Function at 0x1c5b000
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x1c5b1d3
cmp dword [0x1d2fea0], 0xe69e32f3
jne 0x1c5b1d6
mov ecx, 0x308
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0xc]
mov byte [esp + 0xf], 0xff
movzx eax, byte [esi + 2]
push eax
mov dword [esp + 8], ecx
push ecx
call fcn.01c7dd30
add esp, 8
movzx ebx, ax
shl ebx, 5
lea edi, [esi + ebx]
add edi, 0x48
add esi, 0x40
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c5b19b
mov dword [esp + 8], esi
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x1c5b14a
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x1c5b140
mov edi, dword [ebp + 8]
add ebx, edi
mov ebx, dword [ebx + 0x54]
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x1c5b1a7
mov edx, ecx
and edx, 0x1fc000
je 0x1c5b1a7
prefetcht0 byte [ecx]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.01c800d0
push esi
push dword [0x1d41c00]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1d31114]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x90], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x1c5b0bb
lea eax, [esp + 0xf]
mov ecx, edi
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.01c80ed0
test eax, eax
je 0x1c5b1d9
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x1c5b0d4
mov ecx, esi
call fcn.01c80d70
jmp 0x1c5b071
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push dword [esi]
push str.first
call fcn.01cdd0c0
push edi
call fcn.01c30840
add esp, 4
mov ecx, ebx
call fcn.01cdd140
int3
int3
xor esi, esi
jmp 0x1c5b0f7
Function at 0x1c5b3f0
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 [0x1d15014]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, 0x7fffffff
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 0x1c5b448
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x1c5b44d
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x1c5b436
int3

Function at 0x1c5b450
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 [0x1d15014]
xor ecx, ebp
mov esi, 0x7fffffff
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 0x1c5b4c8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1c5b4b5
cmp ebx, 0xffffffff
je 0x1c5b4da
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
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 0x1c5b4dd
mov ebx, dword [ebp - 0x14]
jmp 0x1c5b4a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x1c5b4a1
int3
mov edx, dword [ebp + 0xc]
jmp 0x1c5b477

Function at 0x1c5b900
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 [0x1d15014]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.01c5b810
add esp, 0x10
or edx, eax
jne 0x1c5b937
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x1c5b94d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c93c03
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.01c798d0
add esp, 4
test al, al
jne 0x1c5b95f
xor ebx, ebx
jmp 0x1c5b937
call fcn.01cdfce0
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.01cdfe20
lea eax, [ebp - 0xac]
push 0xc
push 0x1d0b12a
push eax
call fcn.01cc02b0
add esp, 0xc
mov ecx, esi
call fcn.01cdfe80
jmp 0x1c5b95b
Function at 0x1c5c9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x93
push str....._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.01c73e90
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.01c7c170
cmp dword [ebp + 0xc], 0
js 0x1c5ca67
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.01c83700
test al, al
jne 0x1c5ca6c
lea ebx, [esp + 0xc]
mov dword [ebx], 0xffffffff
push 0
push ebx
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [ebx]
lea ecx, [esp + 0x10]
call fcn.01c837a0
lea ecx, [esp + 0x20]
call fcn.01c7c1f0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c93c03
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x1c5ca47
lea ecx, [esp + 0x10]
push 0
push dword [ebp + 0xc]
push esi
push str.File::WriteAtCurrentPos
call fcn.01ce82f0
jmp 0x1c5ca1c
Function at 0x1c5cbd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 8], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x16f
push str....._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.01c73e90
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.01c7c170
mov eax, ebx
and eax, 1
neg eax
and eax, 3
xor ecx, ecx
inc ecx
test bl, 2
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
test eax, eax
je 0x1c5cdd7
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, 0x80
cmove edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
and ebx, 0x400
mov dword [esp + 0xc], ebx
shl ebx, 0x14
mov esi, dword [ebp + 0xc]
shr esi, 3
and esi, 0x100
or esi, ebx
mov ebx, dword [ebp + 0xc]
mov edi, ebx
shr edi, 0xb
and edi, 2
or edi, esi
mov esi, ebx
shl esi, 0xd
and esi, 0x4000000
or esi, edi
mov edi, ebx
shl edi, 8
and edi, 0xa000000
or edi, esi
mov esi, dword [ebp + 8]
xor edx, 3
cmp byte [esi + 0xb], 0
jns 0x1c5cd02
mov esi, dword [esi]
xor ebx, ebx
push ebx
push edi
push eax
push ebx
push edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov esi, dword [esp + 8]
cmp dword [esi], eax
je 0x1c5cd8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x1c5cdb9
mov ecx, edi
inc ecx
cmp ecx, 2
mov ebx, dword [ebp + 0xc]
jb 0x1c5cd43
mov dword [esi], edi
mov edi, eax
call fcn.01c73ec0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jb 0x1c5cd94
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x1c5cda8
test bl, 0xa
je 0x1c5cd71
mov byte [esi + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.01c7c1f0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c93c03
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
jmp 0x1c5cd4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01c5ca90
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x1c5cd71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
jmp 0x1c5cd71
mov ebx, eax
call fcn.01c73ec0
push dword [esi]
call fcn.01c75570
mov eax, ebx
add esp, 4
mov dword [esi], 0
jmp 0x1c5cd2d
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
mov dword [eax + 0x14], 0xffffffff
jmp 0x1c5cd71
Function at 0x1c63070
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 0x1c63087
test eax, eax
je 0x1c63087
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x1c63095
mov ecx, dword [0x1d431a0]
test ecx, ecx
jne 0x1c630d1
cmp dword [0x1d43198], 0
je 0x1c63081
mov esi, dword [0x1d4319c]
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 0x1c630db
test esi, esi
je 0x1c63081
mov ecx, dword [0x1d43198]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1c63081
call dword [section..00cfg]
call ecx
jmp 0x1c63095
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1c630b9
Function at 0x1c63f20
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 ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c63f3e
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x1c63f41
and eax, 0x7f
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x1c], eax
cmp eax, 4
jb 0x1c63f7c
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov ecx, ebx
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c63f56
cmp edx, 1
je 0x1c63f9d
cmp edx, 2
je 0x1c63f94
cmp edx, 3
jne 0x1c63fa8
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 edx, dword [ecx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], edx
test edx, edx
je 0x1c640cb
mov dword [ebp - 0x20], ebx
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 1
and edx, 0x55555555
sub eax, edx
mov edx, 0x33333333
mov ebx, eax
and ebx, edx
shr eax, 2
and eax, edx
add eax, ebx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
jbe 0x1c640de
mov edx, esi
cmp esi, dword [ebp - 0x10]
jb 0x1c64021
mov eax, esi
xor edx, edx
div dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c640cb
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c640cb
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c6408d
movzx edx, byte [ebx + 0x13]
mov eax, edx
and eax, 0x7f
mov ecx, eax
test dl, dl
jns 0x1c64065
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x1c]
jne 0x1c640a9
lea ecx, [ebx + 8]
test dl, dl
jns 0x1c64073
mov ecx, dword [ecx]
js 0x1c640b1
test al, al
je 0x1c640c9
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
mov edi, eax
cmp dl, byte [esi + ecx]
jne 0x1c640a9
inc ecx
cmp eax, ecx
jne 0x1c6407b
jmp 0x1c640c9
cmp dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x18]
jbe 0x1c640eb
cmp eax, dword [ebp - 0x10]
jb 0x1c640a2
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x1c640da
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1c6404b
jmp 0x1c640da
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1c640c9
push eax
push dword [ebp - 0x20]
push ecx
call fcn.01c94fdd
add esp, 0xc
test eax, eax
jne 0x1c640a9
mov ecx, ebx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ecx, ecx
jmp 0x1c640cb
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
and edx, esi
jmp 0x1c64021
and eax, dword [ebp - 0x24]
jmp 0x1c640a5