joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1dffc50
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 ecx, dword [ebp + 8]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1dffe71
cmp dword [0x1f0b330], 0xe69e32f3
jne 0x1dffe74
mov esi, 0x308
mov edx, 0x20
mov edi, 0x20
add esi, dword [ecx + 8]
mov byte [esp + 0xf], 0xff
movzx eax, byte [ecx + 2]
je 0x1dffca5
bsr edi, esi
xor edi, 0x1f
mov ecx, 0x1eaf530
sub ecx, edi
movzx ecx, byte [ecx]
mov ebx, esi
shr ebx, cl
sub edx, edi
and ebx, 7
lea ecx, [ebx + edx*8]
mov edx, dword [edx*4 + 0x1eaf534]
and edx, esi
cmp edx, 1
mov edx, dword [ebp + 8]
lea edi, [edx + 0x48]
sbb ecx, 0xffffffff
movzx ecx, word [ecx + ecx + 0x1eaf2fc]
test al, al
mov dword [esp], esi
jne 0x1dffcf5
cmp esi, 0x41
setae al
cmp cx, 0x76
setb dl
and dl, al
movzx eax, dl
or eax, ecx
mov ecx, eax
movzx ebx, cx
shl ebx, 5
mov dword [esp + 4], edi
lea esi, [edi + ebx]
mov eax, dword [ebp + 8]
lea edi, [eax + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1dffd1a
mov ecx, edi
call fcn.01e006a0
mov dword [esp + 8], edi
mov eax, dword [esi]
mov edi, dword [eax]
test edi, edi
je 0x1dffdee
mov byte [esp + 0xf], 0
mov edx, dword [edi]
test edx, edx
je 0x1dffd64
mov ecx, dword [esp + 4]
mov ebx, dword [ecx + ebx + 0xc]
mov ecx, edx
bswap ecx
mov esi, ecx
xor esi, edi
cmp esi, 0x1fffff
ja 0x1dffe3e
mov esi, ecx
and esi, 0x1fc000
je 0x1dffe3e
prefetcht0 byte [ecx]
jmp 0x1dffd66
xor ecx, 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 esi, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1180]
mov dword [esi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [esi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
push esi
call fcn.01dffe90
push edi
push dword [0x1f1d2dc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1f0c740]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0xe8], edi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.01e60425
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, esi
push eax
push 0x4000
push dword [esp + 8]
push 2
mov esi, dword [ebp + 8]
push esi
call fcn.01e48760
test eax, eax
je 0x1dffe6a
mov edi, eax
and eax, 0xffe00000
mov ecx, edi
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov eax, ecx
or eax, 0x1000
or ecx, 0x101e
movzx ecx, byte [ecx]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
jmp 0x1dffd82
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push edx
push str.first
call fcn.01cd1260
push esi
call sym.msedge_elf.dll_OQS_destroy
add esp, 4
push ebx
call fcn.01e484e0
xor edi, edi
jmp 0x1dffda5
int3
int3
Function at 0x1e0628c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov esi, ecx
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1e062ae
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1e063a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1e062e9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov ecx, esi
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01e063ba
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e063a1
call fcn.01da3130
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x276
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.01cdcc16
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1e0633d
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xcc]
mov ecx, ebx
push eax
push esi
call fcn.01cd2c42
lea esi, [ebp - 0xc4]
push dword [ebx + 4]
push dword [ebx]
push esi
call fcn.01d951a0
add esp, 0xc
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1e06374
mov eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xc4]
push eax
push esi
push edi
call fcn.01cdcc16
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1e06396
push dword [ebp - 0xc4]
call fcn.01e5f36c
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01da3380
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1e063ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov esi, ecx
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1e063dc
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1e06456
mov bl, 1
test al, 0x10
jne 0x1e064ac
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e064aa
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x266
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01da2590
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cdcc16
add esp, 0xc
push esi
push eax
call fcn.01da63e0
add esp, 8
push 0x11
push str.:_not_a_directory
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, edi
call fcn.01da29c0
jmp 0x1e064aa
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e064aa
call fcn.01da3130
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x262
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01cdcc16
add esp, 0xc
push esi
push eax
call fcn.01da63e0
add esp, 8
mov ecx, edi
call fcn.01da3380
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1e078b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x20], xmm0
mov esi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
cmp esi, ebx
je 0x1e0790a
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
mov ecx, esi
push edi
call fcn.01db5bf8
test al, al
jne 0x1e078f7
add esi, 0x58
cmp esi, ebx
jne 0x1e078e2
mov esi, ebx
mov eax, dword [ebp - 0x24]
cmp esi, dword [eax + 0x2c]
je 0x1e0790a
cmp byte [esi + 0x1b], 0
jns 0x1e0790f
mov eax, dword [esi + 0x10]
jmp 0x1e07912
xor edi, edi
inc edi
jmp 0x1e07935
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
xor edi, edi
inc edi
cmp eax, 0xffffffff
cmovne edi, ecx
test edi, edi
jne 0x1e07935
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1e08b74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x1e08b86
cmp byte [ecx + 0x1b], 0
jns 0x1e08b93
mov ecx, dword [ecx + 0x10]
jmp fcn.01e08b96
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2]
inc eax
ret
add ecx, 0x10
Function at 0x1e08f84
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov edi, dword [ebp + 8]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1e08fad
mov eax, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1efa770]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call ebx
cmp eax, 0xffffffff
jne 0x1e0903e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1e09105
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1e08ff1
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1e08fa3
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e0914c
call fcn.01da3130
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x71
push 0x1efa7a0
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0xd
push str.WaitNamedPipe
jmp 0x1e0913c
mov esi, eax
lea eax, [ebp - 0xbc]
mov dword [eax], 2
xor edi, edi
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1e09153
lea eax, [ebp - 0xc0]
mov dword [eax], edi
push edi
push eax
push 0xc
push dword [ebp + 0x10]
push 0x24
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1e0918c
mov bl, 1
cmp dword [ebp - 0xc0], 0xc
je 0x1e091d8
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e091d6
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x8c
push 0x1efa7a0
call fcn.01da2590
lea eax, [ebp - 0xb0]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.01cd0030
push 0xb
push str.__observed
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xc0]
call fcn.01cd0030
mov ecx, edi
call fcn.01da29c0
jmp 0x1e091d6
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e0914c
call fcn.01da3130
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x6c
push 0x1efa7a0
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0xa
push str.CreateFile
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, esi
call fcn.01da3380
xor ebx, ebx
jmp 0x1e091e1
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e091d6
call fcn.01da3130
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x7a
push 0x1efa7a0
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0x17
push 0x1efa803
jmp 0x1e091c6
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1e091d6
call fcn.01da3130
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x88
push 0x1efa7a0
call fcn.01da32d0
lea eax, [ebp - 0xb0]
push 0x11
push 0x1efa81b
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, edi
call fcn.01da3380
xor ebx, ebx
push esi
call fcn.01db488c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1e091f8
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 [0x1f07010]
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 0x1e092d3
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.01e63410
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x1eb0740]
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 0x1e092da
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.01e09323
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x1e092da
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x1e092e2
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1efa780]
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.01e60425
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1e096f8
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 0x1e14470
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ecx + 0x20]
sub esp, 0x10
movaps xmm0, xmmword [0x1efad00]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, edi
push eax
call fcn.01ce045a
mov eax, dword [esi + 0x20]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x1e144c7
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x24]
lea eax, [ebp - 0x20]
push 0x30
push str.....mojopubliccppplatformplatform_channel_server_win.cc
push str.Start
push eax
call fcn.01da46e0
add esp, 0x10
lea eax, [esi + 4]
mov dword [ebp - 0x34], ebx
mov ecx, ebx
lea edx, [ebp - 0x20]
push edx
push eax
push dword [esi + 0x20]
call fcn.01de1060
test al, al
je 0x1e144af
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x24]
mov dword [ecx], 0xffffffff
lea ebx, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.01dc2b58
mov dword [ebx], 0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
call fcn.01ce042a
mov ecx, ebx
call fcn.01dc2be0
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1e1454d
xor ebx, ebx
jmp 0x1e14647
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1e1462c
cmp eax, 0x217
jne 0x1e14654
mov ecx, dword [ebp - 0x34]
call fcn.01de0fc0
mov ecx, edi
call fcn.01ce04a0
call fcn.01d940b0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
lea ecx, [esi + 0x54]
mov edi, dword [esi + 0x58]
push ebx
call fcn.01da1660
lea ecx, [ebp - 0x30]
push ebx
call fcn.01da15e0
lea eax, [ebp - 0x30]
mov dword [eax + 4], edi
mov ecx, ebx
call fcn.01da1580
push 0x28
call fcn.01e5f33c
add esp, 4
mov edi, eax
mov ecx, eax
push 0x1e14870
push 0x1e148b0
push 0x1e147a0
call fcn.01da5dd0
mov dword [edi + 0x10], 0x1e14720
xor eax, eax
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x18]
lea ebx, [ebp - 0x30]
push ebx
call fcn.01da15e0
mov eax, dword [ebx + 4]
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edi + 0x20], eax
xor eax, eax
mov dword [ecx], eax
lea ebx, [ebp - 0x24]
lea ecx, [edi + 0x24]
push ebx
call fcn.01ce042a
mov dword [ebp - 0x28], edi
push 0x47
push str.....mojopubliccppplatformplatform_channel_server_win.cc
push str.Start
lea edi, [ebp - 0x20]
push edi
call fcn.01da46e0
add esp, 0x10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
push eax
push edi
call fcn.01d93cc0
lea ecx, [ebp - 0x30]
call fcn.01da1580
lea ecx, [esi + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.01cdf62c
add esi, 0x50
mov ecx, esi
push dword [ebp + 0xc]
call fcn.01da5e00
mov bl, 1
lea ecx, [ebp - 0x24]
call fcn.01ce04a0
jmp 0x1e144b1
mov ecx, edi
call fcn.01ce04a0
jmp 0x1e14546
Function at 0x1e29600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1f07010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x1e2971d
mov dword [ebp - 0x14], 0x1e297c0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1e295e0
push 0x1f21ea0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1e29731
cmp dword [0x1f21ea4], 0
jne 0x1e2971d
push dword [0x1f21ea8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1e2971d
mov esi, eax
push 0x1f21eac
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x1f21eb0]
mov ebx, dword [0x1f21eb4]
mov eax, dword [0x1f21eb8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1f21ebc]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1f21ec0]
mov dword [ebp - 0x24], eax
push 0x1f21eac
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x1e296bb
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x1e296d0
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1e296e6
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x1e296ff
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x1e29714
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.01dadee0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.01e73679
int3

Function at 0x1e29740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1e297c0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1e295e0
push 0x1f21ea0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1e297ba
xor esi, esi
cmp dword [0x1f21ea4], 0
jne 0x1e297a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x1f21ea8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x1e297a6
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01e73679
int3
Function at 0x1e297e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1e297c0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1e295e0
push 0x1f21ea0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1e298cd
mov esi, dword [ebp + 0x10]
cmp dword [0x1f21ea4], 0
je 0x1e29838
mov ecx, esi
call dword [section..00cfg]
push dword [ebp + 0xc]
call esi
add esp, 4
xor esi, esi
jmp 0x1e29884
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x1f21ea8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x1e29898
mov ebx, dword [ebp + 8]
push 0x1f21eac
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [ebx*4 + 0x1f21eb0], esi
push 0x1f21eac
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
mov esi, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x14
push 1
call fcn.01dadf60
add esp, 8
test eax, eax
je 0x1e29824
mov edi, eax
push eax
push dword [0x1f21ea8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1e29859
push edi
call fcn.01dadee0
add esp, 4
jmp 0x1e29824
call fcn.01e73679
int3
Function at 0x1e3dc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
lea edi, [ecx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1e3dc70
mov ecx, edi
call fcn.01d85ec0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x20], esi
mov dword [esi + 0x18], 0
mov dword [ebp - 0x14], edi
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x1e3dcf0
mov esi, dword [ebp - 0x10]
jmp 0x1e3dcd0
add edi, 0x30
mov ecx, edi
call fcn.01e5ac00
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi]
call fcn.01e5a3d0
add esi, 4
cmp esi, dword [ebp - 0x18]
je 0x1e3dcf0
mov ecx, dword [esi]
call fcn.01e41480
mov edi, eax
lea ebx, [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1e3dcb0
mov ecx, ebx
call fcn.01d85ec0
jmp 0x1e3dcb0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1e3dd05
mov ecx, esi
call fcn.01d85ec0
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x1e3dd51
mov esi, dword [ebx + 0x1c]
mov eax, edi
cmp esi, edi
je 0x1e3dd45
add esi, 0xfffffffc
jmp 0x1e3dd29
lea eax, [esi - 4]
cmp esi, edi
mov esi, eax
je 0x1e3dd42
test esi, esi
je 0x1e3dd7a
mov ecx, dword [esi]
test ecx, ecx
je 0x1e3dd20
lock dec dword [ecx + 4]
jne 0x1e3dd20
push 1
call fcn.01e5a4f0
jmp 0x1e3dd20
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], edi
push eax
call fcn.01e5f36c
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x20], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01e3dda0
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01ce782c
int3