joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c4ad70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.01c8b9f0
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4aec6
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1c4aec6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.01c8ccf0
add esp, 0xc
mov ecx, dword [0x1cd11ac]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.01c528b0
add esp, 8
push ebx
call fcn.01c8b789
add esp, 4
mov eax, dword [0x1ced544]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4aee7
mov esi, dword [0x1ced540]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c4aedb
lea eax, [ebp - 0x1410]
push 0xc00
push 0x1cec940
push eax
call fcn.01c8ccf0
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ebx, 0x100
jmp 0x1c4ae5a
lea ecx, [ebx - 1]
cmp ebx, 2
mov ebx, ecx
jb 0x1c4aeb6
test al, 1
je 0x1c4aeb6
xor edi, edi
lea esi, [ebp - 0x1408]
xor eax, eax
jmp 0x1c4ae7e
add edi, 1
add esi, 0xc
cmp edi, 0x100
je 0x1c4ae50
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x1c4ae70
cmp dword [esi - 8], 0
je 0x1c4ae70
mov edx, dword [ebp + edi*8 - 0x80c]
cmp edx, dword [esi]
jne 0x1c4ae70
mov edx, dword [esi - 4]
test edx, edx
je 0x1c4ae70
mov dword [ebp + edi*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x1c4ae70
push 2
push dword [ebp - 0x1414]
call fcn.01c528b0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c49b70
jmp 0x1c4ae1d
push 0x1ced544
call fcn.01ca7989
add esp, 4
cmp dword [0x1ced544], 0xffffffff
jne 0x1c4ae08
push 4
call fcn.01ca7989
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c49b60
mov dword [0x1ced540], esi
push 0x1ced544
call fcn.01ca7989
add esp, 4
jmp 0x1c4ae08

Function at 0x1c4af30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4af52
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1c4af60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4af7d
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x1c4af82
call fcn.01c4b0a0
mov eax, dword [0x1ced544]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4b055
mov edi, dword [0x1ced540]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c4b049
mov ecx, dword [0x1cec93c]
add ecx, 1
mov edx, 0x100
nop word cs:[eax + eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1cec940], 0
je 0x1c4affd
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1cec940], 0
je 0x1c4affd
add ecx, 2
add edx, 0xfffffffe
jne 0x1c4afd0
jmp 0x1c4b02d
lea ecx, [eax*4 + 0x1cec940]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1cec944], ecx
mov dword [0x1cec93c], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1cec948]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1c4b09a
cmp eax, 0x100
jge 0x1c4b09d
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.01c49b70
jmp 0x1c4afb8
push 0x1ced544
call fcn.01ca7989
add esp, 4
cmp dword [0x1ced544], 0xffffffff
jne 0x1c4afa3
push 4
call fcn.01ca7989
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c49b60
mov dword [0x1ced540], edi
push 0x1ced544
call fcn.01ca7989
add esp, 4
jmp 0x1c4afa3
int3
int3

Function at 0x1c4b0a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov eax, dword [0x1cd11ac]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x1c4b148
lea esi, [ebp - 0x810]
push esi
call fcn.01c52880
add esp, 4
test al, al
je 0x1c4b1c9
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x1c4b11f
push esi
call fcn.01c52880
add esp, 4
test al, al
je 0x1c4b1cc
cmp dword [ebp - 0x810], 0xffffffff
je 0x1c4b1cc
push 0xffffffffffffffff
call fcn.01c528a0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x1cd11ac], ecx
mov eax, dword [ebp - 0x810]
je 0x1c4b148
push eax
call fcn.01c528a0
add esp, 4
mov eax, dword [0x1cd11ac]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x1c4b1c6
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.01c8cb90
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.01c528b0
add esp, 8
push 0x800
call fcn.01ca7989
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.01c8ccf0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.01c528b0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x1c4cf40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x1ced574], 0
jne 0x1c4d190
mov esi, dword [0x1ced564]
test esi, esi
je 0x1c4cf81
test byte [0x1cd11b0], 1
jne 0x1c4d075
jmp 0x1c4d190
push 0xc
call fcn.01ca7989
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.01ca7989
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c4d1a7
mov ebx, eax
cmp eax, 5
jae 0x1c4cfee
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x1c4d014
jmp 0x1c4d027
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.01ca7989
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
lea edi, [ebp - 0x218]
mov dword [esi + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.01c8ccf0
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c4d038
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.01c3f13a
cmp eax, 0xffffffff
mov bl, 1
je 0x1c4d056
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.01c3ee9a
mov ecx, esi
push str.debug.log
call fcn.01c3ebd8
mov dword [0x1ced564], esi
test byte [0x1cd11b0], 1
je 0x1c4d190
cmp byte [esi + 0xb], 0
jns 0x1c4d07d
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01c8cb90
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1c4d18e
cmp eax, 0x104
ja 0x1c4d18e
mov ecx, dword [0x1ced564]
push esi
call fcn.01c3ed5c
mov ecx, dword [0x1ced564]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c4d11b
mov edx, ecx
jmp 0x1c4d120
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1c4d138
push 0x1cb8afe
call fcn.01c3ebd8
mov ecx, dword [0x1ced564]
push str.debug.log
call fcn.01c3ebd8
mov eax, dword [0x1ced564]
cmp byte [eax + 0xb], 0
jns 0x1c4d14f
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
mov dword [0x1ced574], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c3dbd4
int3
Function at 0x1c57470
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x1ced5fc]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c574e4
movzx eax, word [0x1ced5d8]
cmp eax, 0xc
ja case.0x1c574b0.1
xor esi, esi
jmp dword [eax*4 + 0x1cbc358]
mov esi, 2
jmp case.0x1c574b0.0
mov esi, 4
jmp case.0x1c574b0.0
mov esi, 1
jmp case.0x1c574b0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x1ced5fc
call fcn.01ca7989
add esp, 4
cmp dword [0x1ced5fc], 0xffffffff
jne 0x1c574a2
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x1ced5f8], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x1ced5e8], xmm1
movups xmmword [0x1ced5d8], xmm0
push 0x1ced5fc
call fcn.01ca7989
add esp, 4
jmp 0x1c574a2
Function at 0x1c590d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1c5913d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c59110
cmp edx, 1
jne 0x1c59146
jmp 0x1c59162
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1c59162
cmp edx, 2
je 0x1c59159
cmp edx, 3
jne 0x1c5916d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x1c592c8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x1c591d4
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c591e0
mov edx, ebx
cmp ebx, edi
jb 0x1c591e0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c592c8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c592c8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1c59236
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x1c592c6
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c592c6
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c59290
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c5924b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c5922c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c592a8
cmp dword [ebp - 0x10], 0
je 0x1c592c2
cmp byte [esi], dl
jne 0x1c5922c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1c592c2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c59270
jmp 0x1c5922c
cmp dword [ebp - 0x28], 1
jbe 0x1c59220
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1c59223
xor edx, edx
div ecx
mov eax, edx
jmp 0x1c59223
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c592c2
push eax
push esi
push ecx
call fcn.01ca7989
add esp, 0xc
test eax, eax
jne 0x1c5922c
mov ecx, ebx
jmp 0x1c592c8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c5eb60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x1c5ec03
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.01ca7989
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.01c5ead0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.01c5ec20
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x1c5ebed
mov ecx, edi
call fcn.01c5ec70
push edi
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x1c5ec00
push dword [esp + 8]
call fcn.01c8b528
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c61630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x102
ja 0x1c616d8
cmp word [ebp - 0x21a], 0
je 0x1c616a2
xor ecx, ecx
nop word cs:[eax + eax]
nop
lea eax, [ecx + 1]
cmp word [ebp + ecx*2 - 0x218], 0
mov ecx, eax
jne 0x1c61690
jmp 0x1c616a4
xor eax, eax
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.01c532a0
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.01c54760
mov ecx, dword [ebp + 8]
push edi
call fcn.01c533a0
mov ecx, edi
call fcn.01c53360
mov ecx, ebx
call fcn.01c53360
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c66ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x24], edx
push edx
push ecx
push edi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66aff
mov edi, dword [ebp - 0x1c]
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c66b1d
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c66bec
test esi, esi
je 0x1c66bec
mov dword [ebp - 0x20], esi
add esi, esi
mov ecx, 0xffffffff
cmovae ecx, esi
push ecx
call fcn.01ca7989
add esp, 4
mov edi, eax
lea esi, [ebp - 0x1c]
push dword [ebp - 0x24]
push ebx
push esi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66b60
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c66b7c
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp word [edi], 0
mov esi, dword [ebp + 8]
je 0x1c66b9f
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 2], 0
mov ecx, eax
jne 0x1c66b90
jmp 0x1c66ba1
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c45970
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
mov eax, dword [esi]
mov byte [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
push dword [esi]
call fcn.01c8b528
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
push edi
call fcn.01c8b789
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c85f98
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x1cea148]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov ebx, 3
test al, al
je 0x1c85ffd
call dword [sym.imp.kernel32.dll_GetVersion]
and eax, 0xfe
mov ebx, 0x80003
cmp eax, 6
jb 0x1c85ffd
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [esp], 0
call fcn.01c86043
mov dword [edi + 4], eax
mov dword [edi + 8], 1
cmp byte [esi + 0xb], 0
jns 0x1c86005
mov esi, dword [esi]
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1cc1f70]
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]
sub esp, 0x20
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c86258
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1c86319
and eax, 0xfeff
cmp eax, 6
je 0x1c86319
mov eax, dword [0x1ced988]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c86339
push 0x10000000
push 0
push esi
call dword [0x1ced984]
mov esi, eax
test eax, eax
jne 0x1c86312
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c86312
call fcn.01c4dab0
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x1b
push 0x1cc21ad
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4dd00
test esi, esi
setne bl
jmp 0x1c86322
push esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1ced988
call fcn.01ca7989
add esp, 4
cmp dword [0x1ced988], 0xffffffff
jne 0x1c862b7
push 1
push str.::InitializeCriticalSectionEx
push 0x1cb52f0
call fcn.01c865bc
add esp, 0xc
mov dword [0x1ced984], eax
push 0x1ced988
call fcn.01ca7989
add esp, 4
jmp 0x1c862b7

Function at 0x1c86380
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 0x1c89f74
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x38], eax
cmp dword [0x1ced99c], 0
jne 0x1c8a145
push 0x64
call fcn.01ca7989
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c88592
mov dword [0x1ced99c], esi
mov ecx, esi
call fcn.01c88692
test al, al
je 0x1c8a145
xor eax, eax
dec eax
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [esp + 0x20]
mov ecx, esi
push str.type
call fcn.01c3af3a
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edi, [esp + 0x10]
mov ecx, edi
push eax
call fcn.01c3af3a
push esi
push edi
push ebx
call fcn.01c42b46
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c8a00e
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c8a021
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
push 0x1cba058
call fcn.01ca7989
add esp, 4
movzx ecx, byte [esp + 0x37]
test cl, cl
jns 0x1c8a03b
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x1c8a05a
lea ecx, [esp + 0x2c]
push eax
push 0x1cba058
push 0xffffffffffffffff
push 0
call fcn.01c3f25a
test eax, eax
je 0x1c8a132
push dword [0x1ced99c]
call fcn.01c263f0
add esp, 4
mov ecx, dword [0x1ced99c]
movzx eax, byte [ecx + 0x63]
test al, al
jns 0x1c8a079
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1c8a0be
push ebx
push esi
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a094
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push ecx
call fcn.01c7c054
add esp, 8
cmp byte [esp + 0x2b], 0
jns 0x1c8a132
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
jmp 0x1c8a132
mov ecx, esi
call fcn.01c53240
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push ebx
mov ebx, eax
push eax
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a0f0
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push edi
push ebx
push ecx
call fcn.01c7c2a2
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x1c8a116
push dword [esp + 4]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x1c8a129
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
lea ecx, [esp + 0x20]
call fcn.01c53360
cmp byte [esp + 0x37], 0
jns 0x1c8a145
push dword [esp + 0x2c]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x461910
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x461924
call fcn.00461890
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x461917
pop esi
cmp ebx, 0x2d
jne 0x46193e
mov dword [0x85fb98], 0xa62e7790
mov dword [0x85fb9c], 0xffffffff
ret

Function at 0x461940
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x46c004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x46cdb8]
push ebx
mov ebx, dword [0x85fb8c]
push edi
mov edi, dword [0x85d70c]
call fcn.004618e0
cmp dword [0x85fb8c], 0x2f
jne 0x4619ad
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00461910
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010cc
add esp, 0x24
ret