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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xffffffffffffffff
push dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mov ecx, dword [ebp + 0x5c]
call fcn.0046b890
push dword [0x884adc]
mov ebx, eax
mov dword [esp + 0x18], ebx
lea esi, [ebx + 1]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0x7f]
and edx, 0xffffff80
mov dword [esp + 0x18], edx
mov edi, dword [eax + 0xc]
lea ecx, [edi + edx]
cmp edx, dword [eax + 8]
jg 0x598d3f
cmp ecx, dword [eax + 0x10]
ja 0x598d3f
mov dword [eax + 0xc], ecx
jmp 0x598d49
push edx
mov ecx, eax
call fcn.0046a3c0
mov edi, eax
push esi
push 0
push edi
call fcn.0045d830
add esp, 0xc
mov byte [edi + ebx], 1
test ebx, ebx
js 0x598dd2
mov ecx, ebx
shl ecx, 7
mov dword [esp + 0x24], ecx
cmp byte [edi + ebx], 0
je 0x598dc2
mov eax, dword [ebp + 0x58]
mov esi, dword [eax]
add esi, ecx
cmp byte [esi + 0x79], 0
je 0x598d91
mov ecx, dword [esi + 0x54]
movss xmm0, dword [esp + 0x20]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esi + 0x64]
xor edx, edx
test ebp, ebp
jle 0x598dbe
mov ebx, dword [esp + 0x10]
nop
mov eax, dword [ebx + 0x60]
mov ecx, dword [esi + 0x68]
add ecx, edx
inc edx
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
mov byte [edi + eax], 1
cmp edx, ebp
jl 0x598da0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
dec ebx
add ecx, 0xffffff80
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
test ebx, ebx
jns 0x598d66
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 0xf]
and edx, 0xfffffff0
cmp ecx, dword [eax + 8]
jg 0x598e07
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x598e07
cmp dword [eax + 0x14], edi
je 0x598e07
mov dword [eax + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push edx
push edi
mov ecx, eax
call fcn.0046a590
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x599073
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 8], 0
cmp dword [esi + 0x64], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xffffffff
jne 0x5990e9
push edi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x44
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x44
mov word [eax + 4], cx
mov ecx, eax
call fcn.0059b820
mov ecx, dword [esi + 0x64]
mov edi, eax
test ecx, ecx
je 0x5990e5
cmp ecx, edi
je 0x5990e5
call fcn.0045c160
mov dword [esi + 0x64], edi
pop edi
lea eax, [esp + 8]
mov byte [esp + 7], 0
push eax
lea eax, [esp + 0xb]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [esi + 0x4c]
call fcn.0059a660
push 0x7d8954
lea ecx, [esp + 0xc]
call fcn.0046b3e0
lea ecx, [esp + 8]
call fcn.0046b110
push 0x7d8954
lea ecx, [esp + 0x18]
call fcn.0046b3e0
lea ecx, [esp + 0x14]
call fcn.0046b110
pop esi
add esp, 0x1c
ret
Function at 0x599520
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0046b820
add esp, 4
mov esi, eax
mov dword [esp + 0x20], esi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esi, 0x7f
and esi, 0xffffff80
mov ecx, dword [eax + 0xc]
lea edx, [ecx + esi]
cmp esi, dword [eax + 8]
jg 0x599566
cmp edx, dword [eax + 0x10]
ja 0x599566
mov dword [eax + 0xc], edx
jmp 0x599570
push esi
mov ecx, eax
call fcn.0046a3c0
mov ecx, eax
push dword [esp + 0x20]
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.0046b980
xor esi, esi
test ebx, ebx
jle 0x5995af
nop dword [eax + eax]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
mov eax, dword [eax + esi*4]
push eax
movsx eax, word [eax + 0x60]
push eax
push 0x7d8954
call fcn.0046ba50
inc esi
cmp esi, ebx
jl 0x599590
mov eax, dword [edi + 0x50]
test eax, eax
je 0x5995f6
cmp dword [eax + 0x18], 0
jle 0x5995f6
cmp dword [edi + 0x78], 0
jne 0x5995eb
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x2c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x2c
mov word [eax + 4], cx
mov ecx, eax
call fcn.0059b8a0
mov dword [edi + 0x78], eax
push dword [ebp + 0x14]
mov ecx, dword [edi + 0x78]
call fcn.005d29f0
push dword [0x884adc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
push 0xc
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x599628
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], connect
jmp 0x59962a
xor eax, eax
mov dword [edi + 0x58], eax
push dword [0x884adc]
call ebx
push 0xc
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x599659
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0xffffffff
jmp 0x59965b
xor eax, eax
mov dword [edi + 0x5c], eax
push dword [0x884adc]
call ebx
push 0xc
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x59968a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], connect
jmp 0x59968c
xor eax, eax
mov esi, dword [esp + 0x28]
mov ecx, edi
mov dword [edi + 0x60], eax
lea eax, [esp + 0x10]
push eax
push esi
mov byte [edi + 0xac], 1
call fcn.005f1b90
push 0x7d8954
lea ecx, [esp + 0x14]
mov dword [esi + 4], 0
call fcn.0046b3e0
mov esi, dword [esp + 0x20]
push dword [0x884adc]
mov edi, dword [esp + 0x20]
add esi, 0x7f
and esi, 0xffffff80
call ebx
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x5996ef
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x5996ef
cmp dword [eax + 0x14], edi
je 0x5996ef
mov dword [eax + 0xc], edi
jmp 0x5996f8
push edx
push edi
mov ecx, eax
call fcn.0046a590
push 0x7d8954
lea ecx, [esp + 0x14]
call fcn.0046b3e0
lea ecx, [esp + 0x10]
call fcn.0046b110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x599720
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0x1ffff
lea ecx, [esi + 0x20]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], connect
mov byte [esi + 0x18], 0
mov dword [esi], vtable.hkbNode.0
mov dword [esi + 0x1c], 0
call fcn.0045d8c0
mov edi, dword [esp + 0x10]
or ebx, 0xffffffff
mov word [esi + 0x24], bx
mov byte [esi + 0x26], 0
mov dword [esi], vtable.hkbBehaviorGraph.0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], connect
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], connect
mov dword [esi + 0x48], 0
test edi, edi
je 0x5997bd
mov ecx, edi
call fcn.0045c0c0
mov dword [esi + 0x4c], edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x5997cf
mov ecx, edi
call fcn.0045c0c0
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], connect
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], connect
mov word [esi + 0xa8], bx
mov word [esi + 0xaa], bx
mov dword [esi + 0xac], 0
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 8
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x5998cd
mov dword [eax], 0x529
mov dword [eax + 4], 0x529
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret 0xc
pop edi
mov dword [esi + 0x48], 0
mov eax, esi
pop esi
pop ebx
ret 0xc
Function at 0x59af60
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
push esi
push edi
push dword [0x884c50]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x59af95
mov dword [esi], str.TthkbBehaviorGraph::copyVariablesToMembersRoot
rdtsc
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
cmp dword [ebp + 0x78], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
je 0x59afdd
mov eax, dword [ebp + 0x58]
push ebx
mov ebx, dword [eax + 4]
test ebx, ebx
jle 0x59afdc
xor edi, edi
mov eax, dword [ebp + 0x58]
push dword [esp + 0x1c]
push esi
mov eax, dword [eax]
mov ecx, dword [eax + edi + 0x54]
mov eax, dword [eax + edi + 0x58]
mov dword [esi + 4], eax
call fcn.00594f40
lea edi, [edi + 0x80]
sub ebx, 1
jne 0x59afb3
mov ecx, dword [esp + 0x18]
pop ebx
mov dword [esi + 4], ecx
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x59b00f
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x59b2e0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
push esi
mov esi, dword [ebp + 0x84]
test esi, esi
je 0x59b4ca
mov esi, dword [esi + 4]
push ebx
push edi
and esi, 0x7fffffff
mov dword [esp + 0x10], 0
mov edi, 0
mov dword [esp + 0x18], connect
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
je 0x59b366
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [esi*4 + 0x7f]
and ecx, 0xffffff80
mov edx, dword [eax + 0xc]
lea edi, [edx + ecx]
cmp ecx, dword [eax + 8]
jg 0x59b352
cmp edi, dword [eax + 0x10]
ja 0x59b352
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
jmp 0x59b36a
push ecx
mov ecx, eax
call fcn.0046a3c0
mov edi, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x59b36a
mov dword [esp + 0x10], edi
mov edx, dword [ebp + 0x84]
or esi, 0x80000000
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x1c], ebx
mov ecx, dword [edx + 8]
test ecx, ecx
js 0x59b39d
mov eax, dword [edx]
nop dword [eax]
cmp dword [eax], 0xffffffff
jne 0x59b39d
inc esi
add eax, 8
cmp esi, ecx
jle 0x59b390
cmp esi, ecx
jg 0x59b42c
nop word [eax + eax]
mov eax, dword [ebp + 0x84]
mov eax, dword [eax]
mov ecx, dword [eax + esi*8 + 4]
mov ebx, dword [eax + esi*8]
cmp word [ecx + 6], 1
jne 0x59b404
call fcn.0045c160
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x59b3f4
push 4
lea eax, [esp + 0x14]
push eax
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4], ebx
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x84]
inc esi
mov ecx, dword [edx + 8]
cmp esi, ecx
jg 0x59b428
mov eax, dword [edx]
lea eax, [eax + esi*8]
cmp dword [eax], 0xffffffff
jne 0x59b424
inc esi
add eax, 8
cmp esi, ecx
jle 0x59b417
cmp esi, ecx
jle 0x59b3b0
mov ebx, dword [esp + 0x1c]
xor esi, esi
test edi, edi
jle 0x59b451
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x84]
push dword [eax + esi*4]
call fcn.0046bc90
inc esi
cmp esi, edi
jl 0x59b432
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
push dword [0x884adc]
xor eax, eax
cmp ebx, dword [esp + 0x14]
cmove edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x59b495
lea ecx, [edx + ebx]
cmp ecx, dword [eax + 0xc]
jne 0x59b495
cmp dword [eax + 0x14], ebx
je 0x59b495
mov dword [eax + 0xc], ebx
jmp 0x59b49e
push edx
push ebx
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0
pop edi
pop ebx
test eax, eax
js 0x59b4ca
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0xc]
call dword [eax + 0x10]
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x59b4d0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x59b544
mov ecx, dword [edx + 8]
xor esi, esi
test ecx, ecx
js 0x59b4f4
mov eax, dword [edx]
cmp dword [eax], 0xffffffff
jne 0x59b4f4
inc esi
add eax, 8
cmp esi, ecx
jle 0x59b4e7
cmp esi, ecx
jg 0x59b531
nop dword [eax + eax]
mov ecx, dword [edx]
mov ecx, dword [ecx + esi*8 + 4]
call fcn.0045c160
mov edx, dword [edi + 0x7c]
inc esi
mov ecx, dword [edx + 8]
cmp esi, ecx
jg 0x59b531
mov eax, dword [edx]
lea eax, [eax + esi*8]
nop dword [eax + eax]
cmp dword [eax], 0xffffffff
jne 0x59b52d
inc esi
add eax, 8
cmp esi, ecx
jle 0x59b520
cmp esi, ecx
jle 0x59b500
mov ecx, dword [edi + 0x7c]
call fcn.0046b370
mov ecx, dword [edi + 0x80]
call fcn.0046b370
mov esi, dword [edi + 0x58]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test esi, esi
je 0x59b597
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
test eax, eax
js 0x59b577
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 7
push eax
mov eax, dword [0x7d8954]
push dword [esi]
call dword [eax + 0x10]
mov dword [esi], 0
mov dword [esi + 8], connect
push dword [0x884adc]
call ebx
push 0xc
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [edi + 0x5c]
mov dword [edi + 0x58], 0
test esi, esi
je 0x59b5cb
push 0x7d8954
mov ecx, esi
call fcn.0046b3e0
mov ecx, esi
call fcn.0046b110
push dword [0x884adc]
call ebx
push 0xc
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [edi + 0x60]
mov dword [edi + 0x5c], 0
test esi, esi
je 0x59b61f
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
test eax, eax
js 0x59b5ff
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esi]
call dword [eax + 0x10]
mov dword [esi], 0
mov dword [esi + 8], connect
push dword [0x884adc]
call ebx
push 0xc
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x60], 0
pop edi
pop esi
pop ebx
ret
Function at 0x59b630
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push dword [0x884adc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
mov ebx, eax
cmp dword [esi + 0xa0], edi
jle 0x59b66d
nop dword [eax]
mov eax, dword [esi + 0x9c]
push dword [eax + edi*4]
push dword [ebx + 0x28]
call fcn.00460680
inc edi
add esp, 8
cmp edi, dword [esi + 0xa0]
jl 0x59b650
push dword [esi + 0x88]
mov dword [esi + 0xa0], 0
push dword [ebx + 0x28]
call fcn.00460680
xor edi, edi
mov dword [esi + 0x88], 0
add esp, 8
mov dword [esi + 0x8c], 0
cmp dword [esi + 0x94], edi
jle 0x59b738
nop word [eax + eax]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + edi*4]
push dword [eax + 0x50]
push dword [ebx + 0x28]
call fcn.00460680
mov eax, dword [esi + 0x90]
mov eax, dword [eax + edi*4]
push dword [eax + 0x54]
push dword [ebx + 0x28]
call fcn.00460680
mov eax, dword [esi + 0x90]
mov eax, dword [eax + edi*4]
push dword [eax + 0x58]
push dword [ebx + 0x28]
call fcn.00460680
mov eax, dword [esi + 0x90]
mov eax, dword [eax + edi*4]
push dword [eax + 0x64]
push dword [ebx + 0x28]
call fcn.00460680
mov eax, dword [esi + 0x90]
push dword [eax + edi*4]
push dword [ebx + 0x28]
call fcn.00460680
mov eax, dword [esi + 0x90]
add esp, 0x28
mov dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 0x94]
jl 0x59b6b0
pop edi
mov dword [esi + 0x94], 0
pop esi
pop ebx
ret
mov dword [esi + 0x94], edi
pop edi
pop esi
pop ebx
ret

Function at 0x59b750
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], connect
mov byte [esi + 0x18], 0
mov dword [esi], vtable.hkbNode.0
call fcn.0045d980
mov dword [esi], vtable.hkbBehaviorGraph.0
or eax, 0xffffffff
cmp dword [esp + 8], 0
mov word [esi + 0x24], ax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], connect
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], connect
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], connect
je 0x59b818
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 8
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x59b813
mov dword [eax], 0x529
mov dword [eax + 4], 0x529
mov dword [esi + 0x48], eax
mov eax, esi
pop esi
ret 4
xor eax, eax
mov dword [esi + 0x48], eax
mov eax, esi
pop esi
ret 4
Function at 0x59b8f0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 0x20]
cmp ebx, dword [edi + 0x14]
jne 0x59b903
mov dword [edi + 0x18], 0
mov eax, dword [edi + 0x24]
push esi
push dword [0x884adc]
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x59b93a
lea ecx, [edx + ebx]
cmp ecx, dword [eax + 0xc]
jne 0x59b93a
cmp dword [eax + 0x14], ebx
je 0x59b93a
mov dword [eax + 0xc], ebx
jmp 0x59b943
push edx
push ebx
mov ecx, eax
call fcn.0046a590
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x18], 0
test eax, eax
js 0x59b96a
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x14]
call dword [eax + 0x10]
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], connect
mov ebx, dword [edi + 0xc]
cmp ebx, dword [edi]
jne 0x59b986
mov dword [edi + 4], 0
mov eax, dword [edi + 0x10]
push dword [0x884adc]
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
pop esi
jg 0x59b9bd
lea ecx, [edx + ebx]
cmp ecx, dword [eax + 0xc]
jne 0x59b9bd
cmp dword [eax + 0x14], ebx
je 0x59b9bd
mov dword [eax + 0xc], ebx
jmp 0x59b9c6
push edx
push ebx
mov ecx, eax
call fcn.0046a590
mov eax, dword [edi + 8]
mov dword [edi + 4], 0
test eax, eax
js 0x59b9ec
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi]
call dword [eax + 0x10]
mov dword [edi + 8], connect
mov dword [edi], 0
pop edi
pop ebx
ret

Function at 0x59ba00
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005978d0
mov eax, dword [esp + 8]
test al, 1
je 0x59ba52
test al, 4
jne 0x59ba47
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x44
cmp ax, cx
je 0x59ba2a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x44
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x59ba60
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.00596a40
mov eax, dword [esp + 8]
test al, 1
je 0x59bab5
test al, 4
jne 0x59baa7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0xb0
cmp ax, cx
je 0x59ba8a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0xb0
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x59bbb0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0x1ffff
mov dword [esi], vtable.hkbBehaviorGraphData.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], connect
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], connect
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], connect
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], connect
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], connect
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], connect
mov dword [esi + 0x54], 0
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x2c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
mov dword [eax + 4], 0x1ffff
mov dword [eax], vtable.hkbVariableValueSet.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], connect
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], connect
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], connect
mov dword [esi + 0x50], eax
mov eax, esi
pop esi
pop ebx
ret

Function at 0x59c3f0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0059c300
mov eax, dword [esp + 8]
test al, 1
je 0x59c445
test al, 4
jne 0x59c437
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x90
cmp ax, cx
je 0x59c41a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x90
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x59c920
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esi + 4], 0x1ffff
mov dword [esi], vtable.hkbBindable.0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x59c941
call fcn.0045c0c0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], connect
mov byte [esi + 0x18], 0
mov dword [esi], vtable.hkbBlenderGeneratorChild.0
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov eax, dword [edi + 0x28]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
call fcn.0045c0c0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x59c9f6
cmp dword [eax + 8], 0
jne 0x59c9b8
mov ecx, eax
test ecx, ecx
je 0x59c99f
call fcn.0045c0c0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x59c9ab
call fcn.0045c160
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, esi
pop edi
pop esi
ret 4
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x28
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x28
mov word [eax + 4], cx
mov ecx, eax
push dword [edi + 0x24]
call fcn.0059ca30
mov ecx, dword [esi + 0x24]
mov edi, eax
test ecx, ecx
je 0x59c9f3
cmp ecx, edi
je 0x59c9f3
call fcn.0045c160
mov dword [esi + 0x24], edi
pop edi
mov eax, esi
pop esi
ret 4