Function at 0x4dd2bb17
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4dd78004]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
push edi
mov esi, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call fcn.4dd11340
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x4dd2bcd0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
test byte [esi + 0x210], 4
je 0x4dd2bcd8
mov eax, dword [esi + 0x20c]
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
push 7
push 0x4dd2a2e8
push eax
call edi
add esp, 0xc
test eax, eax
je 0x4dd2bce6
test byte [esi + 0x210], 4
je 0x4dd2bcdf
mov eax, dword [esi + 0x20c]
push 8
push 0x4dd2a2d4
push eax
call edi
add esp, 0xc
test eax, eax
je 0x4dd2bce6
xor edi, edi
lea edx, [ebp - 0x2c]
push edx
lea eax, [esi + 0x64]
mov ecx, dword [eax]
push 0x4dd113a0
push eax
call dword [ecx + 0x10]
test byte [esi + 0x2a8], 3
jne 0x4dd3cd35
mov ecx, dword [esi + 0x2a4]
cmp ecx, ebx
jne 0x4dd3cd43
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4dd2150c
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x4dd2bc84
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x4dd2bc84
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x4dd18a08
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x4dd2bc84
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4dd2bd50
push ebx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x4dd2bc84
test byte [esi + 0x210], 4
mov dword [ebp - 0xc], 2
je 0x4dd2bcee
mov eax, dword [esi + 0x20c]
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
mov dword [ebp - 8], eax
jne 0x4dd3cd92
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push ebx
push 0x4dd117f8
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4dd3cdc1
cmp dword [ebp - 0x28], ebx
jne 0x4dd3cdcc
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4dd2bca5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4dd2bcb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4dd2bcbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.4dd11321
leave
ret 8
mov dword [ebp - 0x28], ebx
jmp 0x4dd2bb62
xor eax, eax
jmp 0x4dd2bb75
xor eax, eax
jmp 0x4dd2bba3
xor edi, edi
inc edi
jmp 0x4dd2bbba
xor eax, eax
jmp 0x4dd2bc5b
cmp dword [esi + 0x2a4], ebx
jne 0x4dd2bbd9
jmp 0x4dd3cd88
test byte [esi + 0x210], 4
je 0x4dd3cd54
mov eax, dword [esi + 0x20c]
jmp 0x4dd3cd56
xor eax, eax
push ecx
push eax
call fcn.4dd735a1
test eax, eax
pop ecx
pop ecx
jge 0x4dd2bbe7
xor eax, eax
cmp edi, ebx
sete al
push eax
push dword [esi + 0x2a4]
push dword [ebp - 0x2c]
call fcn.4dd73d10
add esp, 0xc
test eax, eax
je 0x4dd2bbe7
mov edi, 0x800a0e84
jmp 0x4dd2bc84
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x24], eax
test byte [esi + 0x210], 4
je 0x4dd3cdac
mov esi, dword [esi + 0x20c]
jmp 0x4dd3cdae
xor esi, esi
push ebx
push 0x4dd3cddc
mov dword [ecx + 0x30], esi
call fcn.4dd76303
jmp 0x4dd2bc69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4dd2bc8f
push edi
push dword [ebp - 0x28]
call fcn.4dd76374
pop ecx
pop ecx
jmp 0x4dd2bc98