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

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, dword [ebx + 0x1c]
mov eax, edi
sub eax, ebp
jne 0x5df179
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5df161
mov eax, dword [eax]
mov edx, ebp
sar edx, 5
mov ecx, ebp
and ecx, 0x1f
mov eax, dword [eax + edx*4]
shr eax, cl
test al, 1
je 0x5df179
push dword [esp + 0x20]
push dword [esp + 0x14]
push dword [ebx + 0xc]
push edi
call fcn.0057e2a0
add esp, 0x10
pop edi
pop ebp
pop ebx
ret
push esi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [edi + edi*2]
shl ebx, 4
add ebx, 0x7f
mov esi, dword [eax + 0xc]
and ebx, 0xffffff80
lea ecx, [esi + ebx]
cmp ebx, dword [eax + 8]
jg 0x5df1a7
cmp ecx, dword [eax + 0x10]
ja 0x5df1a7
mov dword [eax + 0xc], ecx
jmp 0x5df1b1
push ebx
mov ecx, eax
call fcn.0046a3c0
mov esi, eax
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
call fcn.005df2b0
push dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push esi
push dword [eax + 0xc]
push edi
call fcn.0057e2a0
add esp, 0x24
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebx + 0xf]
and edx, 0xfffffff0
cmp ebx, dword [eax + 8]
jg 0x5df205
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x5df205
cmp dword [eax + 0x14], esi
je 0x5df205
mov dword [eax + 0xc], esi
pop esi
pop edi
pop ebp
pop ebx
ret
push edx
push esi
mov ecx, eax
call fcn.0046a590
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x5df3b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
mov eax, dword [eax]
push ebx
push ebp
push esi
cmp dword [eax + 4], 2
push edi
jle 0x5df3c9
movsx edi, word [eax + 0x32]
jmp 0x5df3cb
xor edi, edi
movsx ebp, word [eax + 0x34]
lea ecx, [edi + 1]
mov ebx, dword [esp + 0x2c]
lea edx, [edi + edi*2]
add ebp, eax
shl edx, 4
lea eax, [ecx + 0x1f]
mov dword [esp + 0x1c], ecx
sar eax, 5
add edx, ebp
mov dword [esp + 0x14], eax
or eax, 0x80000000
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov esi, dword [eax + 0x1c]
cmp esi, edi
jne 0x5df435
mov eax, edi
mov ecx, edi
sar eax, 5
and ecx, 0x1f
mov eax, dword [edx + eax*4]
shr eax, cl
test al, 1
je 0x5df435
push 2
push dword [esp + 0x34]
push ebp
push dword [esp + 0x30]
push ebx
call fcn.00569220
add esp, 0x14
jmp 0x5df4c6
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [esi + esi*2]
shl ebx, 4
add ebx, 0x7f
mov esi, dword [eax + 0xc]
and ebx, 0xffffff80
lea ecx, [esi + ebx]
cmp ebx, dword [eax + 8]
jg 0x5df462
cmp ecx, dword [eax + 0x10]
ja 0x5df462
mov dword [eax + 0xc], ecx
jmp 0x5df46c
push ebx
mov ecx, eax
call fcn.0046a3c0
mov esi, eax
push esi
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x30]
push edi
push ebp
call fcn.005df2b0
push 2
push dword [esp + 0x48]
push esi
push dword [esp + 0x44]
push dword [esp + 0x50]
call fcn.00569220
add esp, 0x28
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebx + 0xf]
and edx, 0xfffffff0
cmp ebx, dword [eax + 8]
jg 0x5df4bd
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x5df4bd
cmp dword [eax + 0x14], esi
je 0x5df4bd
mov dword [eax + 0xc], esi
jmp 0x5df4c6
push edx
push esi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
js 0x5df4f4
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 4]
call dword [eax + 0x10]
add esp, 0x10
ret
Function at 0x5dfe54
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x24], vtable.hkBaseObject.0
mov dword [esi + 8], vtable.hkBaseObject.0
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x5dfeb1
test al, 4
jne 0x5dfea6
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x48
cmp ax, cx
je 0x5dfe89
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 0x48
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x5e0b30
Capabilities:
Get thread local storage value

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x2c
mov ecx, dword [ecx]
push edi
mov edi, dword [esp + 0x34]
cmp dword [ecx + 4], 4
jle 0x5e0cb4
movsx eax, word [ecx + 0x54]
add eax, ecx
add ecx, 0x50
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x70]
mov dword [esp + 0x14], ecx
push ebp
movsx ebp, word [ecx]
mov dword [esp + 0xc], ebp
test eax, eax
jne 0x5e0b6d
xor ebx, ebx
jmp 0x5e0b70
mov ebx, dword [eax + 0x20]
test eax, eax
je 0x5e0b7b
cmp ebp, ebx
setge al
jmp 0x5e0b7d
mov al, 1
test ebp, ebp
jle 0x5e0cb2
test al, al
je 0x5e0cb2
push esi
movsx esi, word [ecx + 6]
push dword [0x884adc]
imul esi, ebp
add esi, 0xf
and esi, 0xfffffff0
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp + 0x7f]
add ecx, esi
and ecx, 0xffffff80
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
lea edx, [esi + ecx]
cmp ecx, dword [eax + 8]
jg 0x5e0bcc
cmp edx, dword [eax + 0x10]
ja 0x5e0bcc
mov dword [eax + 0xc], edx
jmp 0x5e0bd6
push ecx
mov ecx, eax
call fcn.0046a3c0
mov esi, eax
movups xmm0, xmmword [edi + 0x30]
mov ebp, dword [esp + 0x14]
mov eax, ebx
push dword [esp + 0x10]
movups xmmword [esi], xmm0
add ebp, esi
neg eax
movups xmm0, xmmword [edi + 0x40]
sbb eax, eax
push eax
movups xmmword [esi + 0x10], xmm0
push ebp
movups xmm0, xmmword [edi + 0x50]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [edi + 0x60]
movups xmmword [esi + 0x30], xmm0
call fcn.0045d830
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x5e0c28
mov eax, dword [edi + 0x70]
mov eax, dword [eax + 0x1c]
movsx eax, word [eax + ecx*2]
inc ecx
mov byte [eax + ebp], 0
cmp ecx, ebx
jl 0x5e0c15
mov eax, dword [esp + 0x10]
mov word [esp + 0x2c], ax
mov eax, 1
mov word [esp + 0x2e], ax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 0x400000
push eax
mov word [esp + 0x40], 2
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x30], esi
call fcn.005d3870
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [eax + 8], 0x3f800000
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 0x5e0ca8
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x5e0ca8
cmp dword [eax + 0x14], esi
je 0x5e0ca8
mov dword [eax + 0xc], esi
jmp 0x5e0cb1
push edx
push esi
mov ecx, eax
call fcn.0046a590
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
cmp dword [ecx + 4], 5
jle 0x5e0cd8
cmp word [ecx + 0x60], 0
movsx edx, word [ecx + 0x64]
jle 0x5e0cd8
mov eax, dword [edi + 0x60]
mov dword [edx + ecx], eax
mov dword [ecx + 0x68], 0x3f800000
pop edi
add esp, 0x2c
ret
Function at 0x5e1f20
Capabilities:
Execute anti-debugging instructions
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5e1f52
mov dword [esi], str.TthkbBlendingTransitionEffectUtils::generateInternal
rdtsc
mov dword [esp + 8], eax
mov ecx, dword [esp + 8]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
cmp eax, dword [esi + 0x3c]
mov eax, dword [esp + 0x1c]
jne 0x5e1f7f
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x5e20ba
push ecx
push eax
call fcn.005d3f10
add esp, 8
jmp 0x5e20ba
mov edi, dword [eax + 4]
xorps xmm1, xmm1
push ebp
mov ebp, dword [eax]
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
cmp edx, 6
jle 0x5e2011
movss xmm0, dword [ecx + 0x78]
comiss xmm0, xmm1
seta al
test al, al
je 0x5e2011
cmp edx, 4
jle 0x5e1fb5
movss xmm0, dword [ecx + 0x58]
comiss xmm0, xmm1
seta al
test al, al
jne 0x5e2011
mov eax, dword [ebp]
cmp dword [eax + 4], 4
jle 0x5e2011
movss xmm0, dword [eax + 0x58]
comiss xmm0, xmm1
seta al
test al, al
je 0x5e2011
mov dword [ecx + 0x78], 0
mov ecx, dword [edi]
cmp dword [ecx + 4], 2
jle 0x5e1fe2
movsx eax, word [ecx + 0x32]
jmp 0x5e1fe4
xor eax, eax
cmp dword [esi + 0x44], 0
je 0x5e1fef
mov edx, dword [esi + 0x40]
jmp 0x5e1ff3
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 4
push eax
movsx eax, word [ecx + 0x34]
push edx
add eax, ecx
push eax
call fcn.0045d810
add esp, 0xc
mov byte [esi + 0x55], 1
xorps xmm1, xmm1
movss xmm2, dword [esi + 0x50]
movss xmm0, dword [esi + 0x4c]
addss xmm0, xmm2
addss xmm2, dword [esp + 0x18]
comiss xmm0, xmm2
ja 0x5e202d
movaps xmm2, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x5e204a
movaps xmm1, xmm2
divss xmm1, xmm0
movss xmm0, dword [0x718824]
comiss xmm1, xmm0
ja 0x5e204d
movaps xmm0, xmm1
movsx eax, byte [esi + 0x37]
push ebx
push ecx
movss dword [esp], xmm0
push eax
call fcn.005e0040
mov ebx, dword [esp + 0x30]
add esp, 8
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
push ebx
push ecx
movss dword [esp], xmm0
push ebp
push edi
call fcn.005d44d0
movzx eax, word [esi + 0x34]
add esp, 0x10
test al, 1
je 0x5e208d
mov eax, dword [ebp]
jmp 0x5e2093
test al, 4
je 0x5e20b8
mov eax, dword [edi]
movsx edx, word [eax + 0x14]
add edx, eax
mov eax, dword [ebx]
movsx ecx, word [eax + 0x14]
movaps xmm0, xmmword [edx]
movaps xmmword [ecx + eax], xmm0
movaps xmm0, xmmword [edx + 0x10]
movaps xmmword [ecx + eax + 0x10], xmm0
movaps xmm0, xmmword [edx + 0x20]
movaps xmmword [ecx + eax + 0x20], xmm0
pop ebx
pop ebp
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5e20e9
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ecx
ret
Function at 0x5e3e54
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 0x5e3ea3
test al, 4
jne 0x5e3e98
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0xc
cmp ax, cx
je 0x5e3e7b
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 0xc
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5e3eb4
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 0x5e3f03
test al, 4
jne 0x5e3ef8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0xc
cmp ax, cx
je 0x5e3edb
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 0xc
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5e3f14
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 0x5e3f63
test al, 4
jne 0x5e3f58
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x14
cmp ax, cx
je 0x5e3f3b
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 0x14
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5e3f74
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 0x5e3fc3
test al, 4
jne 0x5e3fb8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x10
cmp ax, cx
je 0x5e3f9b
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 0x10
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x5e46f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi], vtable.hkBaseObject.0
test al, 1
je 0x5e4746
test al, 4
jne 0x5e473b
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0xc
cmp ax, cx
je 0x5e471d
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
pop ebp
ret 4
push 0xc
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x5e5170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
call fcn.005951a0
mov dword [ebx], vtable.BSBoneSwitchGenerator.0
lea esi, [ebx + 0x34]
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], connect
or dword [ebx + 0x1c], 1
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x38]
and eax, 0x3fffffff
mov dword [ebp - 4], ecx
cmp eax, ecx
jge 0x5e51d4
push 4
push ecx
push esi
push 0x7d8954
call fcn.00467b80
mov ecx, dword [ebp - 4]
add esp, 0x10
xor edi, edi
test ecx, ecx
jle 0x5e524f
mov ebx, dword [ebp - 4]
nop dword [eax]
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x30
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x30
mov word [eax + 4], cx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x34]
push dword [ecx + edi*4]
mov ecx, eax
call fcn.005e5360
mov ecx, dword [esi + 8]
and ecx, 0x3fffffff
mov dword [ebp - 4], eax
cmp dword [esi + 4], ecx
jne 0x5e5230
push 4
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov ecx, dword [esi + 4]
inc edi
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov dword [eax + ecx*4], edx
inc dword [esi + 4]
cmp edi, ebx
jl 0x5e51e0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5e5260
Capabilities:
Get thread local storage value

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 4], 0x1ffff
mov dword [esi], vtable.hkbBindable.0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x5e5383
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.BSBoneSwitchGeneratorBoneData.0
mov eax, dword [edi + 0x20]
mov ecx, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
call fcn.0045c0c0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5e542c
cmp dword [eax + 8], 0
jne 0x5e53ee
mov ecx, eax
test ecx, ecx
je 0x5e53d4
call fcn.0045c0c0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5e53e0
call fcn.0045c160
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, esi
pop edi
pop esi
pop ebp
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 0x5e5429
cmp ecx, edi
je 0x5e5429
call fcn.0045c160
mov dword [esi + 0x24], edi
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x5e54b0
Capabilities:
Get thread local storage value

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

Function at 0x5e5620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x30]
mov byte [edi + 0x64], 0
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
test ecx, ecx
je 0x5e569e
test ebx, ebx
je 0x5e569e
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov esi, eax
call fcn.0058ba30
cmp esi, eax
pop esi
jne 0x5e569e
mov ecx, dword [edi + 0x30]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [edi + 0x50], eax
mov byte [eax + 0x26], 1
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x58
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x58
mov word [eax + 4], cx
mov ecx, eax
call fcn.005bc090
mov dword [edi + 0x60], eax
mov ecx, ebx
or word [eax + 0x34], 2
push dword [edi + 0x30]
call fcn.00598e50
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x2c], ecx
pop edi
pop ebx
pop ebp
ret 4
Function at 0x5e56f0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x884c50]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5e5726
mov dword [edi], str.TtBSCyclicBlendTransitionGenerator::update
rdtsc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
cmp byte [esi + 0x64], 1
je 0x5e579b
push dword [esi + 0x30]
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.005e5d40
test eax, eax
je 0x5e5744
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x2c], ecx
mov al, byte [esi + 0x64]
cmp al, 3
jne 0x5e5751
mov byte [esi + 0x64], 2
jmp 0x5e5780
cmp al, 2
jne 0x5e579b
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x5e579b
movss xmm0, dword [ebp + 0xc]
push esi
push ecx
movss dword [esp], xmm0
push edi
call fcn.005bc8d0
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
call eax
test al, al
je 0x5e579b
mov byte [esi + 0x64], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x5e579b
cmp byte [ecx + 0xae], 0
setne al
or al, 1
mov byte [ecx + 0xae], al
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5e57c8
mov dword [esi], 0x77f5ec
rdtsc
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5e5c00
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x884c50]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 0xc]
jae 0x5e5c36
mov dword [esi], str.TtBSCyclicBlendTransitionGenerator::generate
rdtsc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
cmp byte [edi + 0x64], 2
je 0x5e5c58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
cmp ecx, eax
je 0x5e5c78
test eax, eax
je 0x5e5c78
push ecx
push eax
call fcn.005d3f10
add esp, 8
jmp 0x5e5c78
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x5e5c78
movss xmm0, dword [ebp + 0x14]
mov eax, dword [ecx]
push ecx
movss dword [esp], xmm0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0x5c]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5e5ca5
mov dword [esi], 0x77f5ec
rdtsc
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5e5cc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x64], 2
jne 0x5e5cdb
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x5e5cdb
mov dword [ebp + 0xc], ecx
mov ecx, eax
pop ebp
jmp 0x5bc490
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x5e5d36
cmp byte [edx + 0x26], 2
mov eax, dword [ebp + 8]
push esi
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
jne 0x5e5cfb
push edx
mov ecx, esi
call fcn.00598ff0
mov edx, eax
mov ecx, dword [esi + 0x5c]
push 0
push edx
call fcn.0046b890
mov ecx, dword [esi + 0x58]
shl eax, 7
mov ecx, dword [ecx]
add eax, ecx
cmp byte [eax + 0x7d], 0
je 0x5e5d1e
mov eax, dword [eax + 0x5c]
shl eax, 7
add eax, ecx
mov esi, dword [ebp + 0xc]
push 0x50
push eax
push esi
call fcn.0045d810
add esp, 0xc
mov byte [esi + 0x4e], 0
pop esi
pop ebp
ret 8
pop ebp
jmp method.hkbTransitionEffect.virtual_100

Function at 0x5e5e50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x5e5e62
call fcn.0045c160
mov dword [esi + 0x40], 0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x5e5e75
call fcn.0045c160
mov ecx, esi
mov dword [esi + 0x38], 0
call fcn.0058ee20
mov eax, dword [ebp + 8]
test al, 1
je 0x5e5ecd
test al, 4
jne 0x5e5ec2
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x70
cmp ax, cx
je 0x5e5ea4
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
pop ebp
ret 4
push 0x70
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x5e6270
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x884c50]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 0xc]
jae 0x5e62a6
mov dword [esi], str.TtBSOffsetAnimationGenerator::update
rdtsc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
cmp dword [edi + 0x1c], 8
mov ebx, dword [ebp + 8]
jne 0x5e62f6
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x5e62d3
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
call fcn.0058bb80
cmp esi, eax
jne 0x5e62d3
mov eax, dword [edi + 0x40]
test eax, eax
je 0x5e62d3
movzx edx, word [eax + 0x48]
jmp 0x5e62d8
mov edx, 0xffff
mov ecx, dword [0x8d45ec]
test ecx, ecx
je 0x5e62ef
mov eax, dword [ecx]
push edx
push ebx
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x5e62fe
mov dword [edi + 0x1c], 0xc
push ebx
mov ecx, edi
call fcn.005e6460
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5e632b
mov dword [esi], 0x77f5ec
rdtsc
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8