Function at 0x4d4ae3
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
jne 0x4d4dfe
mov eax, dword [esi]
call dword [eax + 0x30]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d4b04
mov ecx, eax
call fcn.0045c0c0
push ebx
push ebp
push edi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x40
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
lea ecx, [esi + 0x7c]
mov eax, 0x40
push ecx
mov ecx, esi
mov word [edi + 4], ax
mov edx, dword [esi]
call dword [edx + 0x1c]
push eax
push dword [esi + 0x18]
mov ecx, edi
call fcn.004d66b0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x78], eax
cmp dword [ecx + 0xc], 1
sete al
xor ebp, ebp
mov byte [esp + 0x13], al
mov dword [esp + 0x18], ebp
cmp dword [ecx + 0x14], ebp
jle 0x4d4cb3
xor edx, edx
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x24]
mov ebp, dword [ecx + ebp*4]
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x4d4c97
mov ebx, dword [esi + 0x20]
add ebx, edx
mov dword [esp + 0x24], ebx
test al, al
jne 0x4d4c04
mov ecx, dword [ebx + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [ecx + ebp]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x20]
sub eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x4d4c04
mov ebp, dword [esp + 0x2c]
add ebp, 8
mov eax, dword [ebp - 8]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x4d4be3
push dword [ebp]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 4]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x20]
push edx
mov edi, dword [ecx]
push eax
call dword [edi + 0x14]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
add edi, 3
sub eax, dword [ebx + 0x1c]
add ebp, 0xc
cdq
and edx, 3
mov dword [esp + 0x14], edi
add eax, edx
sar eax, 2
cmp edi, eax
jl 0x4d4bb0
mov ebp, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
lea edi, [ebp + 8]
mov ecx, dword [ebx + 0x20]
xor ebp, ebp
sub eax, ecx
mov dword [esp + 0x20], ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x4d4c8f
lea eax, [edi + ecx]
mov dword [esp + 0x14], eax
nop dword [eax]
mov ecx, dword [eax - 8]
cmp ecx, 0xffffffff
je 0x4d4c6a
mov ebx, dword [eax - 4]
mov edi, dword [eax]
mov eax, dword [esi]
push ecx
push dword [esp + 0x1c]
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esi]
mov ecx, esi
push edi
push ebx
mov ebp, eax
call dword [edx + 0x40]
mov ecx, dword [esi + 0x78]
push eax
push ebp
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
add eax, 0xc
add ebp, 3
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x20]
cdq
and edx, 3
mov dword [esp + 0x20], ebp
add eax, edx
sar eax, 2
cmp ebp, eax
mov eax, dword [esp + 0x14]
jl 0x4d4c30
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
mov ebp, dword [esp + 0x18]
add edx, 0x30
mov ecx, dword [esi + 0x1c]
inc ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
cmp ebp, dword [ecx + 0x14]
jl 0x4d4b64
mov ecx, esi
call fcn.004d5db0
push eax
mov ecx, esi
call fcn.004d5d70
mov ecx, dword [esi + 0x78]
push eax
call fcn.004d9200
cmp byte [esp + 0x13], 0
je 0x4d4d75
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [esi + 0x1c]
lea ebx, [esi + 8]
mov ebp, dword [esp + 0x28]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x78]
mov edi, dword [ebp]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x30], vtable.PackfilePointersMapListener.0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.004d5db0
push eax
mov ecx, ebp
call dword [edi + 0x10]
mov edx, dword [esi]
mov ecx, esi
push ebx
mov edi, eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x1c]
push eax
push dword [ecx + 0xc]
push edi
call fcn.004d9080
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi + 0x78]
push edi
push dword [eax + 0x34]
call fcn.006631d0
add esp, 0x1c
lea ecx, [esp + 0x48]
push 0x7d8954
call fcn.0046b3e0
lea ecx, [esp + 0x48]
call fcn.0046b110
jmp 0x4d4d79
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0xc], 6
jg 0x4d4de8
mov eax, dword [esi + 0x78]
mov ecx, esi
mov edi, dword [ebp]
mov dword [esp + 0x30], vtable.PackfileCstringListener.0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xffffffff
call fcn.004d5db0
push eax
mov ecx, ebp
call dword [edi + 0x10]
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [esi + 0x78]
push dword [eax + 0x34]
call fcn.006631d0
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0x7d8954
call fcn.0046b3e0
lea ecx, [esp + 0x3c]
call fcn.0046b110
test ebp, ebp
je 0x4d4df3
mov ecx, ebp
call fcn.0045c160
mov eax, dword [esi + 0x78]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x44
ret
mov eax, dword [esi + 0x78]
pop esi
add esp, 0x44
ret