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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x10012022
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x10012030
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x10012048
cmp dword [ecx + 8], esi
jne 0x10012020
cmp ecx, eax
je 0x10012048
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x100120a5
mov edi, dword [eax]
mov esi, dword [edi + 4]
push 0x24
call fcn.1005c8e1
add esp, 4
mov ebx, eax
test edi, edi
mov eax, edi
cmove eax, ebx
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, esi
cmove eax, ebx
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 8], eax
call fcn.10005bb0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x71c71c6
je 0x100120af
inc eax
mov dword [ecx + 8], eax
mov dword [edi + 4], ebx
mov dword [esi], ebx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.100120c0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.list_T__too_long
call fcn.1005ca31
int3
Function at 0x10015cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 4], edx
xor ebx, ebx
mov edi, ecx
mov eax, dword [0x10096024]
xor eax, ebp
test ecx, ecx
setne bl
mov dword [esp + 0x20], eax
shl ebx, 0x10
push 0xc
call fcn.1005c8e1
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
cmp dword [ebp + 8], 0
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
setne byte [esi + 4]
mov dword [esi + 8], eax
lea eax, [esp + 8]
push eax
call fcn.1002ed20
add esp, 4
push 0
push ebx
push esi
push 0x10015fe0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
lea eax, [esp + 0x10]
push eax
call fcn.1002ed20
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 8]
sbb ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x10097984]
test ecx, ecx
jne 0x10015d8d
push 1
push 0x32
push 0
push 0x989680
push 0
push 0x3e8
push str.Windows.CreateThreadTime
call fcn.10029bb0
add esp, 0x1c
mov ecx, eax
mov dword [0x10097984], eax
lea eax, [esp + 0x18]
push eax
call fcn.10027750
test edi, edi
je 0x10015da6
mov eax, dword [ebp + 8]
test eax, eax
je 0x10015db3
mov dword [eax], edi
jmp 0x10015dba
push esi
call fcn.1005c911
add esp, 4
xor ebx, ebx
jmp 0x10015dbc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001f240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [0x10096024]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
call fcn.10040db0
mov ecx, edx
mov ebx, 0xfffffec9
mov dword [esi + 0x13ac], 0x55555555
mov dword [esi + 0x13a8], 0x55555555
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
nop dword [eax]
imul edi, ecx, 0x4c957f2d
shr ecx, 0x1e
mov edx, 0x4c957f2d
xor ecx, eax
mov eax, ecx
imul ecx, ecx, 0x5851f42d
mul edx
add ecx, edx
lea edx, [ebx + 0x138]
add eax, edx
adc ecx, edi
mov dword [esi + ebx*8 + 0x9e8], eax
mov dword [esi + ebx*8 + 0x9ec], ecx
inc ebx
jne 0x1001f2b0
xorpd xmm0, xmm0
mov edi, esp
lea ecx, [esi + 0x13c0]
mov dword [esi + 0x20], 0x138
movhpd xmm0, qword [0x10080628]
movupd xmmword [esi + 0x13b0], xmm0
push eax
mov eax, dword [ebp + 8]
mov edx, esp
mov eax, dword [eax]
test eax, eax
mov dword [edx], eax
je 0x1001f31b
lock inc dword [eax]
call fcn.10040fe0
mov esp, edi
lea eax, [esi + 0x1408]
mov dword [esi + 0x13fc], 0
mov dword [esi + 0x1400], 0
mov dword [esi + 0x1404], 0
mov dword [esi + 0x1408], eax
mov dword [esi + 0x140c], eax
lea eax, [esi + 0x1420]
mov dword [esi + 0x1414], 0
mov dword [esi + 0x1410], 0
mov dword [esi + 0x141c], 0
mov dword [esi + 0x1418], 0
mov dword [esi + 0x1420], eax
mov dword [esi + 0x1424], eax
mov dword [esi + 0x1428], 0
mov dword [esi + 0x142c], 0
mov dword [esi + 0x1430], 0
push 0x14
call fcn.1005c8e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x142c], eax
push 0x20
call fcn.1005c8e1
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.10041570
mov dword [esi + 0x1434], edi
mov dword [esi + 0x143c], 0
mov dword [esi + 0x1438], 0
mov dword [esi + 0x1448], 0
mov dword [esi + 0x1444], 0
mov dword [esi + 0x1440], 0
push 0x14
call fcn.1005c8e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x1444], eax
mov dword [esi + 0x144c], 0
mov dword [esi + 0x1450], 0
push 0x18
call fcn.1005c8e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x144c], eax
mov dword [esi + 0x1454], 0
mov dword [esi + 0x1458], 0
push 0x18
call fcn.1005c8e1
add esp, 4
lea edx, [esi + 0x147c]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x1454], eax
mov word [esi + 0x145c], 0
lea ecx, [esi + 0x1460]
mov dword [esi + 0x1464], 0
mov dword [esi + 0x1460], 0
mov dword [esi + 0x146c], 0
mov dword [esi + 0x1468], 0
mov dword [esi + 0x1478], 0
mov dword [esi + 0x1474], 0
mov dword [esi + 0x1470], 0
mov dword [esi + 0x147c], edx
mov dword [esi + 0x1480], edx
mov dword [esi + 0x1484], 0
push 0xa
call fcn.100247a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10022ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, ecx
nop word cs:[eax + eax]
mov ebp, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov ebx, ebp
mov ecx, esi
mov eax, ebp
mov edx, esi
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [edi + 0x18]
xor edx, esi
xor eax, ebp
or eax, edx
jne 0x10022ef0
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
mov dword [eax + 4], esi
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x100272e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x10027356
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x10080c0c]
cmp esi, edx
jb 0x10027300
jmp 0x10027358
xor ebx, ebx
cmp ebx, dword [ecx + 0xc]
sete al
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10027370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x100273e6
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x10080c0c]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x10080c0c]
cmp esi, edx
jb 0x10027390
jmp 0x100273e8
xor ebx, ebx
mov dword [ecx + 0xc], ebx
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10096024]
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x1c]
mov ecx, esi
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.10034db0
cmp dword [edi + 0x14], 7
jbe 0x1002c12a
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
setne bl
call fcn.10034e60
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1002c160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x240
mov eax, dword [0x10096024]
lea esi, [ebp - 0x21a]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor ebx, ebx
cmp eax, 0x102
ja 0x1002c1e4
cmp word [ebp - 0x21a], 0
je 0x1002c1ae
xor ebx, ebx
nop
cmp word [ebp + ebx*2 - 0x218], 0
lea ebx, [ebx + 1]
jne 0x1002c1a0
lea edi, [ebp - 0x24c]
mov ecx, edi
push ebx
push esi
call fcn.10005cf0
lea ebx, [ebp - 0x234]
mov ecx, edi
push ebx
call fcn.10007610
mov ecx, dword [ebp + 8]
push ebx
call fcn.10005e80
mov ecx, ebx
call fcn.10005da0
mov ecx, edi
call fcn.10005da0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x240
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1002c200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x224
mov eax, dword [0x10096024]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x214]
xor eax, ebp
mov dword [ebp - 0xc], eax
push edi
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1002c259
movzx eax, word [ebp - 0x214]
test ax, ax
je 0x1002c259
xor eax, eax
nop
cmp word [ebp + eax*2 - 0x212], 0
lea eax, [eax + 1]
jne 0x1002c240
mov ecx, esi
push eax
push edi
call fcn.10005cf0
jmp 0x1002c294
lea edi, [ebp - 0x22c]
mov ecx, edi
call fcn.10005bb0
push edi
call fcn.1002c160
add esp, 4
mov ecx, esi
test al, al
je 0x1002c27d
push edi
call fcn.10005ca0
jmp 0x1002c289
push 3
push 0x100813a8
call fcn.10005cf0
lea ecx, [ebp - 0x22c]
call fcn.10005da0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005c924
mov eax, esi
add esp, 0x224
pop esi
pop edi
pop ebp
ret
Function at 0x1002c2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x260
mov eax, dword [0x10096024]
lea ecx, [ebp - 0x26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.10034db0
lea edi, [ebp - 0x218]
mov word [ebp - 0x218], 0
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x1002c2fd
xor ebx, ebx
jmp 0x1002c402
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], 0
push edi
call fcn.1006bc40
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x1002c34b
sub esp, 0xc
mov al, byte [ebp - 0x248]
lea ecx, [ebp - 0x230]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.10001a2a
jmp 0x1002c370
mov eax, esi
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x230]
add eax, esi
push eax
push edi
push ecx
call fcn.10061230
add esp, 0xc
mov word [ebp + esi*2 - 0x230], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
jbe 0x1002c38a
mov edx, dword [ebp - 0x230]
jmp 0x1002c390
lea edx, [ebp - 0x230]
lea edi, [ebp - 0x260]
mov ecx, edi
push eax
push edx
call fcn.10005cf0
lea ebx, [ebp - 0x248]
mov ecx, edi
push ebx
call fcn.10007610
mov ecx, esi
push ebx
call fcn.10005e80
mov ecx, ebx
call fcn.10005da0
mov ecx, edi
call fcn.10005da0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x1002c400
mov eax, dword [ebp - 0x230]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x1002c3f6
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x1002c424
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.1005c916
add esp, 8
mov bl, 1
lea ecx, [ebp - 0x26c]
call fcn.10034e60
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x260
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10067a70
int3
Function at 0x1002c440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x10096024]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x4c], 0
je 0x1002c49f
cmp dword [esi + 0x38], 0
je 0x1002c4ca
cmp byte [esi + 0x3d], 0
je 0x1002c4ca
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x1002c4cc
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x34]
lea edx, [esi + 0x40]
mov edi, dword [ecx]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push edx
call dword [edi + 0x20]
test eax, eax
je 0x1002c4a3
cmp eax, 1
je 0x1002c4a7
cmp eax, 3
je 0x1002c4ca
jmp 0x1002c4cc
xor edi, edi
jmp 0x1002c4de
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
sub edi, eax
je 0x1002c4c4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006a49c
add esp, 0x10
cmp edi, eax
jne 0x1002c4cc
cmp byte [esi + 0x3d], 0
jne 0x1002c4cc
mov ebx, esi
push dword [esi + 0x4c]
call fcn.100692c3
add esp, 4
xor edi, edi
test eax, eax
cmove edi, ebx
lea eax, [esi + 4]
mov byte [esi + 0x48], 0
mov byte [esi + 0x3d], 0
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x10097b68]
mov ecx, dword [0x10097b6c]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1002e6a0
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, 0x38
mov eax, dword [0x10096024]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x10097b98]
ucomisd xmm1, xmm0
jne 0x1002e824
jp 0x1002e824
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x10097ba8]
mov ecx, dword [0x100979b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1002e849
mov eax, dword [0x10097bb8]
mov ecx, dword [0x100979b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1002e883
rdtsc
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x10097bb0]
movsd xmm2, qword [0x100816d8]
sbb ebx, dword [0x10097bb4]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x10080640]
subpd xmm1, xmmword [0x10080650]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addpd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x1002e824
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x10097ba0]
sbb ecx, dword [0x10097ba4]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x10080640]
subpd xmm2, xmmword [0x10080650]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addpd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x10097b98], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1005c924
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10097ba8
call fcn.1005cb35
add esp, 4
mov eax, dword [0x10097ba8]
cmp eax, 0xffffffff
jne 0x1002e712
rdtsc
mov dword [0x10097ba4], edx
mov dword [0x10097ba0], eax
push 0x10097ba8
call fcn.1005cb87
add esp, 4
jmp 0x1002e712
push 0x10097bb8
call fcn.1005cb35
add esp, 4
mov eax, dword [0x10097bb8]
cmp eax, 0xffffffff
jne 0x1002e733
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd xmm0, qword [esp + 0x28]
movsd qword [0x10097bb0], xmm0
push 0x10097bb8
call fcn.1005cb87
add esp, 4
jmp 0x1002e733
Function at 0x1002ed60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.1005e640
mov eax, dword [0x10096024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x10096058]
cmp eax, 0xffffffff
je 0x1002eec0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002eec0
mov esi, eax
cmp eax, 1
jne 0x1002edab
push 0
push dword [0x10096058]
jmp 0x1002eeb8
lea edi, [ebp - 0x810]
push 0x800
push esi
push edi
call fcn.10061230
add esp, 0xc
mov eax, dword [0x10096058]
push edi
mov dword [ebp - 0x1414], eax
push eax
call fcn.100505b0
add esp, 8
push esi
call fcn.1005cb09
add esp, 4
mov eax, dword [0x100987f0]
mov ecx, dword [0x100979b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1002eed5
mov esi, dword [0x100987ec]
mov ecx, esi
call fcn.100172a0
lea eax, [ebp - 0x1410]
push 0xc00
push 0x10097bec
push eax
call fcn.10061230
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
nop word cs:[eax + eax]
nop dword [eax]
test al, 1
je 0x1002eeb0
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1002eea0
cmp dword [ebp + ebx - 0x810], 0
je 0x1002eea0
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x1002eea0
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x1002eea0
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
nop word cs:[eax + eax]
nop
add edi, 8
add ebx, 0xc
jne 0x1002ee60
cmp esi, 2
lea esi, [esi - 1]
jae 0x1002ee40
push 1
push dword [ebp - 0x1414]
call fcn.100505b0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100987f0
call fcn.1005cb35
add esp, 4
mov eax, dword [0x100987f0]
cmp eax, 0xffffffff
jne 0x1002edff
push 4
call fcn.1005c8e1
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.10017290
mov dword [0x100987ec], esi
push 0x100987f0
call fcn.1005cb87
add esp, 4
jmp 0x1002edff
Function at 0x1002ef40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x10096058]
mov esi, ecx
cmp eax, 0xffffffff
je 0x1002ef5d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1002ef62
call fcn.1002f060
mov eax, dword [0x100987f0]
mov ecx, dword [0x100979b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1002f00a
mov edi, dword [0x100987ec]
mov ecx, edi
call fcn.100172a0
mov eax, dword [0x10097be8]
xor ecx, ecx
inc eax
nop dword [eax + eax]
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x10097bec], 0
je 0x1002efbe
inc ecx
cmp ecx, 0xff
jbe 0x1002efa0
jmp 0x1002efee
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x10097bec]
mov dword [0x10097be8], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x10097bf0], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x10097bf4]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002f050
cmp eax, 0x100
jge 0x1002f055
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x100987f0
call fcn.1005cb35
add esp, 4
mov eax, dword [0x100987f0]
cmp eax, 0xffffffff
jne 0x1002ef83
push 4
call fcn.1005c8e1
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.10017290
mov dword [0x100987ec], edi
push 0x100987f0
call fcn.1005cb87
add esp, 4
jmp 0x1002ef83
int3
int3

Function at 0x1002f060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x10096024]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x10096058]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x1002f0fe
lea esi, [ebp - 0x810]
push esi
call fcn.10050580
add esp, 4
test al, al
je 0x1002f176
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x1002f0d5
push esi
call fcn.10050580
add esp, 4
test al, al
je 0x1002f17b
cmp dword [ebp - 0x810], 0xffffffff
je 0x1002f17b
push 0xffffffffffffffff
call fcn.100505a0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x10096058], ecx
mov eax, dword [ebp - 0x810]
je 0x1002f0fe
push eax
call fcn.100505a0
add esp, 4
mov eax, dword [0x10096058]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1002f171
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.10061d30
add esp, 0xc
push edi
push dword [ebp - 0x810]
call fcn.100505b0
add esp, 8
push 0x800
call fcn.1005cb00
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.10061230
add esp, 0xc
push esi
push dword [ebp - 0x810]
call fcn.100505b0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005c924
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x10037870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x10096024]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x100378d8
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x100378d8
cmp dword [ebp - 0x14], 4
jne 0x100378d8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005c924
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x100378f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov edx, dword [0x10096024]
mov eax, dword [ebp + 8]
xor edx, ebp
mov dword [ebp - 8], edx
lea edx, [ebp + 0xc]
push 4
push edx
push 4
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 8]
mov esi, eax
xor ecx, ebp
call fcn.1005c924
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8