Function at 0x490cc9
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5da7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], 0x1f63
mov dword [ebp - 0xc0], str.frm_zanroal_piusmmdul_skbbzysv_riccjqe_xatrsfpz_mofdqott_kieue_plaqmdx_mdmz_crweakwfs_kexihuqbh
cmp dword [ebp - 0x50], 0x2272
jle 0x490d7c
and dword [ebp - 0x3c], 0
jmp 0x490d15
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x78d
jge 0x490d7c
and dword [ebp - 0x34], 0
jmp 0x490d2b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x698b
jge 0x490d7a
and dword [ebp - 0x24], 0
jmp 0x490d41
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7a20
jge 0x490d78
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
mov ecx, 0xade298
call fcn.0040b052
jmp 0x490d3a
jmp 0x490d24
jmp 0x490d0e
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x4911cc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x490fc8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x490e59
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x490e54
push 0x2721
push 0x61c1
push 1
push 0x6757
push 1
push 0x10d2
push 0x1399
push 0
push 0x6c0d
call fcn.0048cd01
add esp, 0x24
jmp 0x490fc3
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], 0x5c1
mov dword [ebp - 0x8c], str.posxag_gvg_xfgon_cgdwohyw_tqdqkmcqk_irp_wfrqn_ijqkcygwp_sfmfplnbd_sgxigk_vtsex
cmp dword [ebp - 0x48], 0x87e
jle 0x490f3e
push 0x1753
push 0x4bc
push 0x1d3c
call dword [sym.imp.USER32.dll_CheckDlgButton]
and dword [ebp - 0x2c], 0
jmp 0x490eb7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7014
jge 0x490f3e
and dword [ebp - 0x44], 0
jmp 0x490ecd
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x41ff
jge 0x490f39
and dword [ebp - 0x1c], 0
jmp 0x490ee3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3b68
jge 0x490f37
and dword [ebp - 0x40], 0
jmp 0x490ef9
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x609d
jge 0x490f35
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
shl eax, cl
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
mov ecx, 0xade298
call fcn.0040b052
jmp 0x490ef2
jmp 0x490edc
jmp 0x490ec6
jmp 0x490eb0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x3b0
jge 0x490f67
mov edx, dword [ebp - 0x8c]
mov ecx, 0xade298
call fcn.0040d8d7
jmp 0x490f83
or dword [ebp - 4], 0xffffffff
jmp 0x490f8d
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x490fa3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x490fc3
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xd0]
call fcn.0040b367
mov dword [eax], 1
jmp 0x490f98
jmp 0x4911ca
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], 0x1ea6
mov dword [ebp - 0x58], str.ahy_zktqayr_jkzajbiw
cmp dword [ebp - 0x4c], 0x1fd0
jle 0x4910b7
and dword [ebp - 0x38], 0
jmp 0x491002
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x25f3
jge 0x4910af
and dword [ebp - 0x20], 0
jmp 0x49101c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1b19
jge 0x4910aa
and dword [ebp - 0x28], 0
jmp 0x491036
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5417
jge 0x4910a5
and dword [ebp - 0x30], 0
jmp 0x49104c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6e3b
jge 0x4910a3
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x100]
call fcn.00401a48
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b047
push eax
call fcn.004af8e7
pop ecx
lea ecx, [ebp - 0x100]
call fcn.0040b03d
jmp 0x491045
jmp 0x49102f
jmp 0x491015
jmp 0x490ffb
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x4c], 0x1b5f
jge 0x4910dc
push dword [ebp - 0x58]
call fcn.004af8e7
pop ecx
jmp 0x4910f8
or dword [ebp - 4], 0xffffffff
jmp 0x491102
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x491167
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x491165
push 0
push 0x62f
push 0x2000
push 0x213b
push 0x26d5
push 0x877
push 0x1ede
push 0x979
push 0xefc
push 0xf3f
push 0x1a75
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4911ca
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x4911aa
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x4911ca
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.0040b367
mov dword [eax], 7
jmp 0x49119f
jmp 0x4911fb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
push dword [ebp - 0xb0]
push 1
push dword [ebp - 0xb8]
push 0x5dd8
push 0
call fcn.0047c82f
add esp, 0x14
mov dword [ebp - 4], 4
cmp dword [ebp - 0x50], 0x1e7f
jge 0x49121b
mov edx, dword [ebp - 0xc0]
mov ecx, 0xade298
call fcn.0040d8d7
jmp 0x491237
or dword [ebp - 4], 0xffffffff
jmp 0x491241
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret