joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c4c6e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov dword [ecx], 0x1cf4208
add ecx, 4
call fcn.01c7e700
lea ecx, [esi + 8]
call fcn.01c7e700
xor ebx, ebx
mov byte [esi + 0xc], bl
lea ecx, [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], ebx
call fcn.01c7e700
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea eax, [esi + 0x3c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov edi, 0x3f800000
mov dword [esi + 0x6c], edi
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], edi
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x98], edi
movups xmmword [esi + 0x9c], xmm0
mov dword [esi + 0xac], edi
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], edi
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xd8], ebx
movups xmmword [esi + 0xc8], xmm0
mov eax, dword [0x1cfd4d4]
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0xec]
call fcn.01c5a2b0
lea ecx, [esi + 0x188]
push ebx
call fcn.01c5ac50
lea ecx, [esi + 0x190]
push ebx
call fcn.01c5ac50
lea ecx, [esi + 0x198]
push ebx
call fcn.01c5ac50
xorps xmm0, xmm0
movups xmmword [esi + 0x1a0], xmm0
mov dword [esi + 0x1b0], edi
movups xmmword [esi + 0x1b4], xmm0
movups xmmword [esi + 0x1bd], xmm0
mov eax, dword [ebp + 8]
mov dword [esi + 0x1d0], eax
mov byte [esi + 0x1d4], bl
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
call fcn.01c30600
call fcn.01c4ba50
mov ecx, eax
mov dword [esi + 0xd8], eax
xor ecx, 0x84222325
mov edx, 0x1b3
mov eax, ecx
mul edx
shl ecx, 8
add ecx, edx
add ecx, 0x8d40976c
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xf0]
mov eax, ecx
shr eax, 6
test dword [0x1cf49ec], edx
je 0x1c4c8a1
cmp ecx, 0x40
mov ecx, 0x3e8
cmovb eax, ecx
push eax
call fcn.01c80ed0
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
jne 0x1c4c8c4
call fcn.01c59ef0
mov ecx, eax
push 0
push str.TraceLog
push esi
call fcn.01c59f80
mov dword [0x1d1948c], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
test dword [0x1cfd4d8], edx
jne 0x1c4c8d8
test dword [0x1cfd4dc], edx
jne 0x1c4c8e2
cmp ecx, 0x40
mov ecx, 0xfa0
cmovb eax, ecx
push eax
call fcn.01c5a0d0
jmp 0x1c4c871
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
jmp 0x1c4c87e
cmp ecx, 0x40
mov ecx, 0x100
jmp 0x1c4c868
cmp ecx, 0x40
mov ecx, 0x7a1200
jmp 0x1c4c8b9
Function at 0x1c4fa70
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 0x1c4fa87
test eax, eax
je 0x1c4fa87
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x1c4fa95
mov ecx, dword [0x1d1bdc8]
test ecx, ecx
jne 0x1c4fad1
cmp dword [0x1d1bdc0], 0
je 0x1c4fa81
mov esi, dword [0x1d1bdc4]
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 0x1c4fadb
test esi, esi
je 0x1c4fa81
mov ecx, dword [0x1d1bdc0]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1c4fa81
call dword [section..00cfg]
call ecx
jmp 0x1c4fa95
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1c4fab9
Function at 0x1c51d20
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 [0x1d08010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c51d44
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.01c43cd0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c51d5e
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.01c43cd0
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c51d77
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 0x1c51d92
push dword [ebp - 0x28]
call fcn.01c928e1
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x1c51da3
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x1c51e30
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 [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.01c43cd0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c51e5e
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 0x1c51e7c
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c51f15
test esi, esi
je 0x1c51f15
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.01c92913
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.01c43cd0
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1c51ebf
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c51ed9
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x1c51f2e
push edi
call fcn.01cab194
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c72a10
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x1c51f31
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.01c9291c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.01c928e1
add esp, 4
jmp 0x1c51efd
Function at 0x1c52020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1ff
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.01c76570
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.01c7f630
cmp byte [edi + 0xb], 0
jns 0x1c5207c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.01c7f6b0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c520b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.01c96880
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x1c52133
push ebx
call fcn.01cab194
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.01c77320
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.01c4b800
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c4aba0
mov ecx, ebx
call fcn.01c77450
mov ecx, edi
call fcn.01c77450
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c52160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.01c96880
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x1cfc5b0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1c521dc
cmp word [ebp - 0x214], 0
je 0x1c521dc
push edi
call fcn.01cab194
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.01c77320
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.01c77210
push edi
call fcn.01c520b0
add esp, 4
mov ecx, esi
test al, al
je 0x1c5220b
push edi
call fcn.01c772f0
jmp 0x1c52217
push 3
push 0x1cfc612
call fcn.01c77320
lea ecx, [ebp - 0x220]
call fcn.01c77450
jmp 0x1c521c6
Function at 0x1c52830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [esp + 0x258], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x220]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x18]
push 0x3f9
push str....._base_files_file_util_win.cc
push 0x1cfc670
push ebx
call fcn.01c76570
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.01c7f630
lea esi, [esp + 0x1a]
push 0x206
push 0xff
push esi
call fcn.01c96880
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
dec esi
cmp esi, 0x103
ja 0x1c528f7
push ebx
call fcn.01cab194
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.01c77320
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.01c4b800
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c4aba0
mov ecx, ebx
call fcn.01c77450
mov ecx, edi
call fcn.01c77450
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x220]
call fcn.01c7f6b0
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c536b0
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 [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c536d2
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1c53707
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c53720
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c537d0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.01c7df70
add esp, 4
test al, al
jne 0x1c53732
xor ebx, ebx
jmp 0x1c53709
call fcn.01cdb0c0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x266
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01cdb1f0
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.01cbe4b0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c53774
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c72a10
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c53799
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01cbe4b0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c537bb
push dword [ebp - 0xc4]
call fcn.01c928e1
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cdb250
jmp 0x1c5372e
Function at 0x1c537d0
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 [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c537f2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c5381f
mov bl, 1
test al, 0x10
je 0x1c538c7
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c538d5
call fcn.01cdb0c0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x251
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01cdb1f0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cbe4b0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c53873
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c72a10
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c53898
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01cbe4b0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c538ba
push dword [ebp - 0xc4]
call fcn.01c928e1
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01cdb250
jmp 0x1c538d5
push 2
call fcn.01c7df70
add esp, 4
test al, al
jne 0x1c538dc
xor ebx, ebx
jmp 0x1c53808
lea ecx, [ebp - 0xb8]
push 2
push 0x255
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cbe4b0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c53918
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c72a10
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c5393d
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01cbe4b0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.01cbe4b0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c5396f
push dword [ebp - 0xc4]
call fcn.01c928e1
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01c55ce0
jmp 0x1c538d5
Function at 0x1c54b80
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c53a00
mov eax, dword [esi]
test eax, eax
je 0x1c54bd3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c54bda
lea ecx, [ebp - 0x14]
call fcn.01c543b0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c54bb5
cmp dword [ebx + 0x50], 0
je 0x1c54be5
add ebx, 0x58
jmp 0x1c54bb1
cmp byte [ebx + 0x1b], 0
jns 0x1c54bf0
mov eax, dword [ebx + 0x10]
jmp 0x1c54bf3
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c54be0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c54c24
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c55840
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1c54be0
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c556a0
jmp 0x1c54be0

Function at 0x1c54c30
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.01c53a00
mov eax, dword [esi]
test eax, eax
je 0x1c54c83
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x1c54c8a
lea ecx, [ebp - 0x14]
call fcn.01c543b0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x1c54c65
cmp dword [ebx + 0x50], 2
jne 0x1c54ccd
cmp byte [ebx + 0x1b], 0
jns 0x1c54c9b
mov eax, dword [ebx + 0x10]
jmp 0x1c54c9e
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1c54ccd
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x1c54cd2
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.01c55840
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 0x1c54c61
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c556a0
jmp 0x1c54ccd
Function at 0x1c56500
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 [0x1d08010]
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 0x1c565db
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.01c96880
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x1cf5200]
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 0x1c565e2
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.01c56630
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x1c565e2
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x1c565ea
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1cfcaf0]
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.01c938a3
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1d0bfc0]
cmp eax, 0xffffffff
je 0x1c5aa01
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1c5aa01
mov eax, dword [0x1d1cb4c]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5aa0b
mov edi, dword [0x1d1cb48]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c5aa50
mov ecx, dword [0x1d1bf44]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d1bf48], 0
jne 0x1c5aa5c
lea eax, [eax*4 + 0x1d1bf48]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1d1bf4c], ecx
mov dword [0x1d1bf44], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1d1bf50]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x1c5aa6b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.01c5aa70
jmp 0x1c5a965
push 0x1d1cb4c
call fcn.01c92957
add esp, 4
cmp dword [0x1d1cb4c], 0xffffffff
jne 0x1c5a986
push 4
call fcn.01c928b1
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c7e700
mov dword [0x1d1cb48], edi
push 0x1d1cb4c
call fcn.01c929cd
add esp, 4
jmp 0x1c5a986
mov ecx, edi
call fcn.01c7e710
jmp 0x1c5a99b
inc edx
cmp edx, 0x100
jne 0x1c5a9a4
jmp 0x1c5a9eb
int3

Function at 0x1c5aa70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x1d0bfc0]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x1c5ab1d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1c5ab66
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.01c96880
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.01c61af0
add esp, 8
push edi
call fcn.01c92913
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.01c96300
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.01c61af0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.01c61ad0
add esp, 4
test al, al
je 0x1c5ab69
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x1c5ab6c
xor eax, eax
dec eax
lock cmpxchg dword [0x1d0bfc0], ecx
je 0x1c5aaa1
push ecx
call fcn.01ce4c70
add esp, 4
mov ecx, dword [0x1d0bfc0]
mov dword [ebp - 0x814], ecx
jmp 0x1c5aaa1
int3
int3
push esi
call fcn.01c61ad0
add esp, 4
test al, al
je 0x1c5ab94
cmp dword [ebp - 0x814], 0xffffffff
je 0x1c5ab94
push 0xffffffffffffffff
call fcn.01ce4c70
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x1c5ab3b
int3
Function at 0x1c5b060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x97
push str....._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.01c76570
add esp, 0x10
mov ecx, edi
push 0
push ebx
mov ebx, dword [ebp + 0xc]
call fcn.01c7f630
test ebx, ebx
js 0x1c5b120
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.01c87510
test al, al
jne 0x1c5b125
lea edi, [esp + 0xc]
mov dword [edi], 0xffffffff
push 0
push edi
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [edi]
lea ecx, [esp + 0x10]
call fcn.01c875b0
lea ecx, [esp + 0x20]
call fcn.01c7f6b0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x1c5b100
lea ecx, [esp + 0x10]
push 0
push ebx
push esi
push str.File::WriteAtCurrentPos
call fcn.01ce4c80
jmp 0x1c5b0d5