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

Disassembly:
mov eax, dword [esp + 4]
lea edx, [ecx + 0xb0]
mov dword [esp + 4], edx
movaps xmm0, xmmword [eax]
movaps xmmword [edx], xmm0
movaps xmm0, xmmword [eax + 0x10]
movaps xmmword [edx + 0x10], xmm0
jmp fcn.0051ebf0

Function at 0x520650
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [eax], 0
mov dword [esp + 0xc], edi
je 0x520782
push eax
call fcn.0051fcb0
test eax, eax
jne 0x520782
mov eax, dword [edi + 0x168]
lea esi, [edi + 0x160]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x5206a4
push 8
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea eax, [eax + ecx*8]
mov dword [esp + 8], eax
lea eax, [ecx + 1]
mov dword [esi + 4], eax
lea ecx, [esp + 0x10]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x78]
push eax
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [eax + 0x40]
mov dword [esp + 0x78], 0
movups xmmword [esp + 0x54], xmm0
call fcn.004fd5b0
mov esi, dword [esp + 0x10]
add edi, 0x10
mov dword [esp + 0x28], 0
push 0
lea eax, [esi + 0x1d00]
mov dword [esp + 0x74], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
shl edx, 5
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
lea eax, [esi + 0x1a0]
add edx, eax
movzx eax, byte [edx + ecx]
lea ecx, [esp + 0x14]
push ecx
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0x9a0]
mov esi, dword [ebp + 8]
push esi
push edi
call eax
mov ecx, dword [esp + 0x18]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], esi
cmp dword [esp + 0x74], 0
mov byte [eax + 0x16c], 1
je 0x520782
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x200
push dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x520ab4
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 0x520b03
test al, 4
jne 0x520af8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x18
cmp ax, cx
je 0x520adb
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 0x18
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x522cf0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.00522240
mov eax, dword [esp + 8]
test al, 1
je 0x522d42
test al, 4
jne 0x522d37
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x40
cmp ax, cx
je 0x522d1a
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 0x40
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x5279d0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x128
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527a64
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527a5d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527a1f
mov dword [edi], 0x786ac0
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527a5d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x5279e7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x128
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527b14
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527b0d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527acf
mov dword [edi], str.TtactRemCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527b0d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527a97
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x527b30
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x134
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527bc4
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527bbd
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527b7f
mov dword [edi], str.TtentAddCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527bbd
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527b47
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x134
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527c74
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527c6d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527c2f
mov dword [edi], str.TtentRemCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527c6d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527bf7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x527c90
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x134
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527d24
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527d1d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527cdf
mov dword [edi], str.TtsetShapeCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527d1d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527ca7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x134
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527dd4
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527dcd
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527d8f
mov dword [edi], str.TtsetMotionTypeCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527dcd
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527d57
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x527df0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x140
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527e84
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527e7d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527e3f
mov dword [edi], str.TtphntAddCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527e7d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527e07
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x140
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527f34
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527f2d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527eef
mov dword [edi], str.TtphntRemCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527f2d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527eb7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x527f50
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x140
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x527fe4
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x527fdd
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527f9f
mov dword [edi], str.TtsetShapeCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x527fdd
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x527f67
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x14c
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x528094
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x52808d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52804f
mov dword [edi], str.TtconAddCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52808d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x528017
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x5280b0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x14c
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x528144
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x52813d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5280ff
mov dword [edi], str.TtconRemCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52813d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x5280c7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x14c
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x5281f4
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x5281ed
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5281af
mov dword [edi], str.TtconVioCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5281ed
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x528177
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x528210
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x14c
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x5282a1
push ebx
push edi
mov eax, dword [ebp]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x52829a
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x528260
mov dword [edi], str.TtconBrokenCb
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x1c]
call dword [eax + 0x14]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52829a
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x528227
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x14c
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x528341
push ebx
push edi
mov eax, dword [ebp]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x52833a
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x528300
mov dword [edi], str.TtconRepairedCb
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x1c]
call dword [eax + 0x18]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52833a
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x5282c7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x528350
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x1ac
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x5283e3
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x5283dc
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52839f
mov dword [edi], str.TtcpCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5283dc
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x528367
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x1ac
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x528484
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x52847d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52843f
mov dword [edi], str.TtNewCollCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52847d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x528407
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret
Function at 0x5284a0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
add ebp, 0x1ac
push esi
mov esi, dword [ebp + 4]
sub esi, 1
js 0x528534
push ebx
push edi
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x52852d
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5284ef
mov dword [edi], str.TtFinCollCb
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x52852d
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
jns 0x5284b7
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
add ebp, 0x170
push esi
mov edx, dword [ebp + 4]
mov dword [esp + 8], edx
lea esi, [edx - 1]
test esi, esi
js 0x528609
push ebx
push edi
mov ecx, dword [ebp + 4]
cmp edx, ecx
jle 0x528584
mov eax, ecx
mov dword [esp + 0x10], ecx
sub eax, edx
add esi, eax
mov eax, dword [ebp]
cmp dword [eax + esi*4], 0
je 0x5285fa
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5285bc
mov dword [edi], str.TtpostSimCb
rdtsc
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp]
push dword [esp + 0x20]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 0xc]
jae 0x5285fa
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 4], eax
sub esi, 1
mov edx, dword [esp + 0x10]
jns 0x528573
pop edi
pop ebx
push ebp
call fcn.005291f0
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret