joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ea130
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 [0x103c2010]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x101ea1f5
mov esi, ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0x9ffffff
lea edx, [esp + 0xc]
cmp edx, str.discarded
ja 0x101ea187
lea eax, [esp + 0x15]
cmp eax, str.discarded
ja 0x101ea20c
mov dword [esp + 0x10], 0x65647261
mov dword [esp + 0xc], 0x63736964
mov word [esp + 0x14], 0x64
mov edi, esp
mov ecx, esi
push edx
push edi
call fcn.101ea0a0
push 0x48
call fcn.102f3c36
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.101eadc0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x101ea1df
mov ecx, edi
call fcn.101eaeb0
push edi
call fcn.102f3c66
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x101ea1f2
push dword [esp + 0xc]
call fcn.102f3c66
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xee
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.10090eb0
int3

Function at 0x101eb620
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.102f7d80
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x5c
call fcn.102f3c36
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x103ca65c]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101eb6de
mov ecx, esi
push ebx
push 0x103ca638
push edi
call fcn.101ebac0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x103ca65c
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca65c], 0xffffffff
jne 0x101eb6b9
xorps xmm0, xmm0
movups xmmword [0x103ca648], xmm0
movups xmmword [0x103ca638], xmm0
mov dword [0x103ca658], 0
push 0x103ca638
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x103ca65c
call fcn.102f3d4d
add esp, 4
jmp 0x101eb6b9
Function at 0x101eb7f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x128
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x10364072
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x101eba07
push 0xd
push str.RtlGetVersion
push eax
call fcn.101f5430
add esp, 0xc
test eax, eax
je 0x101eba07
mov esi, eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.102f7d80
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
mov ecx, esi
call dword [section..00cfg]
lea edi, [ebp - 0x12c]
push edi
call esi
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x5c
call fcn.102f3c36
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x103ca65c]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101eb97f
mov ecx, esi
push ebx
push 0x103ca638
push edi
call fcn.101ebac0
mov eax, dword [0x103ca624]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101eb9d1
mov edi, dword [0x103ca620]
mov eax, dword [esi]
mov dword [edi], eax
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 4], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
movsd xmm0, qword [esi + 0x18]
movsd qword [edi + 0x18], xmm0
lea ebx, [esi + 0x2c]
lea ecx, [edi + 0x2c]
push ebx
call fcn.100903c0
test esi, esi
je 0x101eb93a
cmp byte [esi + 0x5b], 0
js 0x101eb951
cmp byte [esi + 0x37], 0
js 0x101eb962
cmp byte [esi + 0x2b], 0
js 0x101eb972
push esi
call fcn.102f3c66
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
add esp, 0x128
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esi + 0x50]
call fcn.102f3c66
add esp, 4
cmp byte [esi + 0x37], 0
jns 0x101eb92b
push dword [ebx]
call fcn.102f3c66
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x101eb931
push dword [esi + 0x20]
call fcn.102f3c66
add esp, 4
jmp 0x101eb931
push 0x103ca65c
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca65c], 0xffffffff
jne 0x101eb8be
xorps xmm0, xmm0
movups xmmword [0x103ca648], xmm0
movups xmmword [0x103ca638], xmm0
mov dword [0x103ca658], 0
push 0x103ca638
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x103ca65c
call fcn.102f3d4d
add esp, 4
jmp 0x101eb8be
push 0x103ca624
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca624], 0xffffffff
jne 0x101eb8ed
call fcn.101eb620
mov dword [0x103ca620], eax
push 0x103ca624
call fcn.102f3d4d
add esp, 4
jmp 0x101eb8ed
int3
Function at 0x101eba10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x103ca65c]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101eba66
movzx eax, word [0x103ca638]
cmp eax, 0xc
ja case.0x101eba3c.1
jmp dword [eax*4 + 0x10364128]
mov eax, 3
pop ebp
ret
mov eax, 5
pop ebp
ret
mov eax, 2
pop ebp
ret
mov eax, 1
pop ebp
ret
mov eax, 4
pop ebp
ret
push 0x103ca65c
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca65c], 0xffffffff
jne 0x101eba30
xorps xmm0, xmm0
movups xmmword [0x103ca648], xmm0
movups xmmword [0x103ca638], xmm0
mov dword [0x103ca658], 0
push 0x103ca638
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x103ca65c
call fcn.102f3d4d
add esp, 4
jmp 0x101eba30

Function at 0x101ec430
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x208
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x1b
push str....._basewinwin_util.cc
call fcn.1021fb90
add esp, 8
test eax, eax
jle 0x101ec48e
lea esi, [ebp - 0x20c]
mov ecx, esi
push 0xffffffffffffffff
push 0x610
push str....._basewinwin_util.cc
call fcn.1021fbd0
lea eax, [ebp - 0x204]
push 0x19
push str.Checking_if_internal_user
push eax
call fcn.1008c824
add esp, 0xc
mov ecx, esi
call fcn.1021ffb0
lea eax, [ebp - 0x20a]
push 0x1fe
push 0xff
push eax
call fcn.102f7d80
add esp, 0xc
mov word [ebp - 0x20c], 0
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x20c]
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x101ec4f8
push esi
call fcn.1030fc76
add esp, 4
push 1
push 0x13
push str..corp.microsoft.com
push eax
push esi
call fcn.101f2a00
add esp, 0x14
test al, al
je 0x101ec4f8
mov bl, 1
jmp 0x101ec525
mov eax, dword [0x103ca68c]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101ec53b
cmp byte [0x103ca68a], 0
setne bl
and bl, byte [0x103ca688]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x208
pop esi
pop ebx
pop ebp
ret
push 0x103ca68c
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca68c], 0xffffffff
jne 0x101ec515
call fcn.101ed6d0
mov byte [0x103ca68a], al
push 0x103ca68c
call fcn.102f3d4d
add esp, 4
jmp 0x101ec515
Function at 0x101ee870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [ecx + 4]
lea eax, [ebx + 1]
cmp eax, 1
ja 0x101ee8ed
sub esp, 0x10
movaps xmm0, xmmword [0x1035f7d0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp dword [esi + 4], eax
je 0x101ee8ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x101ee8d3
call fcn.10221d90
push dword [esi + 4]
call fcn.101ee6e0
add esp, 4
mov dword [esi + 4], 0
mov eax, ebx
inc eax
cmp eax, 2
jb 0x101ee8e3
mov dword [esi + 4], ebx
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 4]
lea edi, [ebp + 0xc]
lea eax, [ebx + 1]
cmp eax, 2
jae 0x101ee917
xor ebx, ebx
mov ecx, edi
call fcn.10223210
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 1
push ebx
push 0x1000000f
push 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x101ee950
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x101ee8f8
call fcn.10221d90
push dword [esi + 4]
call fcn.101ee6e0
add esp, 4
mov dword [esi + 4], 0
jmp 0x101ee8f8
lea ecx, [esi + 0x34]
push edi
call fcn.10223150
lea ebx, [esi + 8]
lea eax, [ebp - 0x20]
push 0x61
push str....._basewin_registry.cc
push str.StartWatching
push eax
call fcn.10221d60
add esp, 0x10
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
push esi
push dword [esi + 4]
call fcn.101ef1d0
mov ebx, eax
jmp 0x101ee8fa

Function at 0x101eec10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x11], 0xff
mov ebx, dword [ecx]
lea edi, [ebp - 0x24]
push 0x1a7
push str....._basewin_registry.cc
push str.ReadValue
push edi
call fcn.10221d60
add esp, 0x10
lea ecx, [ebp - 0x11]
push 1
push ebx
push edi
call fcn.10269ff0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
push eax
push ecx
push edx
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x11]
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
test esi, esi
jne 0x101eecae
mov eax, dword [ebp - 0x28]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x101eecae
cmp dword [ebp - 0x2c], 4
jne 0x101eecae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x101eecd0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.102f5080
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x810]
push 0x800
push 0xff
push eax
call fcn.102f7d80
add esp, 0xc
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
mov byte [ebp - 0x1011], 0xff
mov edi, dword [esi]
lea ebx, [ebp - 0x1010]
push 0x1a7
push str....._basewin_registry.cc
push str.ReadValue
push ebx
call fcn.10221d60
add esp, 0x10
lea ecx, [ebp - 0x1011]
push 1
push edi
push ebx
call fcn.10269ff0
lea eax, [ebp - 0x101c]
lea ecx, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
lea ecx, [ebp - 0x1011]
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
test edi, edi
jne 0x101eedec
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1018]
cmp eax, 2
je 0x101eeda5
mov edi, 0x3f4
cmp eax, 1
jne 0x101eedec
mov ecx, esi
lea eax, [ebp - 0x810]
push eax
jmp 0x101eede5
push 0x800
push 0xff
push ebx
call fcn.102f7d80
add esp, 0xc
push 0x400
push ebx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x101eedec
mov ecx, esi
push ebx
call fcn.101e0f9c
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x101f01f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov edx, dword [0x103c2010]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
test cl, cl
je 0x101f0248
lea ecx, [ebp - 0x18]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x101f026b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x101f0273
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp ebx, 0xffffffff
je 0x101f0277
call fcn.10221d90
jmp 0x101f0279
or esi, 8
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x101f026b
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x101f02bd
jmp 0x101f02e0
mov byte [edi], 0
jmp 0x101f031d
xor ebx, ebx
jmp 0x101f0283
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], 0xffffffff
or esi, 8
lea eax, [ebp - 0x14]
push eax
push 2
push 1
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov esi, dword [ebp - 0x14]
cmovne eax, esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101f0304
lea eax, [ebx + 1]
cmp eax, 2
jae 0x101f0331
mov dword [ebp - 0x14], 0
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esi + 1]
cmp eax, 2
jb 0x101f02d7
mov dword [ebp - 0x14], esi
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, ebx
mov byte [edi], 1
mov ecx, edi
add ecx, 4
lea eax, [ebp - 0x14]
push eax
call fcn.100bc480
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 2
jb 0x101f031d
call fcn.10221d90
push dword [ebp - 0x14]
jmp 0x101f0315
mov byte [edi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x101f031d
call fcn.10221d90
push ebx
call fcn.101ee6e0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10221d90
push ebx
call fcn.101ee6e0
add esp, 4
jmp 0x101f025b
Function at 0x101f1290
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x103ca750]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x101f140c
jp 0x101f140c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x103ca760]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101f1431
mov eax, dword [0x103ca770]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101f146a
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea ebx, [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x103ca768]
sbb edi, dword [0x103ca76c]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm0, qword [esp + 0x30]
pxor xmm1, xmm1
movsd xmm2, qword [0x10364b38]
ucomisd xmm2, xmm0
ja 0x101f140c
mov eax, dword [esp + 8]
sub eax, dword [0x103ca758]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x103ca75c]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x1035c540]
subpd xmm2, xmmword [0x1035c550]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x103ca750], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.102f4c53
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x103ca760
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca760], 0xffffffff
jne 0x101f1302
rdtsc
mov dword [0x103ca758], eax
mov dword [0x103ca75c], edx
push 0x103ca760
call fcn.102f3d4d
add esp, 4
jmp 0x101f1302
push 0x103ca770
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca770], 0xffffffff
jne 0x101f1323
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x103ca76c], ecx
mov dword [0x103ca768], eax
push 0x103ca770
call fcn.102f3d4d
add esp, 4
jmp 0x101f1323
Function at 0x101f1960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x101f19ba
mov eax, dword [0x103c5a34]
cmp eax, 0xffffffff
jne 0x101f19a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x103c5a34
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x101f19ab
mov eax, dword [0x103c5a34]
mov ebx, 0x100000
test eax, eax
jne 0x101f19ba
jmp 0x101f19b5
mov dword [0x103c5a34], 0
mov ebx, 0x80000
push 0x10
call fcn.102f3c36
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x103d0020]
bt ecx, eax
jae 0x101f19e7
push edi
call fcn.10090eb8
add esp, 4
jmp 0x101f19f3
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x103d8020], 1
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push 0
push 0x10000
push esi
push 0x101f1e10
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x101f1a2c
test edi, edi
je 0x101f1a82
mov dword [edi], eax
jmp 0x101f1a8d
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x101f1a45
cmp eax, 0x5af
je 0x101f1a45
cmp eax, 0xe
jne 0x101f1aa6
push ebx
call fcn.10268f70
add esp, 4
test esi, esi
mov eax, edi
je 0x101f1a8d
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x103d0020]
bt edx, ecx
jae 0x101f1a75
push eax
call fcn.10090faa
add esp, 4
push esi
call fcn.102f3c66
add esp, 4
mov eax, edi
jmp 0x101f1a8d
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], eax
mov eax, dword [0x103ca7b4]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101f1b0a
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call fcn.102106d0
add esp, 8
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x101f1ae3
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x103ca7b0]
call fcn.101fd9d0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x101f1a4e
push dword [ebp - 0x1c]
call fcn.102f3c66
jmp 0x101f1a4b
push 0x103ca7b4
call fcn.102f3cd7
add esp, 4
cmp dword [0x103ca7b4], 0xffffffff
jne 0x101f1ac6
push 0x20
push str.create_thread_last_error
call fcn.101fd990
add esp, 8
mov dword [0x103ca7b0], eax
push 0x103ca7b4
call fcn.102f3d4d
add esp, 4
jmp 0x101f1ac6
Function at 0x101f1f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
push 0
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], 0
test eax, eax
je 0x101f1fd2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x101f1fa7
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
add esp, 4
mov dword [esi], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x101f1fb6
mov dword [esi], edi
call fcn.10221d90
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 0
inc eax
cmp eax, 1
jbe 0x101f1fd9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov byte [esi + 4], 0
int3
int3

Function at 0x101f35a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx edx, byte [0x103ca7c4]
test dl, 1
jne 0x101f35c6
test ecx, ecx
je 0x101f35c4
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x101f35d1
pop ebp
ret
call fcn.10265c30
pop ebp
jmp fcn.102679a0
int3

Function at 0x101f35e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x101f3630
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x101f361a
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x101f3629
mov dword [esi], ebx
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x101f3647
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x101f3650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x101f3671
call fcn.10221d90
mov dword [esi], 0
test edi, edi
je 0x101f3695
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x101f36cc
cmp ebx, 2
jae 0x101f36ec
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x101f36c0
call fcn.10221d90
push dword [edi]
call fcn.101ee6e0
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x101f368e
mov dword [esi], edi
mov edi, eax
call fcn.10221d90
mov eax, edi
jmp 0x101f368e