Function at 0x4118c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x44], eax
movzx eax, word [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
sub eax, 9
je 0x411d2b
sub eax, 1
je 0x411b6b
sub eax, 1
jne 0x411e56
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1684
test eax, eax
je 0x411e56
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x411929
call fcn.004fe0c0
mov edx, dword [esi]
mov ecx, dword [esp + 0xc]
shr edx, 1
cmp ecx, edx
jae 0x411952
mov eax, dword [esi + 4]
lea eax, [eax + ecx*2]
nop dword [eax + eax]
cmp word [eax], 0x20
jne 0x41194e
inc ecx
add eax, 2
cmp ecx, edx
jb 0x411940
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1684
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x411e56
push esi
call sym.SystemInformer.exe_Ordinal_1238
mov eax, dword [esi]
mov esi, 0
shr eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
lea eax, [eax + 4]
mov dword [esp + 0xc], eax
je 0x4119b3
mov edi, eax
nop dword [eax]
mov eax, dword [edi]
movzx eax, word [eax + esi*2]
push eax
call dword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx ecx, ax
mov eax, dword [edi]
mov word [eax + esi*2], cx
inc esi
cmp esi, dword [esp + 0x18]
jb 0x411990
mov edi, dword [esp + 0x10]
jmp 0x4119b7
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push 0
push eax
push esi
mov dword [esp + 0x1c], 0x16
mov dword [esp + 0x20], str._PROCESSID:
call sym.SystemInformer.exe_Ordinal_1370
mov edx, eax
cmp edx, 0xffffffff
je 0x411e56
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
shr eax, 1
sub eax, edx
push 0
mov ecx, dword [ecx]
push 0
lea eax, [eax*2 - 0x16]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea ecx, [ecx + edx*2]
add ecx, 0x16
push eax
mov dword [esp + 0x20], ecx
call sym.SystemInformer.exe_Ordinal_1331
push eax
call sym.SystemInformer.exe_Ordinal_1238
mov esi, eax
lea eax, [esp + 0x30]
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1704
test eax, eax
js 0x411e56
lfence
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
push dword [esi + 4]
push str.CLSID_
call sym.SystemInformer.exe_Ordinal_1303
push eax
call sym.SystemInformer.exe_Ordinal_1238
push 0
push eax
push 0xfffffffffffffff9
push 0x20019
lea eax, [esp + 0x34]
push eax
call sym.SystemInformer.exe_Ordinal_1555
test eax, eax
js 0x411afd
push 0
push dword [esp + 0x28]
call sym.SystemInformer.exe_Ordinal_1685
push eax
call sym.SystemInformer.exe_Ordinal_1238
push 0
push 0x62de0c
push dword [esp + 0x2c]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x34]
push 0x20019
push eax
call sym.SystemInformer.exe_Ordinal_1555
test eax, eax
js 0x411ade
push 0
push dword [esp + 0x2c]
call sym.SystemInformer.exe_Ordinal_1685
push eax
call sym.SystemInformer.exe_Ordinal_1238
push eax
mov dword [edi + 0x14], eax
call sym.SystemInformer.exe_Ordinal_1615
push eax
call sym.SystemInformer.exe_Ordinal_1238
test eax, eax
je 0x411ad4
mov dword [edi + 0x14], eax
push dword [esp + 0x28]
call dword [sym.imp.ntdll.dll_NtClose]
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
lfence
push dword [esi + 4]
push str.AppID_
call sym.SystemInformer.exe_Ordinal_1303
push eax
call sym.SystemInformer.exe_Ordinal_1238
push 0
push eax
push 0xfffffffffffffff9
push 0x20019
lea eax, [esp + 0x34]
push eax
call sym.SystemInformer.exe_Ordinal_1555
test eax, eax
js 0x411d15
push 0
push dword [esp + 0x28]
call sym.SystemInformer.exe_Ordinal_1685
push eax
call sym.SystemInformer.exe_Ordinal_1238
push dword [esp + 0x24]
mov dword [edi + 0x10], eax
call dword [sym.imp.ntdll.dll_NtClose]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1684
nop
test eax, eax
je 0x411e56
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x411b9b
call fcn.004fe0c0
mov edx, dword [esi]
mov ecx, dword [esp + 0xc]
shr edx, 1
cmp ecx, edx
jae 0x411bc2
mov eax, dword [esi + 4]
lea eax, [eax + ecx*2]
nop dword [eax]
cmp word [eax], 0x20
jne 0x411bbe
inc ecx
add eax, 2
cmp ecx, edx
jb 0x411bb0
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
push esi
call sym.SystemInformer.exe_Ordinal_1684
mov esi, eax
test esi, esi
je 0x411e56
push esi
call sym.SystemInformer.exe_Ordinal_1238
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x2c
push esi
call sym.SystemInformer.exe_Ordinal_1447
test al, al
je 0x411e56
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x411c07
nop
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x411c25
mov eax, dword ds:[esp + 0x14]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], ecx
call sym.SystemInformer.exe_Ordinal_1331
push eax
call sym.SystemInformer.exe_Ordinal_1238
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
jne 0x411c3c
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x411c56
mov eax, dword [esp + 0x1c]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], ecx
call sym.SystemInformer.exe_Ordinal_1331
push eax
call sym.SystemInformer.exe_Ordinal_1238
push esi
mov dword [esp + 0x14], eax
call sym.SystemInformer.exe_Ordinal_1480
cmp eax, 5
jne 0x411d0c
lea eax, [esp + 0x18]
push eax
call sym.SystemInformer.exe_Ordinal_1667
test esi, esi
je 0x411cad
push esi
push 0x6307d4
lea eax, [esp + 0x20]
push eax
call sym.SystemInformer.exe_Ordinal_1299
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [edi + 4], eax
mov al, 1
mov dword [edi], esi
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x6307d4]
mov esi, dword [esp + 0x18]
add eax, esi
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x38], 0
call sym.SystemInformer.exe_Ordinal_1331
push esi
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push dword [eax + 4]
call fcn.00586310
mov eax, dword ds:[esp + 0x34]
add esp, 0xc
push dword [0x6307d4]
mov eax, dword [eax + 4]
push dword [0x6307d8]
add eax, esi
push eax
call fcn.00586310
mov esi, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [edi], esi
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
push edi
push 0x411860
push 1
push 1
push 0x62de1c
push esi
mov dword [edi], 0
call sym.SystemInformer.exe_Ordinal_1682
mov edx, dword [edi]
mov dword [esp + 0x28], edx
test edx, edx
je 0x411e56
cmp dword [0x62db64], 0xffffffff
mov ecx, dword [0x6356f0]
jae 0x411d7a
cmp ecx, 0x40
jae 0x411d7a
lfence
mov eax, dword fs:[0x18]
mov esi, dword [eax + ecx*4 + 0xe10]
jmp 0x411d8c
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esi]
cmp eax, 0x40
jae 0x411dae
mov dword [esi + eax*4 + 4], edx
mov al, 1
inc dword [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x10c]
mov edi, dword [0x633a74]
test ecx, ecx
jne 0x411dde
push 0x100
push 4
push edi
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x108]
cmp dword [esi + 0x104], eax
jne 0x411e2e
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
test eax, eax
jne 0x411e0c
test ecx, ecx
je 0x411e08
push ecx
push eax
push edi
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ecx, ecx
jmp 0x411e28
push eax
test ecx, ecx
je 0x411e1d
push ecx
push 4
push edi
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x411e26
push 4
push edi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4], edx
mov al, 1
inc dword [esi + 0x104]
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x4c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc