Function at 0x40e4d1
Capabilities:
Enumerate files on windows
Get thread local storage value
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov dword [ebp - 0x6c], 0x76
mov dword [ebp - 0x3c], 0xdf
mov dword [ebp - 0x1c], 0x8d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x1c]
or eax, dword [0x419120]
mov ecx, dword [ebp + 8]
add ecx, dword [0x4190c8]
cmp eax, ecx
jbe 0x40e51c
mov dword [ebp - 0x50], 1
jmp 0x40e523
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
jne 0x40e554
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
cmp edx, eax
je 0x40e543
mov dword [ebp - 0x54], 1
jmp 0x40e54a
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
je 0x40e841
mov dword [ebp - 0xac], 0xfb
mov dword [ebp - 0x68], 0x5b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0x8e
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0xa6
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x3c], eax
push 4
push 0x3000
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4190dc], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ecx]
mov dword [ebp - 0x94], edx
push str.sewMWgVdYe.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x4c], eax
push str.JdXzHyIC
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4190d0]
or ecx, dword [ebp - 0x20]
je 0x40e5fa
mov edx, dword [0x4190e4]
add edx, dword [0x419118]
je 0x40e5fa
mov dword [ebp - 0x58], 1
jmp 0x40e601
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jne 0x40e642
mov eax, dword [ebp - 0x10]
imul eax, dword [0x4190c4]
test eax, eax
je 0x40e62c
mov ecx, dword [ebp + 8]
imul ecx, dword [0x419124]
test ecx, ecx
je 0x40e62c
mov dword [ebp - 0x5c], 1
jmp 0x40e633
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
jne 0x40e642
mov dword [ebp - 0x60], 0
jmp 0x40e649
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x60], 0
jne 0x40e679
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x30]
cmp edx, eax
je 0x40e668
mov dword [ebp - 0x64], 1
jmp 0x40e66f
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x40e796
mov dword [ebp - 0xb0], 0x4c
mov dword [ebp - 0xb4], 0xbf
mov dword [ebp - 0x9c], 0x6b
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x4190c0]
push edx
call fcn.0040b701
add esp, 8
push str.aVHuetqRO.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x68], eax
push str.dlGQIn
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x98], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
movzx edx, word [ecx]
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0x6c]
push eax
push str.PLyry
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], 0
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40e738
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x40e71b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa0], ecx
push 0
push 0xffffffffffffffff
push str.vvlbbqxvwxg
push 0xffffffffffffffff
push str.twjp
push 0
push 0x800
invalid
invalid