Function at 0x443f00
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x40
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x84]
mov ecx, dword [ebp + 0x88]
add ecx, eax
je 0x443f40
mov edx, dword [esp + 0x48]
mov ax, word [esp + 0x4c]
lea ecx, [esp + 8]
push ecx
mov ecx, ebp
mov byte [esp + 0xc], 0xf
mov dword [esp + 0x10], edx
mov word [esp + 0x14], ax
call fcn.0043f010
pop ebp
add esp, 0x40
ret 8
push ebx
add eax, 1
push esi
mov dword [ebp + 0x84], eax
mov edx, dword [0x4c6060]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], bind
call edi
mov esi, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
lea edx, [esi*4 + 0x10]
and edx, 0xfffffff0
lea ebx, [ecx + edx]
cmp ebx, dword [eax + 0x2c]
ja 0x443f8d
mov dword [eax + 0x20], ebx
mov eax, ecx
jmp 0x443f97
mov ebx, dword [eax]
mov ecx, eax
mov eax, dword [ebx + 0x14]
push edx
call eax
mov ecx, dword [0x4c6060]
mov dword [esp + 0x40], eax
mov ebx, esi
mov dword [esp + 0x4c], eax
xor eax, eax
or ebx, 0x80000000
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], bind
call edi
mov ecx, dword [eax + 0x20]
mov edx, esi
shl edx, 5
add edx, 0x10
and edx, 0xfffffff0
mov dword [esp + 0x10], ecx
add ecx, edx
cmp ecx, dword [eax + 0x2c]
ja 0x443fe8
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
jmp 0x443ff2
mov ecx, eax
mov eax, dword [eax]
push edx
mov edx, dword [eax + 0x14]
call edx
mov dword [esp + 0x38], ebx
xor ebx, ebx
test esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], esi
jle 0x4440af
lea edi, [ebp + 0xe4]
mov dword [esp + 0x10], ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x54]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 0x18], 0
jne 0x444039
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], ebp
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0x24]
mov dword [edx + ebx*4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
add edx, ecx
push edx
mov ecx, esi
call eax
mov ecx, esi
call fcn.00453f70
mov ecx, dword [edi + 8]
and ecx, 0x3fffffff
cmp dword [edi + 4], ecx
jne 0x44407a
push 4
push edi
call fcn.00402730
add esp, 8
mov edx, dword [edi + 4]
mov eax, dword [edi]
push esi
mov dword [eax + edx*4], esi
add dword [edi + 4], 1
push ebp
call fcn.0044c450
add esp, 8
mov ecx, esi
call fcn.004544c0
add dword [esp + 0x10], 0x20
add ebx, 1
cmp ebx, dword [esp + 0x58]
jl 0x444020
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x4c6060]
mov esi, dword [ebp + 0x2f8]
xor eax, eax
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], bind
call edi
mov ecx, dword [eax + 0x20]
lea edx, [esi*8 + 0x10]
and edx, 0xfffffff0
lea ebx, [ecx + edx]
cmp ebx, dword [eax + 0x2c]
ja 0x4440ec
mov dword [eax + 0x20], ebx
mov eax, ecx
jmp 0x4440f6
mov ebx, dword [eax]
push edx
mov edx, dword [ebx + 0x14]
mov ecx, eax
call edx
mov ecx, dword [ebp + 0x54]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x34]
mov dword [esp + 0x24], eax
or esi, 0x80000000
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x30], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x48]
push edx
call eax
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x44412d
add eax, 8
jmp 0x44412f
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [ebp + 0x58]
push edx
call fcn.00481290
add dword [ebp + 0x84], 0xffffffff
jne 0x444164
cmp byte [ebp + 0x8c], 0
jne 0x444164
cmp dword [ebp + 0x80], 0
je 0x444164
mov ecx, ebp
call fcn.0043eff0
mov eax, dword [0x4c6060]
mov esi, dword [esp + 0x2c]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x444182
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov eax, dword [esp + 0x28]
test eax, eax
js 0x4441b0
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call edi
mov ecx, dword [esp + 0x20]
push 0x17
lea edx, [esi*8]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
mov edx, dword [0x4c6060]
mov esi, dword [esp + 0x3c]
push edx
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x4441cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov esi, dword [esp + 0x38]
test esi, esi
js 0x4441f8
mov ecx, dword [0x4c6060]
push ecx
and esi, 0x3fffffff
call edi
mov edx, dword [esp + 0x30]
push 0x17
shl esi, 5
push esi
push edx
mov ecx, eax
call fcn.004023e0
mov eax, dword [0x4c6060]
mov esi, dword [esp + 0x4c]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x444216
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov eax, dword [esp + 0x48]
test eax, eax
js 0x444244
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call edi
mov ecx, dword [esp + 0x40]
push 0x17
lea edx, [esi*4]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x40
ret 8