Function at 0x44bd80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4d33b4]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0
push edi
test bl, bl
je 0x44bffe
push dword [esi + 0x218]
lea edi, [esi + 0x218]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x44bffe
push edi
lea ecx, [esp + 0x40]
call fcn.00449a60
call fcn.00435b30
test al, al
je 0x44be05
lea ecx, [esp + 0x40]
call fcn.00435a70
jmp 0x44be12
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x30], xmm0
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
call fcn.00435a00
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004499f0
test bl, 8
je 0x44be43
mov ecx, dword [esp + 0x14]
call fcn.004537e0
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
test bl, 1
je 0x44bf83
push dword [esp + 0x28]
lea eax, [esi + 4]
mov byte [esp + 0x28], 0
push dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x28]
push eax
call fcn.0044c6b0
mov edx, eax
test edx, edx
je 0x44bebb
mov ecx, dword [esp + 0x18]
sub ecx, dword [edx]
mov eax, dword [esp + 0x1c]
sbb eax, dword [edx + 4]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
je 0x44bebb
sub edi, dword [edx + 8]
mov eax, dword [esp + 0x30]
sbb eax, dword [edx + 0xc]
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x17c]
test al, 8
je 0x44bef5
push edx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 0x45
lea eax, [esp + 0x128]
push eax
call fcn.0044b7d0
push eax
lea ecx, [esp + 0x108]
call fcn.004286e0
lea ecx, [esp + 0x11c]
call fcn.0041c210
cmp dword [0x4d94d4], 0
je 0x44bf1e
mov eax, dword [0x4d94d4]
test eax, eax
setne al
test al, al
je 0x44bf1e
call fcn.00454b30
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x44bf1e
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [esp + 0x24], 0
je 0x44bf2f
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x114], 0
je 0x44bf83
cmp dword [0x4d8374], 2
jg 0x44bf73
push 2
push 0x5b4
push 0x417208
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], 2
call fcn.0041b540
lea ecx, [esp + 0x104]
add eax, 8
push ecx
push eax
call fcn.00420330
add esp, 8
test byte [esp + 0x10], 2
je 0x44bf83
lea ecx, [esp + 0x50]
call fcn.0041b6f0
test bl, 4
je 0x44bfb6
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x44bfb6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0x45
push dword [esp + 0x48]
push dword [esp + 0x48]
call eax
add esp, 0x34
mov eax, dword [esp + 0x118]
cmp eax, 0x10
jb 0x44bfd7
inc eax
lea ecx, [esp + 0x104]
push eax
push dword [esp + 0x108]
call fcn.0041e500
lea ecx, [esp + 0x3c]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.00449ad0
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret 0x10