Function at 0x1003e82d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003e967
mov dword [ebp - 0x68], 0x64a8
mov dword [ebp - 0x80], str.jkqhp_vjfvu_ikwucfd_fboo_nyevj_kfg_gasawewtb_frcc_utr_hssvk_ndpigil
cmp dword [ebp - 0x68], 0x663a
jle 0x1003e932
push 0
push 0
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x18], 0
jmp 0x1003e874
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc83
jge 0x1003e932
and dword [ebp - 0x54], 0
jmp 0x1003e88e
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x620d
jge 0x1003e92d
and dword [ebp - 0x48], 0
jmp 0x1003e8a8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x609f
jge 0x1003e928
and dword [ebp - 0x5c], 0
jmp 0x1003e8be
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x7087
jge 0x1003e923
mov ecx, dword [ebp - 0x54]
imul ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
sar eax, cl
mov ecx, dword [ebp - 0x5c]
shl eax, cl
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x120]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.1000cba0
push eax
call fcn.1004d87c
pop ecx
lea ecx, [ebp - 0x120]
call fcn.1000cb96
jmp 0x1003e8b7
jmp 0x1003e8a1
jmp 0x1003e887
jmp 0x1003e86d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0x68], 0x60ca
jge 0x1003e94d
push dword [ebp - 0x80]
call fcn.1004d87c
pop ecx
push 1
push dword [ebp - 0xd4]
push 0x1dbe
call fcn.1003ef1b
add esp, 0xc
jmp 0x1003ef17
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x70], 0x7838
mov dword [ebp - 0x104], str.tqydlg_sobhctgjp_ifgbumc_gjjtpjmkb_llh
cmp dword [ebp - 0x70], 0x79ac
jle 0x1003ea62
and dword [ebp - 0x28], 0
jmp 0x1003e9a4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x119e
jge 0x1003ea62
and dword [ebp - 0x20], 0
jmp 0x1003e9be
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1ec5
jge 0x1003ea5d
and dword [ebp - 0x50], 0
jmp 0x1003e9d8
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x519a
jge 0x1003ea58
and dword [ebp - 0x64], 0
jmp 0x1003e9ee
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x66e
jge 0x1003ea53
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x50]
mov eax, dword [ebp - 0x28]
mov ecx, edx
shl eax, cl
or eax, dword [ebp - 0x64]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x168]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1000cba0
push eax
call fcn.1004d87c
pop ecx
lea ecx, [ebp - 0x168]
call fcn.1000cb96
jmp 0x1003e9e7
jmp 0x1003e9d1
jmp 0x1003e9b7
jmp 0x1003e99d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x70], 0x7538
jge 0x1003ea80
push dword [ebp - 0x104]
call fcn.1004d87c
pop ecx
mov dword [ebp - 0x78], 0x689f
mov dword [ebp - 0xe0], str.hnbmlvr_mfdrey_qjkkb_qwqgkemk_fxvo_mbqchi_qfxtnlk_naoyfndc_fcq_dgqb_unwtjsoy_dnqkf_wieq_awkgmd
cmp dword [ebp - 0x78], 0x6b20
jle 0x1003eb61
and dword [ebp - 0x30], 0
jmp 0x1003eaab
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x92b
jge 0x1003eb61
and dword [ebp - 0x58], 0
jmp 0x1003eac5
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x4306
jge 0x1003eb5c
and dword [ebp - 0x38], 0
jmp 0x1003eadf
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x6412
jge 0x1003eb57
and dword [ebp - 0x60], 0
jmp 0x1003eaf5
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x3189
jge 0x1003eb55
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x138]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.1000cba0
push eax
call fcn.1004d87c
pop ecx
lea ecx, [ebp - 0x138]
call fcn.1000cb96
jmp 0x1003eaee
jmp 0x1003ead8
jmp 0x1003eabe
jmp 0x1003eaa4
lea eax, [ebp + 8]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x78], 0x64e0
jge 0x1003eb7f
push dword [ebp - 0xe0]
call fcn.1004d87c
pop ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1003ed0d
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x6c], 0x1c88
mov dword [ebp - 0xf8], str.gyib_mknqfceqa_xtjfs_yexjpobw_nhhbmk_sqdanl_vxkonmf_swpfhh_xwan_ouwyyg_irdaa
cmp dword [ebp - 0x6c], 0x1e6b
jle 0x1003eca8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [ebp - 0x40], 0
jmp 0x1003ebe6
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2ee2
jge 0x1003eca2
and dword [ebp - 0xc], 0
jmp 0x1003ec00
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3162
jge 0x1003ec9d
and dword [ebp - 0x10], 0
jmp 0x1003ec1a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7d37
jge 0x1003ec98
and dword [ebp - 0x14], 0
jmp 0x1003ec30
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3128
jge 0x1003ec93
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl eax, cl
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x150]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
call fcn.1000cba0
push eax
call fcn.1004d87c
pop ecx
lea ecx, [ebp - 0x150]
call fcn.1000cb96
jmp 0x1003ec29
jmp 0x1003ec13
jmp 0x1003ebf9
jmp 0x1003ebdf
call dword [sym.imp.USER32.dll_WaitMessage]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003ecd3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1003ecf3
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xbc]
call fcn.1000ce77
mov dword [eax], 0x2d149feb
jmp 0x1003ecc8
cmp dword [ebp - 0x6c], 0x1c62
jge 0x1003ed08
push dword [ebp - 0xf8]
call fcn.1004d87c
pop ecx
jmp 0x1003ef17
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x7c], 0x562a
mov dword [ebp - 0xac], str.drj_siifayj_pfystrbt_vvpqjx_dospv_dnehn
cmp dword [ebp - 0x7c], 0x57be
jle 0x1003ede5
and dword [ebp - 0x2c], 0
jmp 0x1003ed50
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5b09
jge 0x1003ede5
and dword [ebp - 0x1c], 0
jmp 0x1003ed6a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1d57
jge 0x1003ede0
and dword [ebp - 0x24], 0
jmp 0x1003ed80
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4468
jge 0x1003edde
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x180]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.1000cba0
push eax
call fcn.1004d87c
pop ecx
lea ecx, [ebp - 0x180]
call fcn.1000cb96
jmp 0x1003ed79
jmp 0x1003ed63
jmp 0x1003ed49
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x74], 0x87
mov dword [ebp - 0xa4], str.btbnkjqvd_ovt_kcc_ncrfqycvx_lss_slaoypbqw_dty_gil_jopfkwj
cmp dword [ebp - 0x74], 0xb4
jle 0x1003eeb3
and dword [ebp - 0x4c], 0
jmp 0x1003ee25
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x7970
jge 0x1003eeb3
and dword [ebp - 0x34], 0
jmp 0x1003ee3f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7aa1
jge 0x1003eeae
and dword [ebp - 0x3c], 0
jmp 0x1003ee55
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x46d0
jge 0x1003eeac
and dword [ebp - 0x44], 0
jmp 0x1003ee6b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x442b
jge 0x1003eeaa
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
shl edx, cl
and edx, dword [ebp - 0x4c]
mov eax, edx
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
mov ecx, 0x1007bbb8
call fcn.1000cbc0
jmp 0x1003ee64
jmp 0x1003ee4e
jmp 0x1003ee38
jmp 0x1003ee1e
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003eec9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1003eee9
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x9c]
call fcn.1000ce77
mov dword [eax], 0x59ff446c
jmp 0x1003eebe
cmp dword [ebp - 0x74], 0xfffffdf8
jge 0x1003ef02
mov edx, dword [ebp - 0xa4]
mov ecx, 0x1007bbb8
call fcn.1000ee07
cmp dword [ebp - 0x7c], 0x52f2
jge 0x1003ef17
push dword [ebp - 0xac]
call fcn.1004d87c
pop ecx
mov esp, ebp
pop ebp
ret