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

Disassembly:
push esi
mov esi, ecx
call fcn.0058ee20
mov eax, dword [esp + 8]
test al, 1
je 0x592595
test al, 4
jne 0x592587
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x80
cmp ax, cx
je 0x59256a
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 0x80
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5925a4
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x5925f3
test al, 4
jne 0x5925e8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x20
cmp ax, cx
je 0x5925cb
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 0x20
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x592600
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0058ee20
mov eax, dword [esp + 8]
test al, 1
je 0x592652
test al, 4
jne 0x592647
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x2c
cmp ax, cx
je 0x59262a
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 0x2c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x592660
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0058f3e0
mov eax, dword [esp + 8]
test al, 1
je 0x5926b2
test al, 4
jne 0x5926a7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x70
cmp ax, cx
je 0x59268a
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 0x70
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5926c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005948c0
mov eax, dword [esp + 8]
test al, 1
je 0x592712
test al, 4
jne 0x592707
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x1c
cmp ax, cx
je 0x5926ea
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 0x1c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x592720
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0058f460
mov eax, dword [esp + 8]
test al, 1
je 0x592772
test al, 4
jne 0x592767
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x2c
cmp ax, cx
je 0x59274a
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 0x2c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594360
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005940f0
mov eax, dword [esp + 8]
test al, 1
je 0x5943b5
test al, 4
jne 0x5943a7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x130
cmp ax, cx
je 0x59438a
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 0x130
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5943c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005941d0
mov eax, dword [esp + 8]
test al, 1
je 0x594415
test al, 4
jne 0x594407
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0xe0
cmp ax, cx
je 0x5943ea
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 0xe0
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594420
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.00594270
mov eax, dword [esp + 8]
test al, 1
je 0x594472
test al, 4
jne 0x594467
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x3c
cmp ax, cx
je 0x59444a
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 0x3c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594480
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005bfd70
mov eax, dword [esp + 8]
test al, 1
je 0x5944d2
test al, 4
jne 0x5944c7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x5c
cmp ax, cx
je 0x5944aa
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 0x5c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x5944e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005942e0
mov eax, dword [esp + 8]
test al, 1
je 0x594532
test al, 4
jne 0x594527
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x28
cmp ax, cx
je 0x59450a
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 0x28
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594540
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005bdbe0
mov eax, dword [esp + 8]
test al, 1
je 0x594595
test al, 4
jne 0x594587
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x110
cmp ax, cx
je 0x59456a
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 0x110
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5945a4
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x5945f6
test al, 4
jne 0x5945e8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x80
cmp ax, cx
je 0x5945cb
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 0x80
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594600
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005bf0c0
mov eax, dword [esp + 8]
test al, 1
je 0x594655
test al, 4
jne 0x594647
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x100
cmp ax, cx
je 0x59462a
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 0x100
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x594664
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x5946b3
test al, 4
jne 0x5946a8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x70
cmp ax, cx
je 0x59468b
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 0x70
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x5949a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], eax
mov edi, dword [ecx + 0x30]
cmp dword [edi + 0x50], 0
je 0x594b4b
mov eax, dword [edi + 0x78]
mov dword [esp + 0x20], eax
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x594a08
mov esi, dword [esi + 0x24]
test esi, esi
je 0x594a08
mov ecx, dword [esi + 0x68]
mov edx, 1
test ecx, ecx
je 0x5949fb
call fcn.0045c0c0
mov edx, 1
mov esi, dword [esi + 0x68]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
jmp 0x594a17
xor ecx, ecx
mov edx, 2
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test dl, 2
je 0x594a3a
and edx, 0xfffffffd
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x594a3a
call fcn.0045c160
mov edx, dword [esp + 0x18]
test dl, 1
je 0x594a4a
test esi, esi
je 0x594a4a
mov ecx, esi
call fcn.0045c160
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
call fcn.005956f0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x594a7e
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x594a8c
mov eax, dword [eax + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x50]
test eax, eax
je 0x594a9a
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x50]
test eax, eax
je 0x594aa8
mov eax, dword [eax + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x594ab6
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x594ac4
mov eax, dword [eax + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x50]
test eax, eax
je 0x594ad2
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x14]
xor dl, dl
mov dword [esp + 0x50], eax
xor esi, esi
mov byte [esp + 0x54], dl
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x594b31
xor edi, edi
nop
mov ecx, dword [ecx + 8]
add ecx, edi
cmp dword [ecx + 8], 0
jle 0x594b21
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
cmp esi, dword [eax + 0x14]
sete al
movzx eax, al
push eax
push ecx
lea eax, [esp + 0x30]
push eax
call fcn.005c5400
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x14]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x594af0
mov dl, byte [esp + 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x30]
cmp byte [ecx + 0xae], 0
setne al
or al, dl
mov byte [ecx + 0xae], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x595104
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkbBindableCollector.0
test al, 1
je 0x59513d
test al, 4
jne 0x595132
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 8
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
pop esi
ret 4
push 8
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x595154
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkbBindableCollector.0
test al, 1
je 0x59518d
test al, 4
jne 0x595182
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 4
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
pop esi
ret 4
push 4
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x595230
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x884f00]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push ebp
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.0045e050
push dword [0x884adc]
mov esi, eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
call dword [edx + 4]
push esi
mov ebx, eax
push ebp
push ebx
call fcn.0045d810
lea esi, [ebx + 0x20]
add esp, 0xc
test esi, esi
je 0x59528c
mov ecx, esi
call fcn.0045d8c0
push edi
lea eax, [ebp + 0x20]
mov ecx, esi
push eax
call fcn.0045d9c0
mov ecx, dword [0x884f00]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov edi, dword [esi]
call fcn.0045dc70
push eax
push ebx
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [esp + 0x14]
mov word [ebx + 4], ax
mov eax, 1
mov word [ebx + 6], ax
mov byte [ebx + 0x26], 2
mov ecx, dword [ebp + 8]
mov byte [ebp + 0x26], al
pop edi
test ecx, ecx
je 0x5952dc
call fcn.0045c0c0
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 4

Function at 0x5953a4
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], vtable.hkbBindableCollector.0
test al, 1
je 0x5953dd
test al, 4
jne 0x5953d2
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 8
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
pop esi
ret 4
push 8
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x5955d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
jne 0x59565b
mov edi, dword [esi + 0x24]
test edi, edi
je 0x59565b
mov edi, dword [edi + 0x78]
test edi, edi
je 0x59565b
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
push dword [esi + 0x14]
call fcn.006fdc60
mov ecx, dword [esi + 0x28]
mov ebx, eax
test ecx, ecx
je 0x59562d
cmp ecx, ebx
je 0x59562d
call fcn.0045c160
mov dword [esi + 0x28], ebx
mov ecx, ebx
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.006fe320
movaps xmm0, xmmword [edi + 0x10]
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x28]
mov dword [esp], 0x3dcccccd
push eax
movaps xmmword [esp + 0x18], xmm0
call fcn.006fded0
mov eax, dword [esi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x595740
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.005954a0
mov eax, dword [esp + 8]
test al, 1
je 0x595792
test al, 4
jne 0x595787
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x30
cmp ax, cx
je 0x59576a
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 0x30
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5959a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5959af
call fcn.0045c160
mov eax, dword [esp + 8]
mov dword [esi + 0x20], 0
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x595a06
test al, 4
jne 0x5959fb
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x30
cmp ax, cx
je 0x5959de
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 0x30
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x595a10
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 4], 0x1ffff
lea ecx, [esi + 0x18]
mov dword [esi], vtable.hkbCharacter.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], connect
mov word [esi + 0x14], ax
mov word [esi + 0x16], ax
call fcn.0045d8c0
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov word [esi + 0x54], 0
push dword [0x884adc]
call ebx
push 0xb0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0xb0
push 1
push esi
mov word [eax + 4], cx
mov ecx, eax
call fcn.005cc6f0
mov ecx, dword [esi + 0x1c]
mov edi, eax
test ecx, ecx
je 0x595af2
cmp ecx, edi
je 0x595af2
call fcn.0045c160
mov dword [esi + 0x1c], edi
push dword [0x884adc]
call ebx
push 0x50
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x50
mov word [eax + 4], cx
mov ecx, eax
call fcn.005c64a0
mov ecx, dword [esi + 0x24]
mov edi, eax
test ecx, ecx
je 0x595b29
cmp ecx, edi
je 0x595b29
call fcn.0045c160
mov dword [esi + 0x24], edi
push dword [0x884adc]
call ebx
push 0x18
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x18
mov word [eax + 4], cx
mov ecx, eax
call fcn.005ca940
mov ecx, dword [esi + 0x28]
mov edi, eax
test ecx, ecx
je 0x595b60
cmp ecx, edi
je 0x595b60
call fcn.0045c160
mov dword [esi + 0x28], edi
push dword [0x884adc]
call ebx
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x595b8f
mov ecx, edi
call fcn.005964c0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
jmp 0x595b91
xor edi, edi
mov dword [esi + 0x44], edi
push dword [0x884adc]
call ebx
push 0x30
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x595bd3
xorps xmm0, xmm0
movaps xmmword [eax], xmm0
movaps xmm0, xmmword [0x7195b0]
movaps xmmword [eax + 0x10], xmm0
movaps xmm0, xmmword [0x719da0]
movaps xmmword [eax + 0x20], xmm0
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
mov byte [esi + 0x54], 1
pop esi
pop ebx
ret
xor eax, eax
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
mov byte [esi + 0x54], 1
pop esi
pop ebx
ret
Function at 0x595a11
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 4], 0x1ffff
lea ecx, [esi + 0x18]
mov dword [esi], vtable.hkbCharacter.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], connect
mov word [esi + 0x14], ax
mov word [esi + 0x16], ax
call fcn.0045d8c0
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov word [esi + 0x54], 0
push dword [0x884adc]
call ebx
push 0xb0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0xb0
push 1
push esi
mov word [eax + 4], cx
mov ecx, eax
call fcn.005cc6f0
mov ecx, dword [esi + 0x1c]
mov edi, eax
test ecx, ecx
je 0x595af2
cmp ecx, edi
je 0x595af2
call fcn.0045c160
mov dword [esi + 0x1c], edi
push dword [0x884adc]
call ebx
push 0x50
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x50
mov word [eax + 4], cx
mov ecx, eax
call fcn.005c64a0
mov ecx, dword [esi + 0x24]
mov edi, eax
test ecx, ecx
je 0x595b29
cmp ecx, edi
je 0x595b29
call fcn.0045c160
mov dword [esi + 0x24], edi
push dword [0x884adc]
call ebx
push 0x18
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x18
mov word [eax + 4], cx
mov ecx, eax
call fcn.005ca940
mov ecx, dword [esi + 0x28]
mov edi, eax
test ecx, ecx
je 0x595b60
cmp ecx, edi
je 0x595b60
call fcn.0045c160
mov dword [esi + 0x28], edi
push dword [0x884adc]
call ebx
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x595b8f
mov ecx, edi
call fcn.005964c0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
jmp 0x595b91
xor edi, edi
mov dword [esi + 0x44], edi
push dword [0x884adc]
call ebx
push 0x30
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x595bd3
xorps xmm0, xmm0
movaps xmmword [eax], xmm0
movaps xmm0, xmmword [0x7195b0]
movaps xmmword [eax + 0x10], xmm0
movaps xmm0, xmmword [0x719da0]
movaps xmmword [eax + 0x20], xmm0
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
mov byte [esi + 0x54], 1
pop esi
pop ebx
ret
xor eax, eax
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
mov byte [esi + 0x54], 1
pop esi
pop ebx
ret
Function at 0x595bf0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.hkbCharacter.0
call fcn.00596450
push 0
push 0
mov ecx, esi
call fcn.005962b0
mov edi, dword [esi + 0x44]
test edi, edi
je 0x595c3a
mov dword [edi + 0x14], 0
mov ecx, edi
mov byte [edi + 0x18], 0
call fcn.00596500
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
push edi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x595c46
call fcn.0045c160
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x595c59
call fcn.0045c160
mov dword [esi + 0x34], 0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x595c6c
call fcn.0045c160
mov dword [esi + 0x30], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x595c7f
call fcn.0045c160
mov dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x595c92
call fcn.0045c160
mov dword [esi + 0x28], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x595ca5
call fcn.0045c160
mov dword [esi + 0x24], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x595cb8
call fcn.0045c160
mov dword [esi + 0x20], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x595ccb
call fcn.0045c160
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], 0
call fcn.0045d990
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test eax, eax
js 0x595d01
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esi + 8]
call dword [eax + 0x10]
mov dword [esi + 8], 0
mov dword [esi + 0x10], connect
pop edi
mov dword [esi], vtable.hkBaseObject.0
pop esi
ret