Function at 0x416780
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x38], 0xebb44
mov dword [ebp - 0x24], 0x6a2bc
mov dword [ebp - 0x4c], 0x9dbf5
mov dword [ebp - 0x40], 0x47c19
mov dword [ebp - 0x5c], 0xded7c
mov dword [ebp - 0x58], 0x8cca2
mov dword [ebp - 0x3c], 0x9b1ed
mov dword [ebp - 0x20], 0x2365c
mov dword [ebp - 0x44], 0xef565
mov dword [ebp - 0x14], 0x254bb
mov dword [ebp - 0x2c], 0x1940c
mov dword [ebp - 0x34], 0xcbc57
mov dword [ebp - 0x10], 0x836c0
mov dword [ebp - 0x48], 0xc656e
mov dword [ebp - 0x54], 0x94d31
mov dword [ebp - 0x30], 0x46d8c
mov dword [ebp - 8], 0x8fb5c
mov dword [ebp - 0x28], 0x7aaea
mov dword [ebp - 0x50], 0x65ca7
mov dword [ebp - 0xc], 0x31bb2
mov dword [ebp - 0x1c], 0x23046
mov dword [ebp - 4], 0xe49e1
mov dword [ebp - 0x18], 0xa7a2e
mov eax, dword [ebp - 0x50]
or eax, 0x85728
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x48]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x18]
xor edx, 0xd4574
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x44]
sub eax, 0x5910e
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0x1c], 0xf3668
jne 0x4169b7
mov ecx, dword [ebp - 0x38]
or ecx, 0x24740
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x48]
sub edx, 0x86df7
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 4], 0x2607c
jge 0x4169b7
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x4c]
sub edx, 0xbfe4e
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0x2cb74
jle 0x4169b7
mov ecx, dword [ebp - 4]
or ecx, 0x5659e
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x40]
xor edx, 0x95127
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 8]
add ecx, 0xaba38
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, 0x2805e
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], 0xb949e
jle 0x4169b7
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
or edx, dword [ebp - 0x48]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0xe7068
jge 0x4169b7
mov eax, dword [ebp - 0xc]
or eax, 0x2c2ee
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1c]
or edx, 0x64b6
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
xor ecx, 0x4c89e
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
sub edx, 0x6238f
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
cmp dword [ebp - 0x10], 0x848
je 0x4169b7
mov eax, dword [ebp + 0x14]
xor eax, 0x845ae
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 0x50]
or ecx, 0xa85c7
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x2c]
or edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
or eax, 0xb3033
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
xor ecx, 0x87189
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x4c]
or edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x18]
xor eax, 0x31a61
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 0x82254
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
xor edx, 0x15b8b
mov dword [ebp - 8], edx
cmp dword [ebp - 0x1c], 0x4b627
je 0x416a4c
mov eax, dword [ebp - 0x14]
or eax, 0xc941a
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 0xdd34e
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
add edx, 0x24839
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
and eax, 0xce79b
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
and ecx, 0xa3839
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
and eax, 0xa8a97
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0x46d8d
jl 0x416827
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
or edx, dword [ebp - 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x982f7
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x34], 0x20eed
jne 0x416ae6
mov eax, dword [ebp - 0x58]
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0x10]
and ecx, 0x68a47
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x34]
add edx, 0xc1453
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x1c], 0x4eb22
jne 0x416ae6
mov eax, dword [ebp + 0x1c]
sub eax, 0x3720f
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp - 0x34]
or ecx, 0x714f8
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 8]
and edx, 0x99c6e
mov dword [ebp - 8], edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
nop
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x1c], 0xbd1d9
je 0x416dd0
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x4c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x44]
or ecx, 0xaf331
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x20]
xor edx, dword [ebp + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x24]
or ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
cmp dword [ebp + 0x18], 0x95930
jge 0x416dd0
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
or ecx, 0x7f6d6
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x50]
xor ecx, 0x74a2a
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x14], 0x7def3
jne 0x416dd0
mov edx, dword [ebp - 0x2c]
sub edx, 0x84223
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
add eax, 0x786e0
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x1c]
xor ecx, dword [ebp - 0x20]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp - 0x28]
or edx, 0x8c3f0
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x18], 0x81654
jne 0x416dd0
mov ecx, dword [ebp - 0x10]
sub ecx, 0x914e7
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
xor edx, 0xa9876
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0xc]
xor eax, 0xdbee4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp + 0x18]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x54], 0x34a22
jne 0x416dd0
mov eax, dword [ebp - 0x10]
xor eax, 0xe78cc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0xe6656
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0xb184e
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 0x14]
add edx, 0xb9345
mov dword [ebp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
cmp dword [ebp - 0x40], 0x5d65d
jle 0x416dd0
mov eax, dword [ebp + 0x14]
sub eax, 0x757b9
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xe3a94
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
or edx, dword [ebp + 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x18]
or eax, 0xa7eb0
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 0x1c], 0x1826f
jle 0x416dd0
mov edx, dword [ebp - 4]
sub edx, 0x5192a
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
sub eax, 0xe8715
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
or ecx, 0x367c9
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
or eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0x6eb19
jne 0x416dd0
mov ecx, dword [ebp - 0x14]
or ecx, 0x75cab
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
or eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
and edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x71530
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x34], 0x5163a
jne 0x416dd0
mov edx, dword [ebp - 0x18]
and edx, 0x43031
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
and eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x38], 0x8ceb6
jle 0x416dd0
mov ecx, dword [ebp - 0x14]
xor ecx, 0x175f5
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
xor edx, 0xeb93a
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x24]
sub eax, 0x77345
mov dword [ebp - 0x24], eax
cmp dword [ebp - 8], 0x9ab4b
je 0x416dd0
mov ecx, dword [ebp + 0x10]
or ecx, dword [ebp - 0x30]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x54]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x18]
sub eax, 0x333bc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x2cf8a
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x4c]
and eax, 0x67bd7
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x28]
and ecx, 0xdb2b4
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
or eax, 0x90e9d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x58], 0x8cca3
jl 0x416ae6
mov esp, ebp
pop ebp
ret