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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c52290
mov eax, dword [esi]
test eax, eax
je 0x1c53463
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c5346a
lea ecx, [ebp - 0x14]
call fcn.01c52c70
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c53445
cmp dword [ebx + 0x50], 0
je 0x1c53475
add ebx, 0x58
jmp 0x1c53441
cmp byte [ebx + 0x1b], 0
jns 0x1c53480
mov eax, dword [ebx + 0x10]
jmp 0x1c53483
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c53470
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c534b4
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c540d0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1c53470
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c53f30
jmp 0x1c53470

Function at 0x1c534c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c52290
mov eax, dword [esi]
test eax, eax
je 0x1c53513
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c5351a
lea ecx, [ebp - 0x14]
call fcn.01c52c70
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c534f5
cmp dword [ebx + 0x50], 2
jne 0x1c5355d
cmp byte [ebx + 0x1b], 0
jns 0x1c5352b
mov eax, dword [ebx + 0x10]
jmp 0x1c5352e
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c5355d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c53562
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c540d0
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 0x1c534f1
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c53f30
jmp 0x1c5355d
Function at 0x1c542b0
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 [0x1d12014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c542d6
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x1c542d9
and ecx, 0x7f
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.01c43090
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c542f3
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.01c43090
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c5430c
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 0x1c54327
push dword [ebp - 0x28]
call fcn.01c92027
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x1c54338
push dword [ebp - 0x1c]
call fcn.01c92027
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x1c543d0
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 [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.01c43090
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c543fe
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 0x1c5441c
push dword [ebp - 0x1c]
call fcn.01c92027
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c544b5
test esi, esi
je 0x1c544b5
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.01c92053
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.01c43090
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1c5445f
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c54479
push dword [ebp - 0x1c]
call fcn.01c92027
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x1c544ce
push edi
call fcn.01cab6f4
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c70cc0
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x1c544d1
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.01c9205c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.01c92027
add esp, 4
jmp 0x1c5449d
Function at 0x1c544e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.01c95850
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x1c54568
push ebx
call fcn.01cab6f4
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.01c75b60
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.01c4f5a0
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c4ede0
mov ecx, ebx
call fcn.01c75c90
mov ecx, edi
call fcn.01c75c90
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c55fe0
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 [0x1d12014]
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 0x1c560bb
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.01c95850
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x1cffb60]
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 0x1c560c2
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.01c56110
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x1c560c2
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x1c560ca
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1d07550]
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.01c92fe3
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d2ce5c]
cmp eax, 0xffffffff
je 0x1c57650
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 0x1c5764e

Function at 0x1c57660
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1d2ce5c]
cmp eax, 0xffffffff
je 0x1c57721
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1c57721
mov eax, dword [0x1d342c4]
mov ecx, dword [0x1d2e0e8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5772b
mov edi, dword [0x1d342c0]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c57770
mov ecx, dword [0x1d336bc]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d336c0], 0
jne 0x1c5777c
lea eax, [eax*4 + 0x1d336c0]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1d336c4], ecx
mov dword [0x1d336bc], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1d336c8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x1c5778b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.01c57790
jmp 0x1c57685
push 0x1d342c4
call fcn.01c92097
add esp, 4
cmp dword [0x1d342c4], 0xffffffff
jne 0x1c576a6
push 4
call fcn.01c91ff7
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c79a60
mov dword [0x1d342c0], edi
push 0x1d342c4
call fcn.01c9210d
add esp, 4
jmp 0x1c576a6
mov ecx, edi
call fcn.01c79a70
jmp 0x1c576bb
inc edx
cmp edx, 0x100
jne 0x1c576c4
jmp 0x1c5770b
int3
Function at 0x1c57790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1d12014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x1d2ce5c]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x1c5783d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1c57886
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.01c95850
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.01c5dc90
add esp, 8
push edi
call fcn.01c92053
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.01c952d0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.01c5dc90
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.01c5dc70
add esp, 4
test al, al
je 0x1c57889
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x1c5788c
xor eax, eax
dec eax
lock cmpxchg dword [0x1d2ce5c], ecx
je 0x1c577c1
push ecx
call fcn.01ce6aa0
add esp, 4
mov ecx, dword [0x1d2ce5c]
mov dword [ebp - 0x814], ecx
jmp 0x1c577c1
int3
int3
push esi
call fcn.01c5dc70
add esp, 4
test al, al
je 0x1c578b4
cmp dword [ebp - 0x814], 0xffffffff
je 0x1c578b4
push 0xffffffffffffffff
call fcn.01ce6aa0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x1c5785b
int3
Function at 0x1c5ab00
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 [0x1d12014]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x1c5acd3
cmp dword [0x1d2cea0], 0xe69e32f3
jne 0x1c5acd6
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.01c78ba0
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 0x1c5ac9b
mov dword [esp + 8], esi
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x1c5ac4a
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x1c5ac40
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 0x1c5aca7
mov edx, ecx
and edx, 0x1fc000
je 0x1c5aca7
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.01c7f640
push esi
push dword [0x1d3ec00]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1d2e0e8]
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.01c92fe3
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 0x1c5abbb
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.01c80470
test eax, eax
je 0x1c5acd9
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 0x1c5abd4
mov ecx, esi
call fcn.01c80310
jmp 0x1c5ab71
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push dword [esi]
push str.first
call fcn.01cdb880
push edi
call fcn.01c30840
add esp, 4
mov ecx, ebx
call fcn.01cdb900
int3
int3
xor esi, esi
jmp 0x1c5abf7
Function at 0x1c5aef0
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 [0x1d12014]
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 0x1c5af48
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x1c5af4d
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.01c92fe3
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x1c5af36
int3

Function at 0x1c5af50
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 [0x1d12014]
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 0x1c5afc8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1c5afb5
cmp ebx, 0xffffffff
je 0x1c5afda
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92fe3
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 0x1c5afdd
mov ebx, dword [ebp - 0x14]
jmp 0x1c5afa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x1c5afa1
int3
mov edx, dword [ebp + 0xc]
jmp 0x1c5af77

Function at 0x1c5b400
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 [0x1d12014]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.01c5b310
add esp, 0x10
or edx, eax
jne 0x1c5b437
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x1c5b44d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c92fe3
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.01c79010
add esp, 4
test al, al
jne 0x1c5b45f
xor ebx, ebx
jmp 0x1c5b437
call fcn.01cde4a0
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.01cde5e0
lea eax, [ebp - 0xac]
push 0xc
push 0x1d080fa
push eax
call fcn.01cbe950
add esp, 0xc
mov ecx, esi
call fcn.01cde640
jmp 0x1c5b45b
Function at 0x1c5c4a0
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 [0x1d12014]
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.01c73620
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.01c7b8d0
cmp dword [ebp + 0xc], 0
js 0x1c5c567
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.01c82b70
test al, al
jne 0x1c5c56c
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.01c82c10
lea ecx, [esp + 0x20]
call fcn.01c7b950
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c92fe3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x1c5c547
lea ecx, [esp + 0x10]
push 0
push dword [ebp + 0xc]
push esi
push str.File::WriteAtCurrentPos
call fcn.01ce69f0
jmp 0x1c5c51c
Function at 0x1c5c6c0
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 [0x1d12014]
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.01c73620
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.01c7b8d0
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 0x1c5c8c7
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 0x1c5c7f2
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 0x1c5c87f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x1c5c8a9
mov ecx, edi
inc ecx
cmp ecx, 2
mov ebx, dword [ebp + 0xc]
jb 0x1c5c833
mov dword [esi], edi
mov edi, eax
call fcn.01c73650
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jb 0x1c5c884
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x1c5c898
test bl, 0xa
je 0x1c5c861
mov byte [esi + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.01c7b950
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c92fe3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
jmp 0x1c5c83c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01c5c590
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x1c5c861
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
jmp 0x1c5c861
mov ebx, eax
call fcn.01c73650
push dword [esi]
call fcn.01c74d00
mov eax, ebx
add esp, 4
mov dword [esi], 0
jmp 0x1c5c81d
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
mov dword [eax + 0x14], 0xffffffff
jmp 0x1c5c861
Function at 0x1c62ba0
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 0x1c62bb7
test eax, eax
je 0x1c62bb7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x1c62bc5
mov ecx, dword [0x1d401a0]
test ecx, ecx
jne 0x1c62c01
cmp dword [0x1d40198], 0
je 0x1c62bb1
mov esi, dword [0x1d4019c]
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 0x1c62c0b
test esi, esi
je 0x1c62bb1
mov ecx, dword [0x1d40198]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1c62bb1
call dword [section..00cfg]
call ecx
jmp 0x1c62bc5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1c62be9
Function at 0x1c63a30
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 0x1c63a4e
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x1c63a51
and eax, 0x7f
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 4
jb 0x1c63a8c
mov eax, dword [ebp - 0x18]
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 0x1c63a66
cmp edx, 1
je 0x1c63aad
cmp edx, 2
je 0x1c63aa4
cmp edx, 3
jne 0x1c63ab8
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 0x1c63bd6
mov dword [ebp - 0x1c], 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 0x1c63be9
mov edx, esi
cmp esi, dword [ebp - 0x10]
jb 0x1c63b31
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 0x1c63bd6
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c63bd6
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c63b9d
movzx edx, byte [ebx + 0x13]
mov eax, edx
and eax, 0x7f
mov ecx, eax
test dl, dl
jns 0x1c63b75
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x1c63bb4
lea ecx, [ebx + 8]
test dl, dl
jns 0x1c63b83
mov ecx, dword [ecx]
js 0x1c63bbc
test al, al
je 0x1c63bd4
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
mov edi, eax
cmp dl, byte [esi + ecx]
jne 0x1c63bb4
inc ecx
cmp eax, ecx
jne 0x1c63b8b
jmp 0x1c63bd4
cmp dword [ebp - 0x28], 1
jbe 0x1c63bf6
cmp eax, dword [ebp - 0x10]
jb 0x1c63baf
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x1c63be5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1c63b5b
jmp 0x1c63be5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c63bd4
push eax
push dword [ebp - 0x1c]
push ecx
call fcn.01c943bd
add esp, 0xc
test eax, eax
jne 0x1c63bb4
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 0x1c63bd6
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
and edx, esi
jmp 0x1c63b31
and eax, dword [ebp - 0x20]
jmp 0x1c63baf