Function at 0x100299e6
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x1005949b
call fcn.100580f4
sub esp, 0x140
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], esi
mov edi, ecx
je 0x1002a3cc
cmp byte [ebp + 8], 0
je 0x10029a25
push ecx
push ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
call fcn.1001af6e
jmp 0x1002a405
mov edi, dword [ebp + 0x2c]
xor ebx, ebx
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
mov ecx, 0x8ecb302a
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x1e28
mov dword [ebp - 0x28], 0x96e6c8ca
mov eax, dword [ebp - 0x18]
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0x63d1
setg cl
cmp ecx, 0x1cf04157
jl 0x10029a79
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setne dl
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], ebx
jne 0x10029a9d
cmp dword [ebp - 0x1c], ebx
jne 0x10029a9d
mov edx, ebx
jmp 0x10029aa0
xor edx, edx
inc edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setg cl
sub eax, ecx
xor ecx, ecx
cmp eax, 0xe60f
setl cl
cmp ecx, dword [ebp - 0x1c]
jge 0x10029b0b
mov byte [ebp + 0x27], bl
cmp byte [ebp + 0x27], 0
je 0x10029ae9
push 0x2a68
push 0x3749
push 1
push 0x466b
push 0x32c2
xor dl, dl
xor cl, cl
call fcn.10029373
add esp, 0x14
mov byte [ebp + 0x27], bl
cmp byte [ebp + 0x27], 0
je 0x10029cb8
push 0x3f28
mov edx, 0xb17
call fcn.1002b053
pop ecx
jmp 0x10029cb8
push dword [ebp + 0x24]
movdqa xmm0, xmmword [0x10065860]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x80], ebx
push eax
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x7c], ebx
movdqu xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0x78], ebx
call fcn.10007538
mov byte [ebp - 4], 1
mov dword [ebp - 0xb4], 8
mov dword [ebp - 0xb0], 8
mov dword [ebp - 0xac], 8
mov dword [ebp - 0xa8], 8
mov dword [ebp - 0x14], 0x3076
cmp dword [ebp - 0x14], 0x338a
jle 0x10029bd8
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov esi, edi
mov dword [ebp - 0x2c], 0x40cb
mov eax, ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp - 0x24], ebx
lea edi, [esi + eax]
mov ecx, ebx
mov eax, edi
sar eax, cl
mov ecx, 0x10071a98
cdq
push edx
push eax
call fcn.100046a4
inc ebx
cmp ebx, 0x66e3
jl 0x10029b93
mov eax, dword [ebp + 0x24]
inc eax
mov dword [ebp + 0x24], eax
push 0
pop ebx
cmp eax, 0x1cc1
jl 0x10029b8d
dec esi
dec dword [ebp - 0x2c]
jne 0x10029b88
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x1c74
jl 0x10029b7f
mov esi, dword [ebp - 0x48]
push 3
lea ecx, [ebp - 0x8c]
call fcn.100048ce
push 3
pop edx
mov byte [ebp - 4], dl
cmp dword [ebp - 0x14], 0x2db9
jge 0x10029c27
mov edx, str.knzoi_cdd_fvfdr_pvhyn_ddfkzc_ndmzhqj_vyf_ebf_drovy_ancbr_fuwn_ckqhebwk_phrvrmck_ptd
mov ecx, 0x10071a98
call fcn.10006c80
jmp 0x10029c24
push 3
pop edx
mov dword [ebp - 4], 2
mov dword [ebp + 0x24], ebx
jmp 0x10029c3d
mov eax, dword [ebp + 0x24]
mov dword [ebp + eax*4 - 0x64], edx
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], edx
jl 0x10029c33
mov dword [ebp + 0x24], ebx
jmp 0x10029c56
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], edx
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], edx
jl 0x10029c47
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x80]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x60]
cmp eax, 1
mov eax, dword [ebp - 0x28]
setge cl
imul eax, dword [ebp - 0x18]
imul eax, ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], ecx
imul ecx, edx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x8c]
call fcn.10004951
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10004951
mov edi, dword [ebp + 0x2c]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0xa4]
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x18], 0x694d2b5f
push 2
mov dword [ebp - 0x24], eax
call fcn.100048ce
push 0x31f
push 0x11ef
push ebx
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
push ecx
push ecx
push 0x7709
lea eax, [ebp - 0xb8]
push eax
push ecx
mov ecx, 0x1820
call fcn.10028fa1
add esp, 0x24
cmp dword [ebp + 0x24], ebx
je 0x10029d13
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
xor ecx, ecx
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
cmp eax, 0x864b
setl cl
add ecx, dword [ebp + 0x24]
add ecx, dword [ebp + 0x24]
jne 0x10029d37
cmp dword [ebp + 0x24], ebx
jne 0x10029d37
mov edx, ebx
jmp 0x10029d3a
xor edx, edx
inc edx
mov eax, dword [ebp + 0x24]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 0x24]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x24]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], eax
jg 0x10029d7a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xa4]
cmp dword [eax + ecx*4], ebx
jne 0x10029d7a
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jle 0x10029d63
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.10004951
cmp dword [esi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x10]
jb 0x10029d99
mov esi, dword [esi]
push eax
push ebx
push esi
mov ecx, edi
call fcn.1001ab6d
mov esi, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], eax
cmp esi, 0xffffffff
je 0x1002a1f0
cmp esi, dword [ebp - 0x2c]
jae 0x1002a1f0
mov dword [ebp - 0x20], 0x45b4
cmp dword [ebp - 0x20], 0x4769
jle 0x10029e2c
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp + 0x24], ebx
mov edi, ebx
mov esi, ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x14], ecx
mov eax, esi
cdq
idiv ecx
mov eax, edi
mov ecx, 0x10071a98
sub eax, edx
add eax, ebx
cdq
push edx
push eax
call fcn.100046a4
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x23f4
jl 0x10029de2
inc esi
push 0
pop ebx
cmp esi, 0x430a
jl 0x10029dda
inc edi
cmp edi, 0x7c6
jl 0x10029dd8
mov eax, dword [ebp + 0x24]
inc eax
mov dword [ebp + 0x24], eax
cmp eax, 0xd8f
jl 0x10029dd6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x20], 0x42a0
jge 0x10029e66
mov edx, str.ddv_bzfdvspj_rzduamx_phvv_yfadayv_lccb_wfndsn_fgbi
mov ecx, 0x10071a98
call fcn.10006c80
jmp 0x10029e66
mov dword [ebp - 4], ebx
mov dword [ebp + 0x24], 0x76f5020f
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp + 0x24], ebx
jmp 0x10029ea9
mov eax, dword [ebp + 0x24]
mov dword [ebp + eax*4 - 0xc8], 0xfffffffb
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], 4
jl 0x10029e98
mov dword [ebp + 0x24], ebx
jmp 0x10029ec5
mov eax, dword [ebp + 0x24]
mov dword [ebp + eax*4 - 0xec], 0x40ee
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], 2
jl 0x10029eb4
mov dword [ebp + 0x24], 3
cmp dword [ebp + 0x24], ebx
jl 0x1002a01b
mov dword [ebp - 0x1c], 0xc3ad3b31
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], 0x11a796d4
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x74], 0xcbedfa90
mov dword [ebp - 0x70], 0xcbedfa90
mov dword [ebp - 0x6c], 0xcbedfa90
mov dword [ebp - 0x68], 0xcbedfa90
mov dword [ebp - 0x3c], 0x6f85a06c
mov dword [ebp - 0x1c], 3
cmp dword [ebp - 0x1c], ebx
jl 0x1002a000
mov dword [ebp - 0x14], 0xc9214a9b
mov dword [ebp - 0x14], 0x858905b8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 0x4b
cmp dword [ebp - 0x20], 0x5b
jle 0x10029f97
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x134]
cdq
push edx
push eax
call fcn.10001a95
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10029f70
mov eax, dword [eax]
push eax
call fcn.1003fffd
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.10004e55
inc edi
cmp edi, 0x37ed
jl 0x10029f52
inc esi
cmp esi, 0x4e4a
jl 0x10029f50
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp + eax*4 - 0xc8]
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp + eax*4 - 0xc8]
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x28]
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x20], 0xfffffdb7
jge 0x10029fde
push str.zpayyvgxi_pdiw_btcaw_povecaw_ntfmkxwiv_jhvqolotv_gqwlvupk_bmsqyy_bfbpis
call fcn.1003fffd
pop ecx
push ecx
push ecx
push 0x7063
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x30]
mov byte [ebp - 0x30], bl
push 1
call fcn.100296b5
add esp, 0x10
dec dword [ebp - 0x1c]
jmp 0x10029f21
push 1
lea eax, [ebp - 0x3c]
push 0x26fb
push eax
call fcn.100289d8
add esp, 0xc
dec dword [ebp + 0x24]
jmp 0x10029ed2
push 0x76d
push 1
push 1
push ebx
lea eax, [ebp - 0x2d]
mov byte [ebp - 0x2d], bl
push eax
push 0x722a
push 0x2b30
mov edx, 0x18c4
mov ecx, 0x7353
call fcn.100296e8
mov eax, dword [ebp - 0x34]
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x1002a2a8
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x38]
push 0x6373
push 0x2df4
push 0x6712
push ebx
call fcn.10028db1
add esp, 0x18
mov dword [ebp - 0x18], 0x8fc558ba
mov dword [ebp + 0x24], 0x7822e6e
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], 0x19adb821
mov dword [ebp + 0x24], 0xca3691f6
push 3
call fcn.100048ce
mov byte [ebp - 4], 0xa
mov dword [ebp + 0x24], 0x91b76e1e
mov dword [ebp - 0x20], 0x79bb
cmp dword [ebp - 0x20], 0x7b52
jle 0x1002a122
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp + 0x24], 0x47e3
mov eax, esi
lea ecx, [ebp - 0x104]
or eax, edi
cdq
push edx
push eax
call fcn.10001a95
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002a0ef
mov eax, dword [eax]
push eax
call fcn.1003fffd
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x104]
call fcn.10004e55
dec esi
dec dword [ebp + 0x24]
jne 0x1002a0d3
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x477c
jl 0x1002a0c9
inc edi
cmp edi, 0x793f
jl 0x1002a0c4
mov dword [ebp - 0x14], 0x20410224
cmp dword [ebp - 0x20], 0x77a2
jge 0x1002a13d
push str.mcfsayn_jbjgxmnfq_qfqouq_barmvenha_otsygz_pge
call fcn.1003fffd
pop ecx
mov dword [ebp - 4], 0xa
mov dword [ebp + 0x24], ebx
jmp 0x1002a15c
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0x2c40a98c
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], 3
jl 0x1002a149
mov dword [ebp + 0x24], ebx
jmp 0x1002a178
mov eax, dword [ebp + 0x24]
mov dword [ebp + eax*4 - 0xe4], 0xffffffff
inc dword [ebp + 0x24]
cmp dword [ebp + 0x24], 3
jl 0x1002a167
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
imul eax, dword [ebp - 0x18]
test eax, eax
jne 0x1002a19a
cmp dword [ebp - 0x2c], ebx
jne 0x1002a19a
mov ecx, ebx
jmp 0x1002a19d
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp + 0x24], ecx
mov dword [eax + 8], 0xc236
mov dword [ebp + 0x24], 0x5b40194d
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setl dl
xor ecx, ecx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
setl cl
mov dword [ebp + 0x24], ecx
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
call fcn.10004951
mov dword [ebp - 0x14], 0x2d5d
cmp dword [ebp - 0x14], 0x2ead
jle 0x1002a27b
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov dword [ebp + 0x24], ebx
mov ecx, edi
mov dword [ebp - 0x40], esi
mov edi, esi
mov dword [ebp - 0x3c], ebx
shl edi, cl
mov esi, ebx
mov eax, edi
lea ecx, [ebp - 0x14c]
xor eax, esi
cdq
push edx
push eax
call fcn.10001a95
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002a234
mov eax, dword [eax]
push eax
call fcn.1003fffd
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.10004e55
inc esi
cmp esi, 0x304e
jl 0x1002a218
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp - 0x24]
inc edi
mov dword [ebp + 0x24], edi
cmp edi, 0x34b5
jl 0x1002a20a
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x184a
jl 0x1002a205
push 0x2263
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
call fcn.1002be02
cmp dword [ebp - 0x14], 0x2ab3
jge 0x1002a29b
push str.vghfekhi_ots_bontJnlWobr_nwq_batwytmi_waj_babsghh_cnuqwvf
call fcn.1003fffd
pop ecx
lea ecx, [ebp - 0x54]
call fcn.1002c24e
jmp 0x1002a405
cmp eax, dword [ebp - 0x38]
je 0x1002a3a1
lea ecx, [ebp - 0x2e]
xor eax, eax
push ecx
inc eax
xor dl, dl
push 0x2b24
push eax
push 0x3f30
mov dword [ebp + 0x24], eax
mov cl, al
mov byte [ebp - 0x2e], bl
push 0x4fec
call fcn.10029373
add esp, 0x14
mov dword [ebp + 0x24], ebx
cmp dword [ebp + 0x24], 0xffffffe2
jle 0x1002a376
mov dword [ebp - 0x14], 0x61ce
cmp dword [ebp - 0x14], 0x63af
jle 0x1002a341
mov esi, ebx
mov edi, ebx
mov eax, esi
lea ecx, [ebp - 0x11c]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001a95
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002a31a
mov eax, dword [eax]
push eax
call fcn.1003fffd
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x11c]
call fcn.10004e55
inc edi
cmp edi, 0x2d1
jl 0x1002a2fb
inc esi
cmp esi, 0x4d1a
jl 0x1002a2f9
mov byte [ebp - 0x2f], bl
cmp dword [ebp - 0x14], 0x5f67
jge 0x1002a358
push str.limavhb_dijtpv_jnolj_okoq_cutuqoxzx_fgw_cvsd_hjtn_uhkn_tpebyshdz
call fcn.1003fffd
pop ecx
push ebx
push ecx
lea eax, [ebp - 0x2f]
mov dword [ebp - 4], ebx
push eax
mov edx, 0x6f90
call fcn.10028752
add esp, 0xc
dec dword [ebp + 0x24]
jmp 0x1002a2dd
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x54]
push eax
push 0x5160
push 1
push edi
push 0x62c3
sub esp, 0xc
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x34]
push eax
call fcn.10027d3f
mov eax, dword [ebp - 0x34]
add esp, 0x24
jmp 0x1002a3a4
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x24]
add esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ecx + 0x14], 8
jb 0x1002a3b9
mov eax, dword [ecx]
jmp 0x1002a3bb
mov eax, ecx
push dword [ecx + 0x10]
mov ecx, edi
push esi
push eax
call fcn.1001ab6d
jmp 0x10029da8
cmp byte [ebp + 0x10], 0
je 0x1002a3e2
push ecx
push dword [ebp + 0x28]
mov ecx, dword [ebp + 0x20]
call fcn.1002bbda
mov dword [edi], eax
jmp 0x1002a405
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
cmp dword [edx], 4
jge 0x1002a405
mov esi, dword [ebp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [edx]
cmp dword [edx], 4
jl 0x1002a3f3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret