Function at 0x41173b
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov dword [ebp - 0x78], 0xec
mov dword [ebp - 0x10], 0xdb
mov dword [ebp - 0x24], 0xf7
mov dword [ebp - 8], 0xf3
mov dword [ebp - 0x14], 0x49
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x2c], 0x1b
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0x75
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 1
mov eax, dword [0x4190c8]
push eax
call fcn.0040bcd1
add esp, 4
push str.ZtnDOOC.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
push ecx
push str.ZerSsZQZgLPB
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4115e7
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x4115ca
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
push str.wykcet
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x60], eax
push 0
push 0xffffffffffffffff
push str.wzpubzx
push 0xffffffffffffffff
push str.awhbhksxexh
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0xc], eax
push str.ZWlzNOOI.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x44], eax
push str.FgCGIdXDXu
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
or edx, dword [0x419124]
mov eax, dword [0x419128]
add eax, dword [ebp - 0x98]
cmp edx, eax
jae 0x411660
mov dword [ebp - 0x30], 1
jmp 0x411667
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
je 0x4116a5
mov ecx, dword [ebp - 0x2c]
and ecx, dword [0x419130]
je 0x41168f
mov edx, dword [0x419118]
imul edx, dword [ebp + 0xc]
test edx, edx
je 0x41168f
mov dword [ebp - 0x34], 1
jmp 0x411696
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
je 0x4116a5
mov dword [ebp - 0x38], 1
jmp 0x4116ac
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
je 0x4116e9
mov eax, dword [0x4190dc]
or eax, dword [0x4190cc]
mov ecx, dword [ebp - 4]
and ecx, dword [0x4190c4]
cmp eax, ecx
jae 0x4116d3
mov dword [ebp - 0x3c], 1
jmp 0x4116da
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
je 0x4116e9
mov dword [ebp - 0x40], 1
jmp 0x4116f0
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x41172d
mov edx, dword [0x419120]
xor edx, dword [ebp - 0x44]
mov eax, dword [0x419120]
or eax, dword [0x4190c4]
cmp edx, eax
jbe 0x411717
mov dword [ebp - 0x48], 1
jmp 0x41171e
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x41172d
mov dword [ebp - 0x4c], 1
jmp 0x411734
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x411982
add al, byte [eax]
invalid
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x28]
jne 0x41175a
mov edx, dword [ebp - 0x90]
and edx, dword [ebp - 0xc]
jne 0x41175a
mov dword [ebp - 0x50], 0
jmp 0x411761
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x50], 0
je 0x411982
mov dword [ebp - 0x54], 0x96
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp esi, eax
jae 0x411795
mov dword [ebp - 0x58], 1
jmp 0x41179c
mov dword [ebp - 0x58], 0
mov edx, dword [0x4190d4]
and edx, dword [ebp - 0x54]
mov dword [0x41912c], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp eax, dword [0x41912c]
jne 0x4117c6
mov dword [ebp - 0x5c], 1
jmp 0x4117cd
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x5c]
jne 0x4117fe
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0x28], eax
mov edx, dword [0x419130]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x419124], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x60]
mov dword [0x4190e4], eax
jmp 0x41183b
mov dword [ebp - 0x94], 0x99
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x419114]
push edx
mov eax, dword [0x41911c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x94], eax
mov edx, dword [0x4190d4]
or edx, dword [0x419130]
mov dword [0x419110], edx
mov eax, dword [0x4190c0]
and eax, dword [ebp + 8]
mov dword [0x419118], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
cmp dword [0x419118], eax
jae 0x411867
mov dword [ebp - 0x64], 1
jmp 0x41186e
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
jne 0x4118b5
mov eax, dword [ebp - 0x98]
mov ecx, 1
lock xadd dword [eax], ecx
inc ecx
mov eax, dword [ebp - 0x9c]
xor edx, edx
div dword [0x419130]
cmp ecx, eax
jbe 0x41189f
mov dword [ebp - 0x68], 1
jmp 0x4118a6
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jne 0x4118b5
mov dword [ebp - 0x6c], 0
jmp 0x4118bc
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
jne 0x4118f2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, dword [0x419114]
xor ecx, dword [ebp - 0xa0]
cmp eax, ecx
jbe 0x4118e5
mov dword [ebp - 0x70], 1
jmp 0x4118ec
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
je 0x411902
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [0x41912c], eax
jmp 0x41194f
mov dword [ebp - 0xa4], 0xcb
mov dword [ebp - 0xa8], 0x52
mov dword [ebp - 0xac], 0x92
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x4190c0], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x419120], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp + 8], eax
mov eax, dword [0x4190d4]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x4190c8], eax
mov ecx, dword [0x419114]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 8], eax
jmp 0x411aa0
mov dword [ebp - 0x20], 0xf1
mov dword [ebp - 0x18], 0xe2
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x4190c4]
mov ecx, dword [ebp - 4]
xor ecx, dword [0x419114]
cmp eax, ecx
je 0x4119b8
mov dword [ebp - 0x74], 1
jmp 0x4119bf
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
jne 0x4119f9
mov edx, dword [ebp - 0x78]
or edx, dword [ebp + 0xc]
mov eax, dword [0x4190d0]
and eax, dword [ebp - 0x8c]
cmp edx, eax
jbe 0x4119e3
mov dword [ebp - 0x7c], 1
jmp 0x4119ea
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
jne 0x4119f9
mov dword [ebp - 0x80], 0
jmp 0x411a00
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0
jne 0x411a35
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x18]
je 0x411a22
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
je 0x411a22
mov dword [ebp - 0x84], 1
jmp 0x411a2c
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x411a6c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xb0], 0x5d
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
jmp 0x411aa0
mov dword [ebp - 0xb4], 0x8f
mov edx, dword [0x4190dc]
mov dword [0x4190dc], edx
mov eax, dword [0x4190dc]
mov dword [0x4190c8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x4190cc]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret