Function at 0x10004f22
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005467e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10004f72
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
push 0x5cc7
push 0
push dword [ebp - 0x94]
call fcn.1000626b
add esp, 0xc
jmp 0x100053e0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x10004fbd
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
jmp 0x100053e0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x50], 0x5238
mov dword [ebp - 0x98], str.xfpx_kiyif_mhq_vchdged_siobekyv_vei_zqdskwl_qqrnjz_jqjyoqheh_lgbl_vtk_unqwvyzhk_fjyixm
cmp dword [ebp - 0x50], 0x5532
jle 0x10005072
and dword [ebp - 0x40], 0
jmp 0x1000500b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x391b
jge 0x10005072
and dword [ebp - 0x3c], 0
jmp 0x10005021
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x6e9c
jge 0x10005070
and dword [ebp - 0x48], 0
jmp 0x10005037
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x56db
jge 0x1000506e
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
mov ecx, 0x1006d158
call fcn.100021b6
jmp 0x10005030
jmp 0x1000501a
jmp 0x10005004
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x5050
jge 0x10005095
mov edx, dword [ebp - 0x98]
mov ecx, 0x1006d158
call fcn.100037d8
jmp 0x100050b1
or dword [ebp - 4], 0xffffffff
jmp 0x100050bb
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xb6f
mov dword [ebp - 0x68], str.iuig_byoesjub_mjpjgvnnr_hntogo
cmp dword [ebp - 0x5c], 0xd0a
jle 0x1000531e
and dword [ebp - 0x44], 0
jmp 0x100050f2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x742a
jge 0x10005311
mov dword [ebp - 0x80], 0x2501
cmp dword [ebp - 0x80], 0x12c6
jge 0x100052cb
xorpd xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push str._lld__lld__lld
call fcn.1003c4a6
add esp, 0x10
xorpd xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jg 0x10005174
jl 0x10005162
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jae 0x10005174
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jl 0x10005182
jg 0x10005174
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jb 0x10005182
xorpd xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
jmp 0x100052b8
cmp dword [ebp - 0x14], 0
jg 0x100051a6
jl 0x10005190
cmp dword [ebp - 0x18], 0
ja 0x100051a6
cmp dword [ebp - 0x1c], 0
jl 0x100052b0
jg 0x100051a6
cmp dword [ebp - 0x20], 0
jbe 0x100052b0
cmp dword [ebp - 0x14], 0
jg 0x100051f3
jl 0x100051b4
cmp dword [ebp - 0x18], 0
jae 0x100051f3
mov eax, dword [ebp - 0x18]
neg eax
mov ecx, dword [ebp - 0x14]
adc ecx, 0
neg ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ecx
push eax
call fcn.10053f80
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100414d0
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x1000523e
cmp dword [ebp - 0x1c], 0
jg 0x1000523e
jl 0x10005201
cmp dword [ebp - 0x20], 0
jae 0x1000523e
mov eax, dword [ebp - 0x20]
neg eax
mov ecx, dword [ebp - 0x1c]
adc ecx, 0
neg ecx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push eax
call fcn.10053f80
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100414d0
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jg 0x100052ae
jl 0x10005250
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jae 0x100052ae
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jg 0x100052ae
jl 0x10005262
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jae 0x100052ae
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jg 0x10005288
jl 0x10005274
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jae 0x10005288
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
adc ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x1000529a
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x28]
add eax, 1
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1000523e
jmp 0x100052b8
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._lld_n
call fcn.1003bcd0
add esp, 0xc
and dword [ebp - 0x30], 0
jmp 0x100052d8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1755
jge 0x1000530c
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0x1006d158
call fcn.100021b6
jmp 0x100052d1
jmp 0x100050eb
push 0
push 0x980
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x5c], 0xac7
jge 0x10005344
mov edx, dword [ebp - 0x68]
mov ecx, 0x1006d158
call fcn.100037d8
jmp 0x10005360
or dword [ebp - 4], 0xffffffff
jmp 0x1000536a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
inc ecx
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
test eax, eax
jne 0x100053d1
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jle 0x100053a7
mov dword [ebp - 0x54], 1
jmp 0x100053ab
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x54fd
jge 0x100053bd
mov dword [ebp - 0x58], 1
jmp 0x100053c1
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jg 0x100053d1
and dword [ebp - 0x60], 0
jmp 0x100053d8
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret