joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c57e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c57e73
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x1c57e5d
cmp dword [ebp - 0x18], 4
jne 0x1c57e5d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x1c57e5d

Function at 0x1c57e80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.01c8fdf0
mov esi, ecx
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.01c92240
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c57f0f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x1c57f13
mov ecx, esi
push edi
call fcn.01c484a0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x1c57ef6
cmp eax, 2
jne 0x1c57f5c
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.01c92240
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1c57f55
mov ecx, esi
push ebx
jmp 0x1c57eef
mov esi, 0xea
jmp 0x1c57ef6
mov esi, 0x3f4
jmp 0x1c57ef6

Function at 0x1c58300
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 0x1c58317
test eax, eax
je 0x1c58317
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x1c58325
mov ecx, dword [0x1d168e0]
test ecx, ecx
jne 0x1c58361
cmp dword [0x1d168d8], 0
je 0x1c58311
mov esi, dword [0x1d168dc]
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 0x1c5836b
test esi, esi
je 0x1c58311
mov ecx, dword [0x1d168d8]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1c58311
call dword [section..00cfg]
call ecx
jmp 0x1c58325
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1c58349
Function at 0x1c5a920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d05ff4]
cmp eax, 0xffffffff
je 0x1c5a940
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 0x1c5a93e

Function at 0x1c5a950
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1d05ff4]
cmp eax, 0xffffffff
je 0x1c5aa11
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1c5aa11
mov eax, dword [0x1d17568]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5aa1b
mov edi, dword [0x1d17564]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c5aa60
mov ecx, dword [0x1d16960]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d16964], 0
jne 0x1c5aa6c
lea eax, [eax*4 + 0x1d16964]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1d16968], ecx
mov dword [0x1d16960], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1d1696c]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x1c5aa7b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.01c5aa80
jmp 0x1c5a975
push 0x1d17568
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d17568], 0xffffffff
jne 0x1c5a996
push 4
call fcn.01c8ea6e
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c75560
mov dword [0x1d17564], edi
push 0x1d17568
call fcn.01c8eb8d
add esp, 4
jmp 0x1c5a996
mov ecx, edi
call fcn.01c75570
jmp 0x1c5a9ab
inc edx
cmp edx, 0x100
jne 0x1c5a9b4
jmp 0x1c5a9fb
int3
Function at 0x1c5aa80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x1d05ff4]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x1c5ab2d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1c5ab76
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.01c92240
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.01c62650
add esp, 8
push edi
call fcn.01c8ead3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.01c91cc0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.01c62650
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.01c62630
add esp, 4
test al, al
je 0x1c5ab79
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x1c5ab7c
xor eax, eax
dec eax
lock cmpxchg dword [0x1d05ff4], ecx
je 0x1c5aab1
push ecx
call fcn.01cdbfc0
add esp, 4
mov ecx, dword [0x1d05ff4]
mov dword [ebp - 0x814], ecx
jmp 0x1c5aab1
int3
int3
push esi
call fcn.01c62630
add esp, 4
test al, al
je 0x1c5aba4
cmp dword [ebp - 0x814], 0xffffffff
je 0x1c5aba4
push 0xffffffffffffffff
call fcn.01cdbfc0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x1c5ab4b
int3

Function at 0x1c5ac70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, ecx
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [esp + 0x1c], eax
push dword [0x1d05ff4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x1c5ace3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x11e1a300
mov esi, esp
push 0x1db
push str....._base_threading_thread_local_storage.cc
push 0x1cf7fc6
push esi
call fcn.01c75880
add esp, 4
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.01cccec0
add esp, 0xc
xor esi, esi
jmp 0x1c5acf8
xor esi, esi
and eax, 0xfffffffc
je 0x1c5acf8
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
jne 0x1c5acf8
mov esi, dword [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x1c65a40
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 [0x1d02014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x1c65a70
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x1c65b70
push 0
push eax
push 0x1c65a20
push 0x1d18b6c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1c65b6b
cmp dword [0x1d18b70], 0
jne 0x1c65a5c
push dword [0x1d18b74]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1c65a5c
mov esi, eax
mov eax, 0x1d18b78
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x1d18b7c]
mov ebx, dword [0x1d18b80]
mov eax, dword [0x1d18b84]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1d18b88]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1d18b8c]
mov dword [ebp - 0x24], eax
mov eax, 0x1d18b78
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x1c65b04
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 0x1c65b19
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 0x1c65b2f
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 0x1c65b48
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x1c65b5d
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.01c898e0
add esp, 4
jmp 0x1c65a5c
call fcn.01ca2aa0
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1d18b74], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x1d18b70], ecx
pop ebp
ret
Function at 0x1c66340
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 0x1c6635e
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x1c66361
and eax, 0x7f
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 4
jb 0x1c6639c
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 0x1c66376
cmp edx, 1
je 0x1c663bd
cmp edx, 2
je 0x1c663b4
cmp edx, 3
jne 0x1c663c8
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 0x1c664e6
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 0x1c664f9
mov edx, esi
cmp esi, dword [ebp - 0x10]
jb 0x1c66441
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 0x1c664e6
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c664e6
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 0x1c664ad
movzx edx, byte [ebx + 0x13]
mov eax, edx
and eax, 0x7f
mov ecx, eax
test dl, dl
jns 0x1c66485
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x1c664c4
lea ecx, [ebx + 8]
test dl, dl
jns 0x1c66493
mov ecx, dword [ecx]
js 0x1c664cc
test al, al
je 0x1c664e4
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
mov edi, eax
cmp dl, byte [esi + ecx]
jne 0x1c664c4
inc ecx
cmp eax, ecx
jne 0x1c6649b
jmp 0x1c664e4
cmp dword [ebp - 0x28], 1
jbe 0x1c66506
cmp eax, dword [ebp - 0x10]
jb 0x1c664bf
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x1c664f5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1c6646b
jmp 0x1c664f5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c664e4
push eax
push dword [ebp - 0x1c]
push ecx
call fcn.01c90dad
add esp, 0xc
test eax, eax
jne 0x1c664c4
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 0x1c664e6
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
and edx, esi
jmp 0x1c66441
and eax, dword [ebp - 0x20]
jmp 0x1c664bf
Function at 0x1c68890
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x1c6897f
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x14], 7
mov ebx, 0
jb 0x1c688d2
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x19], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x1c689aa
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x1c689ae
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x18], dh
test dh, dh
je 0x1c689b3
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1c68956
mov dh, byte [esi + 0x18]
jmp 0x1c6899e
cmp byte [esi + 0x19], 0
je 0x1c689a2
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x1c689a2
cmp ecx, 0x666f736f
jne 0x1c689a2
cmp edx, 0x76482074
jne 0x1c689a2
mov byte [esi + 0x18], 1
jmp 0x1c689a2

Function at 0x1c6cf20
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x1c6cf37
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x1c6cf3a
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x1c6cf76
nop word cs:[eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c6cf50
cmp edx, 1
je 0x1c6cf97
cmp edx, 2
je 0x1c6cf8e
cmp edx, 3
jne 0x1c6cfa2
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x1c73c30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d13c64]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c73c7d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, 0x1d13c60
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1d13c64
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d13c64], 0xffffffff
jne 0x1c73c63
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.01c92240
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.01c8ea6e
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x1d13c94]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c73d26
mov ecx, esi
push ebx
push 0x1d13c70
push edi
call fcn.01c4f340
mov dword [0x1d13c60], esi
push 0x1d13c64
call fcn.01c8eb8d
add esp, 4
jmp 0x1c73c63
push 0x1d13c94
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d13c94], 0xffffffff
jne 0x1c73d00
xorps xmm0, xmm0
movups xmmword [0x1d13c80], xmm0
movups xmmword [0x1d13c70], xmm0
mov dword [0x1d13c90], 0
push 0x1d13c70
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1d13c94
call fcn.01c8eb8d
add esp, 4
jmp 0x1c73d00
Function at 0x1c73d80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d13c64]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c73dd0
mov esi, dword [0x1d13c60]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1d13c64
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d13c64], 0xffffffff
jne 0x1c73db3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.01c92240
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.01c8ea6e
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x1d13c94]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c73e79
mov ecx, esi
push ebx
push 0x1d13c70
push edi
call fcn.01c4f340
mov dword [0x1d13c60], esi
push 0x1d13c64
call fcn.01c8eb8d
add esp, 4
jmp 0x1c73db3
push 0x1d13c94
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d13c94], 0xffffffff
jne 0x1c73e53
xorps xmm0, xmm0
movups xmmword [0x1d13c80], xmm0
movups xmmword [0x1d13c70], xmm0
mov dword [0x1d13c90], 0
push 0x1d13c70
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1d13c94
call fcn.01c8eb8d
add esp, 4
jmp 0x1c73e53
Function at 0x1c7ab20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x1c7ab9e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x1c7ab87
lea eax, [edi + 1]
cmp eax, 2
jb 0x1c7ab6b
mov dword [esi], edi
call fcn.01c758b0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x1c7aba2
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.01c758b0
push dword [esi]
call fcn.01c76370
add esp, 4
mov dword [esi], 0
jmp 0x1c7ab5c
mov byte [esi + 4], 1
int3
Function at 0x1c81230
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.01c8fdf0
mov eax, dword [0x1d02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d05ff4]
cmp eax, 0xffffffff
je 0x1c81383
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1c81383
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.01c91cc0
add esp, 0xc
mov ecx, dword [0x1d05ff4]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.01c62650
add esp, 8
test ebx, ebx
je 0x1c812ab
push ebx
call fcn.01c8eadc
add esp, 4
mov eax, dword [0x1d17568]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c81398
mov esi, dword [0x1d17564]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c813dd
lea eax, [ebp - 0x1410]
push 0xc00
push 0x1d16964
push eax
call fcn.01c91cc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
test al, 1
je 0x1c81373
mov dword [ebp - 0x1418], ecx
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x1c8132c
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x1c8136a
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x1c81320
cmp dword [edi - 8], 0
je 0x1c81320
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x1c81320
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x1c81320
mov dword [ebp + ebx*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x1c81320
mov ecx, dword [ebp - 0x1418]
dec ecx
jne 0x1c81308
push 2
push dword [ebp - 0x1414]
call fcn.01c62650
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8f4d3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1d17568
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d17568], 0xffffffff
jne 0x1c812cc
push 4
call fcn.01c8ea6e
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c75560
mov dword [0x1d17564], esi
push 0x1d17568
call fcn.01c8eb8d
add esp, 4
jmp 0x1c812cc
mov ecx, esi
call fcn.01c75570
jmp 0x1c812e1

Function at 0x1c88d10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d18b50]
mov ecx, dword [0x1d06174]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c88d3b
mov ecx, 0x1d18b48
pop ebp
jmp fcn.01c5ac70
push 0x1d18b50
call fcn.01c8eb17
add esp, 4
cmp dword [0x1d18b50], 0xffffffff
jne 0x1c88d30
xor eax, eax
mov dword [0x1d18b4c], eax
mov dword [0x1d18b48], eax
mov ecx, 0x1d18b48
push eax
call fcn.01c5ad10
push 0x1d18b50
call fcn.01c8eb8d
add esp, 4
jmp 0x1c88d30