Function at 0x11f08e10
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc5417
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
xor ebx, ebx
push edi
mov dword [0x12135738], ebx
call ebp
mov ecx, dword [esp + 0x140]
mov dword [0x12135740], eax
or eax, 0xffffffff
cmp ecx, eax
je 0x11f0946e
cmp dword [esp + 0x144], eax
je 0x11f0946e
cmp dword [0x12135744], ebx
jne 0x11f08e84
mov dword [0x12135738], 2
mov dword [0x1213573c], 0x854
jmp 0x11f09482
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x154]
mov edx, 1
stosw word es:[edi], ax
cmp esi, ebx
mov dword [esp + 0x38], edx
stosb byte es:[edi], al
je 0x11f08eb4
cmp dword [esi], ebx
je 0x11f08eb4
xor eax, eax
jmp 0x11f08eb6
mov eax, edx
lea ecx, [esp + 0x40]
test ecx, ecx
jne 0x11f08eee
mov dword [0x12135738], edx
mov dword [0x1213573c], 0x21c2
call ebp
mov dword [0x12135740], eax
mov dword [0x12135738], 7
mov dword [0x1213573c], 0x862
jmp 0x11f09482
mov ecx, dword [0x12107284]
mov edi, dword [0x12135770]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x12107288]
neg eax
mov dword [esp + 0x44], ecx
mov ecx, dword [0x1210728c]
sbb eax, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [0x12107290]
add eax, 0x40002
mov dword [esp + 0x60], eax
mov eax, dword [0x12106c1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x12135750]
cmp eax, 0xffffffff
mov word [esp + 0x70], 0x40
mov dword [esp + 0x78], ecx
mov word [esp + 0x72], dx
je 0x11f08f56
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x11f08f56
mov edi, eax
mov dword [esp + 0x6c], edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0xf8], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call fcn.11e923e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], ebx
call fcn.11e923e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call fcn.11e923e0
mov eax, dword [esp + 0x14c]
mov byte [esp + 0x138], 2
cmp eax, ebx
mov dword [esp + 0x30], ebx
je 0x11f08fe6
lea edx, [esp + 0x20]
push edx
push eax
call fcn.11f1d8a0
add esp, 8
cmp eax, ebx
je 0x11f08fe6
lea ecx, [esp + 0x20]
call fcn.11e92ce0
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x1c]
call fcn.11e923e0
xor ebp, ebp
cmp esi, ebx
mov byte [esp + 0x138], 3
je 0x11f09028
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.11e925f0
lea ecx, [esp + 0x1c]
call fcn.11e92d00
mov ecx, dword [esi]
mov ebp, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x140]
push esi
call fcn.11ee1880
add esp, 4
cmp eax, ebx
jne 0x11f093d9
push esi
call fcn.11ee1a50
add esp, 4
test eax, eax
jne 0x11f093eb
mov eax, dword [esp + 0x148]
mov edi, 1
cmp eax, ebx
mov dword [esp + 0x28], edi
jne 0x11f09199
lea ecx, [esp + 0x34]
call fcn.11e923e0
mov esi, dword [esp + 0x144]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x100]
push edx
lea ecx, [esp + 0x8c]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
push esi
mov byte [esp + 0x154], 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
call fcn.11f10580
add esp, 0x1c
test eax, eax
je 0x11f09188
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push ebx
push edi
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
mov dword [esp + 0x44], ebx
call fcn.11f10320
add esp, 0x20
test eax, eax
je 0x11f090ee
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x30], ebx
jne 0x11f09131
test byte [esp + 0x64], 8
je 0x11f09131
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push eax
push edi
push 3
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push esi
mov dword [esp + 0x44], ebx
call fcn.11f10320
add esp, 0x20
test eax, eax
je 0x11f09131
lea ecx, [esp + 0x20]
call fcn.11e92ce0
cmp ebp, ebx
jne 0x11f09175
mov eax, dword [esp + 0x64]
test ah, 1
je 0x11f09175
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 2
push 4
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push esi
mov dword [esp + 0x44], ebx
call fcn.11f10320
add esp, 0x20
test eax, eax
je 0x11f09175
lea ecx, [esp + 0x1c]
call fcn.11e92ce0
mov eax, dword [0x12135750]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
and al, 0x7f
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 3
call fcn.11e92540
cmp word [esp + 0x102], bx
jne 0x11f0944e
push 0xffffffffffffffff
push 0x110
lea ecx, [esp + 0x20]
call fcn.11e925f0
lea ecx, [esp + 0x18]
call fcn.11e92d00
mov ebp, eax
mov ecx, 0x44
mov esi, 0x12135748
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x12106c1c]
cmp eax, 0xffffffff
je 0x11f091e8
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x11f091e8
mov dword [ebp + 0x28], eax
add ebp, 0x48
push ebp
call fcn.11f2fd10
mov ecx, dword [0x1213574c]
mov dl, byte [0x12135754]
mov eax, dword [0x12135750]
mov dword [esp + 0x9c], ecx
mov cl, byte [0x12135758]
add esp, 4
mov byte [esp + 0x96], dl
mov dword [esp + 0x9c], eax
mov byte [esp + 0x97], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb0], eax
mov dx, ax
mov eax, dword [esp + 0x28]
mov word [esp + 0x7c], dx
cmp eax, ebx
je 0x11f09297
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.11e925e0
push eax
lea ecx, [esp + 0x1c]
call fcn.11e925f0
lea ecx, [esp + 0x14]
call fcn.11e925e0
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.11e92d00
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.11e92d00
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
push ecx
call fcn.11f2fd40
add esp, 4
lea edx, [esp + 0x1c]
mov ebp, dword [esp + 0x144]
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x140]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
push ebp
push esi
mov dword [esp + 0x64], ebx
call fcn.11f0e070
add esp, 0x28
cmp eax, ebx
je 0x11f0938a
mov al, byte [esp + 0x150]
mov dword [esp + 0x38], ebx
test al, 2
je 0x11f09339
lea edx, [esp + 0xd0]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xd4]
push 0x28
mov dword [esp + 0xd4], ebx
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.11f2ed60
add esp, 0xc
test eax, eax
je 0x11f09339
lea eax, [esp + 0xd0]
push 0x28
push eax
push ebp
call fcn.11f2eda0
add esp, 0xc
test byte [esp + 0x150], 4
je 0x11f0938a
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
call fcn.11f30300
add esp, 0xc
test eax, eax
je 0x11f09375
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call fcn.11f30520
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x11f0938a
push eax
call fcn.11e679b1
add esp, 4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 2
call fcn.11e92540
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call fcn.11e92540
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], bl
call fcn.11e92540
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0xffffffff
call fcn.11e92540
mov eax, dword [esp + 0x38]
jmp 0x11f0948e
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x144]
push ecx
push edx
jmp 0x11f093fb
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x144]
push eax
push ecx
push esi
call fcn.11ee01e0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 2
call fcn.11e92540
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call fcn.11e92540
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], bl
call fcn.11e92540
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0xffffffff
call fcn.11e92540
xor eax, eax
jmp 0x11f0948e
mov dword [0x12135738], edi
mov dword [0x1213573c], 0x8c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
jmp 0x11f0938a
mov dword [0x12135738], 1
mov dword [0x1213573c], 0x84e
call ebp
mov dword [0x12135740], eax
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret