joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
jmp loc.0040a85e

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x10014100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001410f
pop dword [ebp - 0x34]
mov eax, 0xcff4cdd5
add eax, 0x400c733a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x158df9f2
add dword [ebp - 0x44], 0x38c44b59
mov dword [ebp - 0x40], 0x94f05ce4
sub dword [ebp - 0x40], 0x62bd109f
mov dword [ebp - 0x3c], 0xe687379c
add dword [ebp - 0x3c], 0x65c50c92
mov dword [ebp - 0x38], 0x14da21a4
sub dword [ebp - 0x38], 0x14da21a4
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xcc0eaade
sub dword [ebp - 0x44], 0x579c4188
mov dword [ebp - 0x40], 0xca3ea20c
add dword [ebp - 0x40], 0x772dbf69
mov dword [ebp - 0x3c], 0x21a6d252
add dword [ebp - 0x3c], 0x41c89a1a
mov dword [ebp - 0x38], 0x1f13d121
sub dword [ebp - 0x38], 0x1f13d121
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3a3ee
push 0
call eax
mov ecx, 0x6b78c810
sub ecx, 0x6b787171
xor esi, esi
add esi, eax
mov edi, 0xbe92ff1b
add edi, 0x516f28e5
add edi, dword [ebp - 0x34]
mov ebx, 0xdeac6857
xor dword [ebp - 4], 0xa574fe17
mov edx, dword [edi]
xor dword [ebp - 0x30], edx
sub edx, ebx
sub dword [ebp - 0x14], edi
mov dword [esi], edx
xor dword [ebp - 0x30], edx
add esi, 0xd3cdbe7e
sub esi, 0xd3cdbe7a
add edi, 4
loop 0x10014223
add eax, 0x14d4f
xor ebx, ebx
add ebx, eax
add eax, 0x6f0dc3ff
add eax, 0x90f23c06
mov ecx, 0xa1336654
sub ecx, 0x91336654
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x10202190
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push esi
mov esi, ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
test eax, eax
jne 0x102021b1
xor eax, eax
jmp 0x102021b4
push eax
call ebx
mov word [esp + 0x10], ax
test esi, esi
jne 0x102021c6
xor ecx, ecx
mov word [esp + 0x12], cx
jmp 0x102021ce
push esi
call ebx
mov word [esp + 0x12], ax
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x36c]
push edi
call eax
add esp, 4
lea esi, [esp + 8]
call fcn.10201f00
mov ecx, esi
push ecx
push 0x10202140
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10202211
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp word [esp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
je 0x10202226
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp word [esp + 0x12], 0
je 0x10202235
mov edx, dword [esp + 0x12]
push edx
call esi
mov eax, dword [esp + 0xc]
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x10203336
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10203340
repz ret
jmp fcn.102036f3

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2e742e4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x33cb7b58
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x41f91081
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x77315c06
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402f93
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x402fc9
lea esi, [edi + 4]
test esi, esi
je 0x402fc9
call fcn.00402ef5
test al, al
je 0x402fc9
mov ecx, edi
call fcn.00402ef5
test al, al
je 0x402fc9
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x402fcb
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x4055c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4055d3
pop dword [ebp - 0x28]
mov eax, 0xd0438a83
sub eax, 0xd00334b0
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x410b8
push 0
mov eax, 0x6d5bfe39
add eax, 0x92e5e3f3
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x5585
xor esi, esi
add esi, eax
mov edi, 0x273c7052
add edi, 0xd90741ae
add edi, dword [ebp - 0x28]
mov edx, 0xf5ca844f
add edx, 0xc362df7c
xor dword [ebp - 0x18], edx
mov ebx, dword [edi]
xor dword [ebp - 0x1c], ebx
xor ebx, edx
add dword [ebp - 0x20], 0xf5ef5c81
mov dword [esi], ebx
mov dword [ebp - 4], 0xcc42f9ea
add esi, 0xab029d48
sub esi, 0xab029d44
add edi, 0x956b7cc6
sub edi, 0x956b7cc2
loop 0x40562e
add eax, 0xa401920b
add eax, 0x5bffb6dc
xor ebx, ebx
add ebx, eax
add eax, 0x6801d291
sub eax, 0x6801d28c
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4114cc
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x411507
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4114ee
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4114ff
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x411509
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4114e4
xor eax, eax
pop edi
pop esi
ret

Function at 0x411fa7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.0041149c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00411451
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0041149c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00411451
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0041148c
lea ebp, [esi + 0x79]
in al, dx
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
inc dword [eax]
Function at 0x10004145
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10004154
pop dword [ebp - 0x4c]
mov eax, 0x6c951090
sub eax, 0x5c94cf3c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x3b3f26b6
add dword [ebp - 0x5c], 0x13131e95
mov dword [ebp - 0x58], 0xa9fd2306
sub dword [ebp - 0x58], 0x77c9d6c1
mov dword [ebp - 0x54], 0x1ac3ed4b
add dword [ebp - 0x54], 0x318856e3
mov dword [ebp - 0x50], 0x26643573
sub dword [ebp - 0x50], 0x26643573
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x404b0669
sub dword [ebp - 0x5c], 0xcbd89d13
mov dword [ebp - 0x58], 0x3faed302
add dword [ebp - 0x58], 0x1bd8e73
mov dword [ebp - 0x54], 0x88666754
add dword [ebp - 0x54], 0xdb090518
mov dword [ebp - 0x50], 0x4973d8b0
add dword [ebp - 0x50], 0xb68c2750
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x4f216167
sub eax, 0x3f211117
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x36c70
push 0
call eax
mov ecx, 0x6c94637d
add ecx, 0x936be43e
xor edx, edx
add edx, eax
mov ebx, 0x491f8a35
add ebx, 0xc6e10dcb
add ebx, dword [ebp - 0x4c]
mov esi, 0x3dd53657
add esi, 0xff9f3c05
add dword [ebp - 0x30], ecx
mov edi, dword [ebx]
xor dword [ebp - 0x18], edx
xor edi, esi
sub dword [ebp - 0x10], eax
mov dword [edx], edi
add dword [ebp - 0x3c], 0xe9456f27
add edx, 0x59219b15
sub edx, 0x59219b11
add ebx, 0xe29eeb1d
sub ebx, 0xe29eeb19
loop 0x10004273
add eax, 0x9d7f03d9
sub eax, 0x9d7df21a
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10001ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1003dae8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x44]
and ebp, 0xfffffff8
lea eax, [edi + 4]
push ebp
push eax
mov dword [esp + 0x24], eax
call fcn.10001ae0
lea eax, [edi + 0xc]
push ebp
push eax
call fcn.10001b30
mov ebx, dword [edi]
add esp, 0x10
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0xc]
dec eax
mov esi, ebp
shr esi, 3
and esi, eax
xor ecx, ecx
cmp esi, eax
setne cl
add ebp, 8
mov byte [esp + 0x44], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edx
lea eax, [ecx - 1]
and eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, 1
mov ecx, esi
shl eax, cl
mov dword [esp + 0x38], 0
test dword [ebx + 4], eax
je 0x100020de
mov eax, dword [0x1004c1c4]
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x44], 1
test eax, eax
je 0x100020bb
push ebp
call eax
add esp, 4
cmp dword [0x1004c1c4], 0
je 0x100020b7
mov eax, dword [edi]
push eax
call dword [0x1004c1c4]
add esp, 4
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push esi
push ebx
mov ecx, edx
mov edx, dword [eax + 4]
push ebp
call edx
cmp dword [0x1004c1c8], 0
je 0x100020f9
mov eax, dword [edi]
push eax
call dword [0x1004c1c8]
add esp, 4
jmp 0x100020f9
mov eax, dword [edx + 4]
add eax, 0x18
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x40]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
test ebx, ebx
je 0x10002127
lea esi, [edi + 0x10]
push esi
call fcn.100011f0
mov eax, dword [ebx]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x10002120
mov dword [edi + 8], eax
test esi, esi
je 0x10002127
mov byte [esi], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
test ebx, ebx
je 0x10002141
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
call edx
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x10003650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003dbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
xor edi, edi
mov dword [esi + 8], edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], eax
call fcn.10003100
mov ebx, dword [esi + 0xc]
add esi, 0x10
mov ecx, ebx
sub ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0x1d
add ecx, 3
mov edx, edi
je 0x100036e5
cmp dword [ebx + edx*4], 0x3f
jbe 0x100036df
inc edx
cmp edx, ecx
jb 0x100036d4
mov esi, edx
cmp eax, edx
jb 0x100036e8
lea esi, [eax + 1]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
cmp edx, dword [esp + 0x28]
jae 0x10003703
lea ecx, [esp + 0x14]
call fcn.10003300
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4

Function at 0x100071e0
Capabilities:
Query environment variable

Disassembly:
push esi
test edi, edi
je 0x1000724c
mov eax, dword [0x1004ce48]
mov esi, 0x1004fb1e
sub esi, eax
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, esi
jb 0x10007211
dec esi
push esi
dec eax
push eax
push edi
push 5
call fcn.10006810
add esp, 0x10
xor eax, eax
pop esi
ret
test eax, eax
je 0x10007228
mov ecx, dword [0x1004ce48]
lea eax, [ecx + eax + 1]
mov dword [0x1004ce48], eax
mov eax, ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10007239
mov eax, dword [0x1004ce48]
pop esi
ret
cmp eax, 0xcb
je 0x1000724c
push eax
push edi
push 4
call fcn.10006810
add esp, 0xc
xor eax, eax
pop esi
ret

Function at 0x10008490
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 1
test byte [ecx + 0xc], al
je 0x100084a1
mov ecx, dword [ecx + 0x14]
mov byte [ecx + 0x18], al
ret
mov edx, dword [ecx + 8]
push eax
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
ret
Function at 0x1000cb20
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0x200000
push 0
call fcn.1001d5c3
add esp, 0x18
test eax, eax
jne 0x1000cb60
call fcn.1001d429
mov eax, dword [eax]
push str.__beginthreadex
push eax
call sym.tbb.dll_void___cdecl_tbb::internal::handle_perror_int__char_const__
add esp, 8
pop esi
ret 8
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
ret 8

Function at 0x1000cc00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov eax, edi
mov ecx, ebx
mov edx, dword [esi]
sub edx, eax
mov eax, dword [esi + 4]
sbb eax, ecx
add edx, edi
lea ecx, [esp + 0x28]
adc eax, ebx
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x28]
fld1
fdivrp st(1)
fild qword [esp + 0x18]
fmulp st(1)
fmul qword [0x100408b8]
fldz
fcomp st(1)
fnstsw ax
test ah, 1
je 0x1000ccbe
fld qword [0x100408e0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1000cc7d
fstp st(0)
mov eax, 0xfffffffe
jmp 0x1000cc9f
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x10]
mov eax, dword [esp + 0x10]
fldcw word [esp + 0xe]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x1000cc26
pop edi
fstp st(0)
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d170
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
test ebx, ebx
je 0x1000d184
call fcn.1000f450
mov edi, eax
jmp 0x1000d186
xor edi, edi
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edi, 1
setle cl
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
dec ecx
and ecx, 4
or ecx, 0x10000
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push 0
call fcn.1001d5c3
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1000d1da
push str.thread_monitor::launch:__beginthreadex_failed_n
call fcn.1001db61
add eax, 0x40
push eax
call fcn.1001d9cb
add esp, 8
push 1
call fcn.1001d963
cmp edi, 1
jle 0x1000d1f8
mov edx, dword [ebx]
push edx
call fcn.1000f460
push eax
push esi
call fcn.1000f510
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1000f880
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000f89f
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edi, eax
mov eax, dword [0x1004c22c]
mov esi, dword [edi + 0x14]
test eax, eax
je 0x1000f8af
call eax
mov ecx, dword [esi - 0x20]
mov dword [ecx + 0x10], eax
mov edx, dword [esi - 0x20]
mov eax, dword [esp + 0xc]
push edx
push 0
push eax
mov ecx, edi
call fcn.10016030
pop edi
pop esi
ret

Function at 0x1000f8d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000f8ed
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
push esi
mov esi, dword [esp + 8]
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000f90b
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], esi
pop esi
ret
test edx, edx
je 0x1000f917
cmp edx, 0x1000
jb 0x1000f909
pop esi
mov dword [esp + 4], ecx
jmp sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__

Function at 0x1000f930
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000f94d
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
push esi
mov esi, dword [esp + 8]
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000f96d
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], esi
pop esi
ret 4
test edx, edx
je 0x1000f979
cmp edx, 0x1000
jb 0x1000f982
push ecx
call sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
add esp, 4
pop esi
ret 4

Function at 0x1000f990
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push esi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000f9b0
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [esi - 0x20]
mov edx, dword [esi - 0x14]
push ecx
push edx
mov edx, dword [esp + 0x10]
push edx
mov ecx, eax
mov dword [esi - 0x14], 0
call fcn.10016030
pop esi
ret 4

Function at 0x1000f9d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi - 0x14]
mov dword [ecx - 0x14], eax
mov ecx, dword [0x1004fea0]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000f9f9
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000fa14
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], esi
pop esi
ret 4
test edx, edx
je 0x1000fa20
cmp edx, 0x1000
jb 0x1000fa29
push ecx
call sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
add esp, 4
pop esi
ret 4