Function at 0x425f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov dword [ebp - 0xec], 0xaf
mov dword [ebp - 0x24], 0xad
mov dword [ebp - 0x20], 0x28f
mov dword [ebp - 0xf0], 0x2a0
mov dword [ebp - 0xf4], 0x1d9
mov dword [ebp - 0x28], 0x15a
mov dword [ebp - 0xc], 0x54
mov dword [ebp - 0xcc], 0x1d8
mov dword [ebp - 0x30], 0x38c
mov dword [ebp - 0x90], 0x34b
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], 0x128
mov dword [ebp - 0x88], 0x163
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 8], 0x2b0
mov dword [ebp - 0xd0], 0x185
mov dword [ebp - 0xe0], 0x1d
mov dword [ebp - 0x8c], 0x228
mov dword [ebp - 0x14], 0x212
mov dword [ebp - 0x40], 0x3b5
mov dword [ebp - 0x18], 0x152
mov dword [ebp - 4], 0x3a7
mov dword [ebp - 0xf8], 0xf8
mov dword [ebp - 0xa8], 0x2b8
mov dword [ebp - 0x2c], 0x318
mov dword [ebp - 0x34], 0
jmp 0x42600b
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x38b
cmp dword [ebp - 0x34], ecx
jge 0x426024
mov edx, dword [ebp + 0x18]
add edx, 1
mov dword [ebp + 0x18], edx
jmp 0x426002
mov dword [ebp - 0x38], 0
jmp 0x426036
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xa8]
sub ecx, 0x18958
cmp dword [ebp - 0x38], ecx
jge 0x42635d
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jge 0x426065
mov dword [ebp - 0x48], 1
jmp 0x42606c
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [ebp - 0xb0]
jge 0x42609e
mov dword [ebp - 0x4c], 1
jmp 0x4260a5
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jge 0x4260bf
mov dword [ebp - 0x50], 1
jmp 0x4260c6
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x48]
and ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x50]
je 0x426358
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x4260e9
mov dword [ebp - 0x54], 1
jmp 0x4260f0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 0x24]
sub eax, 1
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x24]
imul ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp + 0x1c]
and edx, dword [ebp - 0x54]
and edx, ecx
je 0x426358
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x88]
jge 0x426358
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp + 0x1c]
sub eax, 1
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [ebp - 0xb8]
jge 0x42615b
mov dword [ebp - 0x58], 1
jmp 0x426162
mov dword [ebp - 0x58], 0
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x24]
jge 0x426173
mov dword [ebp - 0x5c], 1
jmp 0x42617a
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x58]
and ecx, dword [ebp - 0x5c]
or ecx, dword [ebp + 0xc]
or ecx, dword [ebp - 0x18]
je 0x426358
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x30]
jge 0x426358
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp + 0x18]
sub edx, 1
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc0]
jge 0x4261d3
mov dword [ebp - 0x60], 1
jmp 0x4261da
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0x1c]
add ecx, 1
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 0x14]
jge 0x4261f4
mov dword [ebp - 0x64], 1
jmp 0x4261fb
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x64]
je 0x426358
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jge 0x42622d
mov dword [ebp - 0x68], 1
jmp 0x426234
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 8]
jge 0x426245
mov dword [ebp - 0x6c], 1
jmp 0x42624c
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc4]
cmp edx, dword [ebp - 0xc8]
jge 0x42627e
mov dword [ebp - 0x70], 1
jmp 0x426285
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x6c]
or eax, dword [ebp - 0x70]
je 0x426358
mov ecx, dword [ebp + 0x24]
add ecx, 1
mov dword [ebp + 0x24], ecx
mov edx, dword [ebp + 0x1c]
add edx, 1
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x1c]
jge 0x4262b7
mov dword [ebp - 0x74], 1
jmp 0x4262be
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x20]
jge 0x4262d8
mov dword [ebp - 0x78], 1
jmp 0x4262df
mov dword [ebp - 0x78], 0
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x10]
jge 0x4262f0
mov dword [ebp - 0x7c], 1
jmp 0x4262f7
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x74]
and ecx, dword [ebp - 0x78]
or ecx, dword [ebp - 0x7c]
je 0x426358
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 4]
jge 0x426313
mov dword [ebp - 0x80], 1
jmp 0x42631a
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x426331
mov dword [ebp - 0x84], 1
jmp 0x42633b
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x80]
and ecx, dword [ebp - 0x8c]
and ecx, dword [ebp + 0x24]
and ecx, dword [ebp - 0x84]
je 0x426358
mov edx, dword [ebp + 0x20]
sub edx, 1
mov dword [ebp + 0x20], edx
jmp 0x42602d
mov eax, dword [ebp - 0x10]
sub eax, 0x34
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x1d0
push ecx
mov edx, dword [ebp - 4]
sub edx, 0x1b3
push edx
mov eax, dword [ebp - 0x88]
sub eax, 0x16
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x63
push ecx
mov edx, dword [ebp + 0x14]
add edx, 0x53
push edx
mov eax, dword [ebp - 8]
sub eax, 0x1b5
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x3f
push ecx
mov edx, dword [ebp + 0x1c]
sub edx, 0x171
push edx
mov eax, dword [ebp - 8]
add eax, 0x86
push eax
call fcn.00417610
add esp, 0x28
mov ecx, dword [ebp + 0xc]
sub ecx, 0x16
push ecx
mov edx, dword [ebp - 8]
sub edx, 0x116
push edx
mov eax, dword [ebp - 0x8c]
add eax, 0xe7
push eax
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x81
push ecx
mov edx, dword [ebp + 0x14]
add edx, 0x79
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x11b
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x43
push ecx
mov edx, dword [ebp - 0x44]
add edx, 0x2b3
push edx
call fcn.0040a5f0
add esp, 0x20
mov dword [ebp - 0x3c], 0
jmp 0x426420
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x18]
sub ecx, 0x188ad
cmp dword [ebp - 0x3c], ecx
jge 0x4265a7
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xcc]
jge 0x426449
mov dword [ebp - 0x94], 1
jmp 0x426453
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 8]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [ebp - 0xd8]
jge 0x426497
mov dword [ebp - 0x98], 1
jmp 0x4264a1
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x94]
and eax, dword [ebp - 0x98]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0xdc], 0
je 0x4265a2
mov edx, dword [ebp - 0xe0]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 0xe8]
jge 0x426513
mov dword [ebp - 0x9c], 1
jmp 0x42651d
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x30]
jge 0x42653d
mov dword [ebp - 0xa0], 1
jmp 0x426547
mov dword [ebp - 0xa0], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x426564
mov dword [ebp - 0xa4], 1
jmp 0x42656e
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0x9c]
or ecx, dword [ebp - 0xa0]
or ecx, dword [ebp - 0xa4]
je 0x4265a2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp - 0x44]
je 0x4265a2
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x426417
mov esp, ebp
pop ebp
ret