Function at 0x40c0e1
Capabilities:
Enumerate files on windows
Get file attributes
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push esi
mov dword [ebp - 0xc], 0xf2
mov dword [ebp - 8], 0xa
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4190d0]
push ecx
call fcn.0040ae11
add esp, 8
mov edx, dword [0x4190e4]
and edx, dword [0x4190c8]
mov eax, dword [0x4190d0]
sub eax, dword [0x419130]
cmp edx, eax
jne 0x40c137
mov dword [ebp - 0x1c], 1
jmp 0x40c13e
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x40c17c
mov ecx, dword [ebp - 8]
or ecx, dword [0x419130]
mov edx, dword [0x4190dc]
or edx, dword [0x4190d4]
cmp ecx, edx
jbe 0x40c166
mov dword [ebp - 0x20], 1
jmp 0x40c16d
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
je 0x40c17c
mov dword [ebp - 0x24], 1
jmp 0x40c183
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
je 0x40c1c1
mov eax, dword [0x4190e0]
imul eax, dword [0x4190c8]
mov ecx, dword [ebp - 4]
and ecx, dword [0x4190c8]
cmp eax, ecx
jne 0x40c1ab
mov dword [ebp - 0x28], 1
jmp 0x40c1b2
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
je 0x40c1c1
mov dword [ebp - 0x2c], 1
jmp 0x40c1c8
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
je 0x40c23a
mov edx, dword [ebp - 4]
and edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp edx, eax
jae 0x40c1e7
mov dword [ebp - 0x30], 1
jmp 0x40c1ee
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
je 0x40c23a
mov ecx, dword [0x419124]
push ecx
mov edx, dword [0x4190c0]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x419120], eax
mov eax, dword [0x4190d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ae11
add esp, 8
mov edx, dword [0x419130]
mov dword [0x4190c0], edx
mov eax, dword [0x4190c0]
mov dword [0x4190c4], eax
jmp 0x40c2ec
mov dword [ebp - 0x9c], 0xd
mov dword [ebp - 0xa0], 0x29
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0x9f
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xb0], 0
push str.mckrWQGN.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x68], eax
push str.EMURUGev
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84], eax
lea edx, [ebp - 8]
push edx
push str.nCYxeeicawsSZ
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c2e3
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x40c2c6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
push 0
push 0xffffffffffffffff
push str.rhbprnxszg
push 0xffffffffffffffff
push str.ksbg
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xf8
jmp 0x40c31e
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x15b
jae 0x40c350
mov dword [ebp - 0xb4], 0xae
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x8c]
and edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
jmp 0x40c315
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [0x419128]
imul eax, dword [0x4190d4]
mov ecx, dword [0x4190c8]
sub ecx, dword [0x4190bc]
cmp eax, ecx
jne 0x40c380
mov dword [ebp - 0x38], 1
jmp 0x40c387
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
je 0x40c3c7
mov edx, dword [ebp - 8]
imul edx, dword [0x41912c]
test edx, edx
je 0x40c3b1
mov eax, dword [0x4190c0]
sub eax, dword [0x4190c4]
je 0x40c3b1
mov dword [ebp - 0x3c], 1
jmp 0x40c3b8
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
je 0x40c3c7
mov dword [ebp - 0x40], 1
jmp 0x40c3ce
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x40c410
mov ecx, dword [0x4190c0]
imul ecx, dword [0x4190d4]
mov edx, dword [0x419114]
sub edx, dword [0x4190cc]
cmp ecx, edx
jne 0x40c3fa
mov dword [ebp - 0x44], 1
jmp 0x40c401
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0
je 0x40c410
mov dword [ebp - 0x48], 1
jmp 0x40c417
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x40c455
mov eax, dword [ebp - 4]
and eax, dword [0x41912c]
mov ecx, dword [0x4190d4]
or ecx, dword [0x4190c4]
cmp eax, ecx
jbe 0x40c43f
mov dword [ebp - 0x4c], 1
jmp 0x40c446
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x40c455
mov dword [ebp - 0x50], 1
jmp 0x40c45c
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x40c697
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 4]
jne 0x40c47f
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
jne 0x40c47f
mov dword [ebp - 0x54], 0
jmp 0x40c486
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0
je 0x40c697
mov ecx, dword [0x4190c4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x419128]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [0x4190d8]
push ecx
call dword [sym.imp.GDI32.dll_SetDIBits]
mov esi, eax
mov edx, dword [0x419118]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, eax
je 0x40c4da
mov dword [ebp - 0x58], 1
jmp 0x40c4e1
mov dword [ebp - 0x58], 0
mov eax, dword [0x4190e0]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, eax
mov eax, dword [0x419118]
xor edx, edx
div dword [0x419130]
cmp ecx, eax
jne 0x40c509
mov dword [ebp - 0x5c], 1
jmp 0x40c510
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x5c]
jne 0x40c528
mov eax, dword [ebp - 0x74]
add eax, dword [0x4190e4]
mov dword [0x4190bc], eax
jmp 0x40c562
mov ecx, dword [0x4190d4]
imul ecx, dword [0x4190cc]
mov dword [0x419110], ecx
mov edx, dword [0x419128]
push edx
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [0x419118]
mov dword [0x419128], eax
mov ecx, dword [0x419128]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, eax
mov eax, dword [0x4190cc]
push eax
mov ecx, dword [0x419110]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp esi, eax
jae 0x40c595
mov dword [ebp - 0x60], 1
jmp 0x40c59c
mov dword [ebp - 0x60], 0
mov edx, dword [0x419124]
xor edx, dword [ebp - 8]
jne 0x40c5c7
push fcn.0040ae11
mov eax, dword [0x419114]
push eax
call fcn.00410cc1
add esp, 8
test eax, eax
jne 0x40c5c7
mov dword [ebp - 0x64], 0
jmp 0x40c5ce
mov dword [ebp - 0x64], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x64]
jbe 0x40c5df
mov dword [ebp - 0x6c], 1
jmp 0x40c5e6
mov dword [ebp - 0x6c], 0
mov edx, dword [0x4190bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov esi, eax
push fcn.0040ae11
mov eax, dword [ebp - 0x68]
push eax
call fcn.00410cc1
add esp, 8
cmp esi, eax
jbe 0x40c613
mov dword [ebp - 0x70], 1
jmp 0x40c61a
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x70]
jne 0x40c662
mov edx, dword [0x419118]
add edx, dword [ebp - 0xc]
mov dword [0x4190e0], edx
mov eax, dword [0x4190bc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x4190cc]
push edx
call dword [sym.imp.GDI32.dll_PolylineTo]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4190bc], eax
jmp 0x40c692
mov dword [ebp - 0xc0], 0x69
push fcn.00410cc1
mov ecx, dword [0x4190c0]
push ecx
call fcn.00410cc1
add esp, 8
mov edx, dword [0x4190e0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4190d4], eax
jmp 0x40c790
mov dword [ebp - 0x78], 0xbf
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0x31
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0x24
lea eax, [ebp - 0x74]
push eax
push str.jSHPoDvZXIif
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x78], eax
mov dword [ebp + 8], 0
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c714
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x40c6f7
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x80], ecx
push str.unVNYkWLJD.kxC
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x94]
push edx
push str.FkkQGzuZWjGoZT
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xc], 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c764
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
jmp 0x40c744
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
push str.mRTYXqz.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x98], eax
push str.SLFUYBy
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret