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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov dword [ebp - 4], 0x88
mov dword [ebp - 0x4c], 0x9c
mov dword [ebp - 0x20], 0xe4
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x14], 0
cmp dword [0x4190d4], 0
jne 0x41203c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp + 8]
push eax
push str.eggVZVwXrF
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x412072
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x412055
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
push 0
push 0xffffffffffffffff
push str.yrelnr
push 0xffffffffffffffff
push str.uramqf
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0xdd
jmp 0x4120aa
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0xf7
jae 0x412210
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xe4
ja case.0x4120e1.1
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + 0x4129b1]
jmp dword [edx*4 + 0x41298d]
mov dword [ebp - 0xe4], 0x4e
mov dword [ebp - 0xe8], 0x9c
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x41220b
mov dword [ebp - 0xec], 0x31
mov dword [ebp - 0xf0], 0x76
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
jmp 0x41220b
mov dword [ebp - 0xc0], 0xff
mov dword [ebp - 0xf4], 0xd
mov edx, dword [0x4190bc]
or edx, dword [ebp - 0xc0]
mov dword [0x41911c], edx
jmp 0x41220b
mov dword [ebp - 0xf8], 0xa
mov eax, dword [0x419120]
xor edx, edx
div dword [ebp - 4]
mov dword [0x4190d8], eax
jmp 0x41220b
mov dword [ebp - 0xc4], 0x9a
mov eax, dword [ebp - 0xc4]
add eax, dword [0x4190d4]
mov dword [0x419128], eax
jmp 0x41220b
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x419120], eax
jmp 0x41220b
mov dword [ebp - 0xfc], 0x44
mov dword [ebp - 0x100], 0x28
mov edx, dword [0x419130]
add edx, dword [0x4190e0]
mov dword [ebp - 0x104], edx
jmp 0x41220b
mov dword [ebp - 0x108], 0x8f
mov eax, dword [0x41911c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x4190c0], ecx
jmp 0x41220b
mov dword [ebp - 0x10c], 0xd2
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4190cc], eax
jmp 0x4120a1
mov eax, dword [ebp + 8]
sub eax, dword [0x419118]
mov ecx, dword [ebp - 8]
imul ecx, dword [0x419124]
cmp eax, ecx
jae 0x412230
mov dword [ebp - 0x58], 1
jmp 0x412237
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
je 0x412292
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0x10]
mov edx, dword [ebp - 0x50]
and edx, dword [ebp - 8]
cmp eax, edx
jbe 0x412258
mov dword [ebp - 0x5c], 1
jmp 0x41225f
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x412292
mov dword [ebp - 0x110], 0xab
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x114], eax
mov ecx, dword [0x41911c]
xor ecx, dword [0x4190d0]
mov dword [0x4190d4], ecx
jmp 0x41250a
mov dword [ebp - 0x118], 0x92
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x24], 0
mov edx, dword [0x419120]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0xd0]
cmp edx, eax
je 0x4122eb
mov dword [ebp - 0x60], 1
jmp 0x4122f2
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
je 0x412338
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
cmp ecx, edx
jbe 0x412311
mov dword [ebp - 0x64], 1
jmp 0x412318
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x412338
mov eax, dword [0x419110]
push eax
mov ecx, dword [0x419114]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x4190e0], eax
jmp 0x4123b0
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x28], 0x69
mov dword [ebp - 0xc8], 0x70
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
push 0
push 0x3d9
push 0x488
mov eax, dword [0x4190d4]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4190e0], eax
push str.camH.nLE
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0xc8], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [0x4190cc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00411531
add esp, 8
push str.Wfj.Lzl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x3c], eax
push str.mBEnTVS.Gim
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x7c]
mov dword [ebp - 0xcc], edx
mov eax, dword [0x419128]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xd0]
add ecx, dword [0x4190e0]
cmp eax, ecx
jne 0x4123fb
mov dword [ebp - 0x68], 1
jmp 0x412402
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jne 0x412442
mov edx, dword [0x4190bc]
add edx, dword [0x4190c8]
je 0x41242c
mov eax, dword [0x419118]
sub eax, dword [0x419124]
je 0x41242c
mov dword [ebp - 0x6c], 1
jmp 0x412433
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
jne 0x412442
mov dword [ebp - 0x70], 0
jmp 0x412449
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x70], 0
jne 0x41248a
mov ecx, dword [0x4190e0]
add ecx, dword [0x419124]
jne 0x412474
mov edx, dword [0x4190d0]
and edx, dword [0x4190d4]
jne 0x412474
mov dword [ebp - 0x74], 0
jmp 0x41247b
mov dword [ebp - 0x74], 1
cmp dword [ebp - 0x74], 0
jne 0x41248a
mov dword [ebp - 0x78], 0
jmp 0x412491
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 0
jne 0x4124c3
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4124b6
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xd4]
jne 0x4124b6
mov dword [ebp - 0x80], 0
jmp 0x4124bd
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0
je 0x4124de
mov dword [ebp - 0x18], 0x84
mov edx, dword [ebp - 0x18]
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x41250a
mov dword [ebp - 0x120], 0x62
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xc]
mov dword [0x4190d8], ecx
mov edx, dword [0x4190e4]
push edx
mov eax, dword [0x4190d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x4190dc]
or edx, dword [ebp - 0x10]
mov eax, dword [0x4190c0]
xor eax, dword [0x4190bc]
cmp edx, eax
jbe 0x412537
mov dword [ebp - 0x84], 1
jmp 0x412541
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x412594
mov ecx, dword [0x419120]
imul ecx, dword [0x4190dc]
test ecx, ecx
jne 0x412575
mov edx, dword [0x4190cc]
and edx, dword [0x4190cc]
jne 0x412575
mov dword [ebp - 0x88], 0
jmp 0x41257f
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0
je 0x412594
mov dword [ebp - 0x8c], 1
jmp 0x41259e
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x4125e8
mov eax, dword [0x419118]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp - 0xb0]
cmp eax, ecx
jbe 0x4125c9
mov dword [ebp - 0x90], 1
jmp 0x4125d3
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
je 0x4125e8
mov dword [ebp - 0x94], 1
jmp 0x4125f2
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
je 0x412631
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 8]
je 0x41261a
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 8]
test eax, eax
je 0x41261a
mov dword [ebp - 0x98], 1
jmp 0x412624
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
jne 0x412787
mov dword [ebp - 0x124], 0x59
mov dword [ebp - 0x128], 0x53
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [0x419110]
and ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0x4c]
imul edx, dword [ebp + 0xc]
cmp ecx, edx
je 0x412683
mov dword [ebp - 0x9c], 1
jmp 0x41268d
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
je 0x4126f3
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xa4]
xor ecx, dword [ebp - 0x44]
cmp eax, ecx
jae 0x4126b5
mov dword [ebp - 0xa0], 1
jmp 0x4126bf
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
je 0x4126f3
mov dword [ebp - 0x12c], 0xff
mov dword [ebp - 0x130], 0x8b
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x4190c8], eax
jmp 0x412782
mov dword [ebp - 0xa8], 0xf3
mov dword [ebp - 0x2c], 0xd2
mov dword [ebp - 0xac], 0
push str.KKKwSrmKGw.RQc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
push str.aJXKsEUEdsGxQ
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x412758
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x412738
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xa8]
xor edx, edx
div dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
div dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
jmp 0x412787
jmp 0x412513
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0x22
je 0x4127a7
cmp dword [ebp - 0x48], 0x3b
je 0x4127da
cmp dword [ebp - 0x48], 0xb8
je 0x4127f8
jmp 0x41283b
mov dword [ebp - 0x134], 0x4b
mov dword [ebp - 0x138], 0xde
mov dword [ebp - 0x13c], 0x97
mov eax, dword [0x41912c]
or eax, dword [0x4190cc]
mov dword [0x41911c], eax
jmp 0x412861
mov dword [ebp - 0x140], 0xdd
mov ecx, dword [0x41911c]
xor ecx, dword [0x4190c8]
mov dword [ebp - 0xb0], ecx
jmp 0x412861
mov dword [ebp - 0x144], 0xc6
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x14c], 0x2e
mov edx, dword [0x419114]
push edx
mov eax, dword [0x419128]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [0x4190e0]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41912c], eax
jmp 0x412861
mov dword [ebp - 0xe0], 0xbc
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xe0]
xor eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0xb8], 0xe6
ja case.0x412887.1
mov edx, dword [ebp - 0xb8]
movzx eax, byte [edx + 0x412aad]
jmp dword [eax*4 + 0x412a99]
mov dword [ebp - 0x150], 0xcb
mov ecx, dword [0x419124]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x419118], eax
jmp 0x412982
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x412982
mov dword [ebp - 0x158], 0x78
mov ecx, dword [0x4190bc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
mov dword [ebp - 4], edx
jmp 0x412982
mov dword [ebp - 0x15c], 0x53
mov dword [ebp - 0x160], 0xa2
mov eax, dword [0x41911c]
add eax, dword [0x419110]
mov dword [0x4190dc], eax
mov ecx, dword [ebp - 0x50]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
mov dword [0x419110], edx
mov eax, dword [0x419124]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x4190d0], eax
jmp 0x412982
mov dword [ebp - 0x164], 0x74
mov ecx, dword [0x4190c0]
sub ecx, dword [ebp - 0x50]
mov dword [0x4190d4], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [0x419110]
mov dword [0x4190c0], edx
mov eax, dword [0x419128]
push eax
mov ecx, dword [0x4190d8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret