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

Disassembly:
mov eax, dword [esp + 8]
test al, 0x20
je 0x492da7
push esi
push 0
push 0
push dword [esp + 0x18]
and eax, 0xffffffdf
push eax
push dword [esp + 0x18]
call fcn.00492d40
add esp, 0x14
mov esi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x18
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], 0xffff
mov dword [eax + 8], 0
mov dword [eax], vtable.ArrayOfTuplesImplementation.0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
test esi, esi
je 0x492da5
inc dword [esi + 8]
pop esi
ret
and eax, 0xf
dec eax
cmp eax, 9
ja case.0x492db4.5
jmp dword [eax*4 + 0x492f54]
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 4]
mov ecx, 0x1c
mov word [eax + 4], cx
mov ecx, eax
call fcn.0048ff10
ret
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]
push dword [esp + 4]
mov ecx, 0x30
mov word [eax + 4], cx
mov ecx, eax
call fcn.004900f0
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 4]
mov ecx, 0x1c
mov word [eax + 4], cx
mov ecx, eax
call fcn.0048ffe0
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x20
push 4
push dword [esp + 8]
mov word [eax + 4], cx
mov ecx, eax
call fcn.00490150
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x20
push 0xc
push dword [esp + 8]
mov word [eax + 4], cx
mov ecx, eax
call fcn.00490150
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x20
push 0x10
push dword [esp + 8]
mov word [eax + 4], cx
mov ecx, eax
call fcn.00490150
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0xc]
mov ecx, 0x20
push dword [esp + 8]
mov word [eax + 4], cx
mov ecx, eax
call fcn.0048ff90
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x24
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x14]
mov ecx, 0x24
push dword [esp + 0x10]
mov word [eax + 4], cx
mov ecx, eax
push dword [esp + 0xc]
call fcn.00490020
ret
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 4]
mov ecx, 0x1c
mov word [eax + 4], cx
mov ecx, eax
call fcn.0048ff50
ret
xor eax, eax
ret
Function at 0x493d00
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x2c]
sub ebx, 1
mov ecx, dword [esi + 0x28]
mov ebp, dword [eax + 0xc]
js 0x493d3a
mov eax, ebx
lea edi, [ecx + 4]
shl eax, 5
add edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x493d2c
call fcn.0045c160
mov dword [edi], 0
sub edi, 0x20
sub ebx, 1
jns 0x493d21
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], 0
test ecx, ecx
js 0x493d5d
mov eax, dword [ebp]
and ecx, 0x3fffffff
shl ecx, 5
push ecx
push dword [esi + 0x28]
mov ecx, ebp
call dword [eax + 0x10]
xor ebx, ebx
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], connect
cmp dword [esi + 0x20], ebx
jle 0x493dca
mov eax, dword [esi + 0x1c]
mov edi, dword [eax + ebx*4]
mov ecx, dword [edi + 0xc]
mov dword [edi + 8], 0
test ecx, ecx
js 0x493d9b
mov eax, dword [ebp]
and ecx, 0x3fffffff
shl ecx, 3
push ecx
push dword [edi + 4]
mov ecx, ebp
call dword [eax + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 0xc], connect
test edi, edi
je 0x493dc4
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x10
push edi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
inc ebx
cmp ebx, dword [esi + 0x20]
jl 0x493d72
mov edx, dword [esi + 0x24]
mov dword [esi + 0x20], 0
test edx, edx
js 0x493ded
mov eax, dword [ebp]
and edx, 0x3fffffff
shl edx, 2
mov ecx, ebp
push edx
push dword [esi + 0x1c]
call dword [eax + 0x10]
mov ecx, 0x7d8e70
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], connect
call fcn.0045c0c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x493e11
call fcn.0045c160
pop edi
mov dword [esi + 0x10], 0x7d8e70
pop esi
pop ebp
pop ebx
ret

Function at 0x4949c1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0
jne 0x494a18
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
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, dword [esi + 0x10]
mov dword [eax + 4], 0xffff
mov dword [eax + 8], 0
mov dword [eax], vtable.ArrayOfTuplesImplementation.0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov dword [esi + 0x14], eax
inc dword [eax + 8]
mov ecx, dword [esi + 0xc]
push dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 0x14]
mov edi, eax
test edi, edi
je 0x494a30
inc dword [edi + 8]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x494a43
add dword [ecx + 8], 0xffffffff
jne 0x494a43
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0xc], edi
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
ret 4
Function at 0x495060
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi], 2
jl 0x495128
call fcn.00494dd0
cmp eax, dword [esi + 0x3c]
jge 0x49508b
mov ecx, dword [esi + 0x38]
push dword [ecx + eax*4]
lea ecx, [esp + 8]
call fcn.004845b0
jmp 0x495136
push ebx
push edi
push 0
push eax
lea edi, [esi + 0x44]
push 0x7d8954
mov ecx, edi
call fcn.0046b540
lea ebx, [eax*8]
mov eax, dword [edi]
mov esi, dword [ebx + eax + 4]
test esi, esi
jne 0x4950e8
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x18
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x4950e0
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.00495260
mov esi, eax
jmp 0x4950e2
xor esi, esi
mov eax, dword [edi]
mov dword [ebx + eax + 4], esi
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
and eax, 0x3fffffff
mov ebx, dword [esp + 0x18]
cmp dword [esi + 4], eax
jne 0x49510d
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]
test eax, eax
je 0x49511e
mov dword [eax], edi
mov dword [eax + 4], ebx
inc dword [esi + 4]
pop edi
pop ebx
pop esi
pop ecx
ret 8
push 0
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00496260
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
call fcn.00484ad0
lea ecx, [esp + 4]
call fcn.00484690
pop esi
pop ecx
ret 8

Function at 0x495160
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi], 2
jl 0x49522b
call fcn.00494dd0
cmp eax, dword [esi + 0x3c]
jge 0x49518b
mov ecx, dword [esi + 0x38]
push dword [ecx + eax*4]
lea ecx, [esp + 0x10]
call fcn.004847e0
pop esi
pop ecx
ret 8
push ebx
push edi
push 0
push eax
lea edi, [esi + 0x44]
push 0x7d8954
mov ecx, edi
call fcn.0046b540
lea ebx, [eax*8]
mov eax, dword [edi]
mov esi, dword [ebx + eax + 4]
test esi, esi
jne 0x4951e8
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x18
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x4951e0
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.00495260
mov esi, eax
jmp 0x4951e2
xor esi, esi
mov eax, dword [edi]
mov dword [ebx + eax + 4], esi
mov eax, dword [esi + 0x14]
add esi, 0xc
mov edi, dword [esp + 0x14]
and eax, 0x3fffffff
mov ebx, dword [esp + 0x18]
cmp dword [esi + 4], eax
jne 0x495210
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]
test eax, eax
je 0x495221
mov dword [eax], edi
mov dword [eax + 4], ebx
inc dword [esi + 4]
pop edi
pop ebx
pop esi
pop ecx
ret 8
push 0
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00496260
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
call fcn.004847c0
lea ecx, [esp + 4]
call fcn.00484690
pop esi
pop ecx
ret 8
Function at 0x495420
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x34]
cmp ebx, dword [edi + 0x2c]
jge 0x495455
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [edi + 0x28]
push dword [0x884adc]
mov esi, dword [eax + ebx*4]
call ebp
push esi
push dword [eax + 0x2c]
call fcn.00460680
inc ebx
add esp, 8
cmp ebx, dword [edi + 0x2c]
jl 0x495434
pop ebp
push 0x7d8954
lea ecx, [edi + 0x44]
call fcn.0046b3e0
lea ecx, [edi + 0x44]
call fcn.0046b110
mov eax, dword [edi + 0x40]
mov dword [edi + 0x3c], 0
test eax, eax
js 0x495491
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x38]
call dword [eax + 0x10]
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], connect
mov eax, dword [edi + 0x30]
mov dword [edi + 0x2c], 0
test eax, eax
js 0x4954c6
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x28]
call dword [eax + 0x10]
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], connect
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], 0
test eax, eax
js 0x4954fb
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x1c]
call dword [eax + 0x10]
mov dword [edi + 0x1c], 0
lea ecx, [edi + 4]
mov dword [edi + 0x24], connect
pop edi
pop esi
pop ebx
jmp fcn.0064c950

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

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00494dd0
mov esi, eax
test esi, esi
jle 0x4969dc
push ebx
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [esi + 1]
push ecx
push dword [eax + 0x2c]
call fcn.00460640
add esp, 8
lea ecx, [edi + 4]
mov ebx, eax
push esi
push ebx
call fcn.0064ca60
mov byte [ebx + esi], 0
lea esi, [edi + 0x28]
mov eax, dword [esi + 8]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x4969cb
push 4
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
mov eax, ebx
inc dword [esi + 4]
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi + 0x28]
lea ecx, [esi*4]
sub eax, ecx
pop edi
pop esi
mov eax, dword [eax]
ret

Function at 0x496df0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0xb4]
mov ecx, ebp
call fcn.0046aac0
mov esi, eax
mov ecx, ebp
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
je 0x496e6a
nop word [eax + eax]
push esi
mov ecx, ebp
call fcn.0046ab80
mov ebx, eax
test ebx, ebx
je 0x496e4c
mov ecx, ebx
call fcn.00496fd0
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
push ebx
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
push esi
mov ecx, ebp
call fcn.0046aaf0
mov esi, eax
mov ecx, ebp
push esi
lea eax, [esp + 0x17]
push eax
call fcn.0046ad00
cmp byte [esp + 0x13], 0
jne 0x496e20
mov esi, dword [edi + 0xc8]
sub esi, 1
mov eax, dword [edi + 0xc4]
js 0x496e8f
lea ebx, [eax + esi*4]
nop
mov ecx, ebx
call fcn.00484690
sub ebx, 4
sub esi, 1
jns 0x496e80
mov eax, dword [edi + 0xcc]
mov dword [edi + 0xc8], 0
test eax, eax
js 0x496ebf
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0xc4]
call dword [eax + 0x10]
mov ecx, ebp
mov dword [edi + 0xc4], 0
mov dword [edi + 0xcc], connect
call fcn.0046a7e0
mov eax, dword [edi + 0xb0]
mov dword [edi + 0xac], 0
test eax, eax
js 0x496f0a
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0xa8]
call dword [eax + 0x10]
lea ecx, [edi + 0x98]
mov dword [edi + 0xa8], 0
mov dword [edi + 0xb0], connect
call fcn.00472740
lea ecx, [edi + 0x98]
call fcn.0046a7e0
mov eax, dword [edi + 0x90]
mov dword [edi + 0x8c], 0
test eax, eax
js 0x496f64
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x88]
call dword [eax + 0x10]
mov dword [edi + 0x88], 0
mov dword [edi + 0x90], connect
mov eax, dword [edi + 0x84]
mov dword [edi + 0x80], 0
test eax, eax
js 0x496fa5
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [edi + 0x7c]
call dword [eax + 0x10]
mov dword [edi + 0x7c], 0
mov ecx, edi
mov dword [edi + 0x84], connect
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00497040
Function at 0x4983f0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push 0
push dword [esp + 0xc]
lea edi, [ecx + 0xb4]
mov ecx, edi
call fcn.0046ab90
test eax, eax
jne 0x498479
push esi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x498468
mov dword [esi], 0
mov ecx, edi
push esi
push dword [esp + 0x10]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], connect
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], connect
call fcn.0046abd0
mov eax, esi
pop esi
pop edi
ret 4
xor esi, esi
mov ecx, edi
push esi
push dword [esp + 0x10]
call fcn.0046abd0
mov eax, esi
pop esi
pop edi
ret 4

Function at 0x49b030
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push esi
push edi
push dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], connect
push dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.0049b130
mov esi, eax
add esp, 8
test esi, esi
jle 0x49b07f
xor eax, eax
mov ecx, esi
test esi, esi
push 1
cmovs ecx, eax
lea eax, [esp + 0xc]
push ecx
push eax
push 0x7d8954
call fcn.00467b80
mov edi, dword [esp + 0x18]
add esp, 0x10
push dword [esp + 0x20]
mov dword [esp + 0x10], esi
push esi
push edi
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.0049b1b0
add esp, 0x14
mov esi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x1c
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
mov eax, 0x1c
mov word [edi + 4], ax
lea eax, [esp + 8]
mov ecx, dword [esp + 8]
push eax
mov ecx, dword [ecx + 0x20]
mov edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [edi + 4], 0x1ffff
mov dword [edi], vtable.hkNativeResource.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], connect
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], edx
call fcn.0049bd70
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], 0
test eax, eax
js 0x49b120
and eax, 0x3fffffff
mov ecx, 0x7d8954
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0xc]
call dword [eax + 0x10]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret

Function at 0x49b8b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0049b830
mov eax, dword [esp + 8]
test al, 1
je 0x49b902
test al, 4
jne 0x49b8f7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x1c
cmp ax, cx
je 0x49b8da
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 0x49be94
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 0x49bee3
test al, 4
jne 0x49bed8
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 8
cmp ax, cx
je 0x49bebb
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 8
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x49d580
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0049bf30
mov eax, dword [esp + 8]
test al, 1
je 0x49d5d2
test al, 4
jne 0x49d5c7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x18
cmp ax, cx
je 0x49d5aa
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 0x49d720
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push esi
push edi
mov eax, dword [ebx]
call dword [eax + 0x20]
mov esi, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], connect
mov dword [esp + 0x1c], esi
test esi, esi
je 0x49d792
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0x7f]
and edx, 0xffffff80
mov ecx, dword [eax + 0xc]
lea edi, [ecx + edx]
cmp edx, dword [eax + 8]
jg 0x49d782
cmp edi, dword [eax + 0x10]
ja 0x49d782
mov dword [eax + 0xc], edi
mov edx, dword [esp + 0x10]
jmp 0x49d794
push edx
mov ecx, eax
call fcn.0046a3c0
mov edx, dword [esp + 0x10]
mov ecx, eax
jmp 0x49d794
xor ecx, ecx
mov eax, esi
mov dword [esp + 0xc], ecx
or eax, 0x80000000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
and eax, 0x3fffffff
cmp eax, esi
jge 0x49d7d7
lea ecx, [eax + eax]
mov eax, esi
cmp esi, ecx
push 1
cmovl eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push 0x7d8954
call fcn.00467b80
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov eax, esi
lea edi, [edx + ecx]
sub eax, edx
test eax, eax
jle 0x49d7f8
mov ecx, eax
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
lea edx, [esi - 1]
mov dword [esp + 0x10], esi
and edx, dword [esp + 0x24]
je 0x49d818
mov eax, dword [ebx]
sub esi, edx
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
xor eax, eax
push dword [0x884adc]
cmp edi, ecx
cmove esi, eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
add esi, 0x7f
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x49d85a
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x49d85a
cmp dword [eax + 0x14], edi
je 0x49d85a
mov dword [eax + 0xc], edi
jmp 0x49d863
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
pop edi
pop esi
pop ebx
test eax, eax
js 0x49d88d
and eax, 0x3fffffff
mov ecx, 0x7d8954
push eax
mov eax, dword [0x7d8954]
push dword [esp + 4]
call dword [eax + 0x10]
add esp, 0x14
ret
Function at 0x49da50
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [esp + 8], 4
jne 0x49da6b
push dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 4
push dword [esp + 0x18]
call fcn.00469880
ret
push ebx
push esi
push edi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [esp + 0x18]
mov esi, dword [eax + 0xc]
lea ebx, [edi*8 + 0x7f]
and ebx, 0xffffff80
lea ecx, [esi + ebx]
cmp ebx, dword [eax + 8]
jg 0x49da9d
cmp ecx, dword [eax + 0x10]
ja 0x49da9d
mov dword [eax + 0xc], ecx
jmp 0x49daa7
push ebx
mov ecx, eax
call fcn.0046a3c0
mov esi, eax
xor ecx, ecx
test edi, edi
jle 0x49dac4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx*4]
mov dword [esi + ecx*8], eax
mov dword [esi + ecx*8 + 4], 0
inc ecx
cmp ecx, edi
jl 0x49dab1
mov ecx, dword [esp + 0x10]
push edi
push dword [esp + 0x18]
push esi
call fcn.00469880
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebx + 0xf]
and edx, 0xfffffff0
cmp ebx, dword [eax + 8]
jg 0x49dafe
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x49dafe
cmp dword [eax + 0x14], esi
je 0x49dafe
pop edi
mov dword [eax + 0xc], esi
pop esi
pop ebx
ret
push edx
push esi
mov ecx, eax
call fcn.0046a590
pop edi
pop esi
pop ebx
ret
Function at 0x49db10
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], connect
mov dword [esp + 0x18], esi
push edi
test esi, esi
je 0x49db71
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
lea edx, [esi + 0x7f]
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
lea edi, [eax + edx]
cmp edx, dword [ecx + 8]
jg 0x49db65
cmp edi, dword [ecx + 0x10]
ja 0x49db65
mov dword [ecx + 0xc], edi
mov edx, dword [esp + 0x10]
jmp 0x49db73
push edx
call fcn.0046a3c0
mov edx, dword [esp + 0x10]
jmp 0x49db73
xor eax, eax
mov ecx, esi
mov dword [esp + 0xc], eax
or ecx, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
and ecx, 0x3fffffff
cmp ecx, esi
jge 0x49dbb7
add ecx, ecx
mov eax, esi
cmp esi, ecx
push 1
cmovl eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push 0x7d8954
call fcn.00467b80
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0xc]
mov ecx, esi
lea edi, [edx + eax]
sub ecx, edx
test ecx, ecx
jle 0x49dbd6
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
push esi
push eax
mov dword [esp + 0x18], esi
call fcn.00469a30
mov edi, dword [esp + 0x18]
mov ebx, eax
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp edi, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
push dword [0x884adc]
cmove ecx, eax
add esi, 0x7f
mov dword [esp + 0x14], ecx
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x49dc2f
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x49dc2f
cmp dword [eax + 0x14], edi
je 0x49dc2f
mov dword [eax + 0xc], edi
jmp 0x49dc38
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
test eax, eax
js 0x49dc5f
and eax, 0x3fffffff
mov ecx, 0x7d8954
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x10]
call dword [eax + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x14
ret