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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push esi
mov dword [ebp - 0x20], 0xb9
mov dword [ebp - 0x1c], 0xab
mov dword [ebp - 0x4c], 0xd9
mov dword [ebp - 0x28], 0x9c
mov dword [ebp - 0x10], 0x12
mov dword [ebp - 0x2c], 0x16
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0x28
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [0x4190dc]
push ecx
call dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 0x3c], 0x80
jmp 0x40f959
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0x91
jae 0x40fe6e
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x190], 0x1a
mov dword [ebp - 0xc], 0x81
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x14
je 0x40f9bc
cmp dword [ebp - 0x80], 0x1d
je 0x40f999
jmp 0x40f9d4
mov dword [ebp - 0x1c0], 0x99
mov dword [ebp - 0x1c4], 0x17
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 4], eax
jmp 0x40f9e4
mov dword [ebp - 0x1c8], 0x9c
mov edx, dword [ebp - 0x2c]
add edx, dword [0x4190c8]
mov dword [ebp + 0xc], edx
jmp 0x40f9e4
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
and edx, dword [0x419124]
jne 0x40fa10
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40fa10
mov dword [ebp - 0x84], 0
jmp 0x40fa1a
mov dword [ebp - 0x84], 1
cmp dword [ebp - 0x84], 0
je 0x40fa65
mov ecx, dword [ebp - 0x54]
or ecx, dword [0x41912c]
mov edx, dword [0x419128]
imul edx, dword [ebp - 0x64]
cmp ecx, edx
jne 0x40fa46
mov dword [ebp - 0x88], 1
jmp 0x40fa50
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
je 0x40fa65
mov dword [ebp - 0x8c], 1
jmp 0x40fa6f
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x40fadb
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0xc]
jne 0x40fa94
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0xc]
jne 0x40fa94
mov dword [ebp - 0x90], 0
jmp 0x40fa9e
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
je 0x40fadb
mov dword [ebp - 0x1cc], 0x55
mov dword [ebp - 0x184], 0x55
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x4190e4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
jmp 0x40fb32
mov dword [ebp - 0x1d0], 3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x18c], 0x37
mov dword [ebp - 0x94], 0x57
mov edx, dword [ebp - 0x38]
imul edx, dword [ebp - 0x94]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x188]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x38], ecx
mov edx, dword [0x419110]
xor edx, dword [ebp - 0x14]
mov eax, dword [0x4190c0]
xor eax, dword [0x4190cc]
cmp edx, eax
jae 0x40fb56
mov dword [ebp - 0x98], 1
jmp 0x40fb60
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
je 0x40fbaa
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40fb8b
mov edx, dword [ebp - 4]
and edx, dword [0x4190e4]
je 0x40fb8b
mov dword [ebp - 0x9c], 1
jmp 0x40fb95
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
je 0x40fbaa
mov dword [ebp - 0xa0], 1
jmp 0x40fbb4
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
je 0x40fbf8
mov eax, dword [ebp - 0x54]
and eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 8]
cmp eax, ecx
jbe 0x40fbd9
mov dword [ebp - 0xa4], 1
jmp 0x40fbe3
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x40fbf8
mov dword [ebp - 0xa8], 1
jmp 0x40fc02
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0
je 0x40fc41
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x54]
and eax, dword [ebp - 0x54]
cmp edx, eax
jae 0x40fc2a
mov dword [ebp - 0xac], 1
jmp 0x40fc34
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
jne 0x40fe60
mov dword [ebp - 0x194], 0xc
mov dword [ebp - 0x1d4], 0x1f
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x198], 0x2e
mov dword [ebp - 0x6c], 0xe9
mov dword [ebp - 0x1d8], 0
mov ecx, dword [ebp + 0xc]
xor ecx, dword [ebp - 0x28]
jne 0x40fc9f
mov edx, dword [0x4190cc]
imul edx, dword [ebp - 0x194]
test edx, edx
jne 0x40fc9f
mov dword [ebp - 0xb0], 0
jmp 0x40fca9
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0
jne 0x40fcf3
mov eax, dword [ebp - 0x28]
xor eax, dword [0x4190dc]
jne 0x40fcd4
mov ecx, dword [0x4190c4]
sub ecx, dword [ebp - 0x5c]
jne 0x40fcd4
mov dword [ebp - 0xb4], 0
jmp 0x40fcde
mov dword [ebp - 0xb4], 1
cmp dword [ebp - 0xb4], 0
jne 0x40fcf3
mov dword [ebp - 0xb8], 0
jmp 0x40fcfd
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb8], 0
jne 0x40fd4a
mov edx, dword [0x419130]
xor edx, dword [0x419118]
mov eax, dword [ebp - 0x40]
xor eax, dword [0x4190c8]
cmp edx, eax
jbe 0x40fd2b
mov dword [ebp - 0xbc], 1
jmp 0x40fd35
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x40fd4a
mov dword [ebp - 0xc0], 0
jmp 0x40fd54
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0xc0], 0
jne 0x40fd9e
mov ecx, dword [ebp - 0x4c]
xor ecx, dword [ebp - 0x28]
mov edx, dword [0x4190bc]
and edx, dword [0x419130]
cmp ecx, edx
jae 0x40fd7f
mov dword [ebp - 0xc4], 1
jmp 0x40fd89
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
jne 0x40fd9e
mov dword [ebp - 0xc8], 0
jmp 0x40fda8
mov dword [ebp - 0xc8], 1
cmp dword [ebp - 0xc8], 0
jne 0x40fde3
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x198]
xor ecx, dword [ebp - 0x6c]
cmp eax, ecx
je 0x40fdd0
mov dword [ebp - 0xcc], 1
jmp 0x40fdda
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0
je 0x40fe3f
mov dword [ebp - 0x1dc], 0x81
mov dword [ebp - 0x1e0], 0x9d
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov edx, dword [ebp - 0x19c]
xor edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd0], edx
jmp 0x40fe60
mov dword [ebp - 0x1f0], 0x2b
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x419114], eax
jmp 0x40fb32
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
jmp 0x40f950
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0x61
ja case.0x40fe91.1
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [eax + 0x410b91]
jmp dword [ecx*4 + 0x410b71]
mov edx, dword [0x4190e4]
or edx, dword [ebp - 0x1c]
mov dword [0x419130], edx
mov eax, dword [0x4190d0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [ebp + 8], eax
jmp 0x410008
mov dword [ebp - 0x1f4], 4
mov ecx, dword [0x419128]
add ecx, dword [ebp - 0x28]
mov dword [0x419120], ecx
mov edx, dword [0x4190c4]
mov dword [0x4190d4], edx
mov eax, dword [0x4190d4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x4190bc], ecx
mov edx, dword [0x4190bc]
mov dword [ebp - 0x28], edx
jmp 0x410008
mov dword [ebp - 0x1f8], 0x23
mov dword [ebp - 0x1fc], 0xc1
mov eax, dword [0x4190d0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x4190cc], eax
mov ecx, dword [ebp - 0x20]
xor ecx, dword [0x419118]
mov dword [ebp - 4], ecx
jmp 0x410008
mov dword [ebp - 0x200], 0xd7
mov edx, dword [ebp - 0x14]
add edx, dword [0x419128]
mov dword [ebp + 0xc], edx
jmp 0x410008
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0xd8]
xor eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1a4], eax
jmp 0x410008
mov dword [ebp - 0x204], 0xf8
mov dword [ebp - 0x1a8], 0x1e
mov ecx, dword [0x4190cc]
or ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x208], ecx
jmp 0x410008
mov edx, dword [ebp - 4]
push edx
call fcn.0040ec41
add esp, 4
mov eax, dword [0x419130]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [ebp + 8], eax
mov ecx, dword [0x4190d0]
add ecx, dword [0x4190cc]
mov dword [0x41911c], ecx
jmp 0x410008
mov dword [ebp - 0x20c], 7
mov dword [ebp - 0x1ac], 2
mov eax, dword [0x4190e4]
xor edx, edx
div dword [ebp - 0x210]
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x34]
or edx, dword [0x41911c]
mov dword [0x419120], edx
mov eax, dword [ebp - 8]
and eax, dword [0x419120]
jne 0x41002d
mov ecx, dword [0x419114]
xor ecx, dword [0x419114]
jne 0x41002d
mov dword [ebp - 0xdc], 0
jmp 0x410037
mov dword [ebp - 0xdc], 1
cmp dword [ebp - 0xdc], 0
je 0x410081
mov edx, dword [ebp - 0x20]
and edx, dword [0x419128]
je 0x410062
mov eax, dword [ebp - 0x18]
sub eax, dword [0x419114]
je 0x410062
mov dword [ebp - 0xe0], 1
jmp 0x41006c
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
je 0x410081
mov dword [ebp - 0xe4], 1
jmp 0x41008b
mov dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
je 0x4100d2
mov ecx, dword [ebp - 0x24]
and ecx, dword [0x419130]
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 4]
cmp ecx, edx
jne 0x4100b3
mov dword [ebp - 0xe8], 1
jmp 0x4100bd
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
je 0x4100d2
mov dword [ebp - 0xec], 1
jmp 0x4100dc
mov dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
je 0x410118
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x48]
cmp eax, ecx
jbe 0x410101
mov dword [ebp - 0xf0], 1
jmp 0x41010b
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
jne 0x4104da
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x74], 0x3e
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x70], 0
mov edx, dword [0x4190c4]
add edx, dword [ebp - 0x21c]
mov eax, dword [0x4190e0]
or eax, dword [0x4190c0]
cmp edx, eax
jbe 0x41017f
mov dword [ebp - 0xf4], 1
jmp 0x410189
mov dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0
je 0x4101f8
mov ecx, dword [ebp - 0xfc]
add ecx, dword [ebp - 0x1b0]
je 0x4101b7
mov edx, dword [ebp - 0x1b4]
and edx, dword [ebp - 0x70]
je 0x4101b7
mov dword [ebp - 0xf8], 1
jmp 0x4101c1
mov dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0
je 0x4101f8
mov dword [ebp - 0x220], 0x9c
mov dword [ebp - 0x224], 0x1d
mov dword [ebp - 0x228], 0x35
mov eax, dword [0x4190cc]
push eax
call fcn.0040ec41
add esp, 4
jmp 0x410224
mov dword [ebp - 0x22c], 0x64
mov dword [ebp - 0x230], 0
mov ecx, dword [0x419118]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.0040a771
add esp, 8
jmp 0x4104da
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x59
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0xa1
ja case.0x41024a.2
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x410c15]
jmp dword [eax*4 + 0x410bf5]
mov dword [ebp - 0x234], 0x4b
mov ecx, dword [ebp - 0x74]
or ecx, dword [0x4190e0]
mov dword [0x4190d4], ecx
jmp 0x41030a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xfc], eax
jmp 0x41030a
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x34]
mov dword [0x419128], eax
jmp 0x41030a
mov dword [ebp - 0x238], 0xfa
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x41912c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov dword [0x419130], eax
jmp 0x41030a
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov dword [0x41912c], eax
jmp 0x41030a
mov dword [ebp - 0x23c], 0x89
mov dword [ebp - 0x240], 0xfd
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ec41
add esp, 4
jmp 0x41030a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0x5c], eax
jmp 0x41030a
mov dword [ebp - 0x244], 0xe7
mov edx, dword [0x4190d4]
add edx, dword [ebp + 0x10]
mov dword [0x4190dc], edx
mov eax, dword [0x4190c8]
push eax
call fcn.0040ec41
add esp, 4
mov ecx, eax
mov eax, dword [0x4190cc]
xor edx, edx
div dword [0x4190c8]
cmp ecx, eax
jne 0x410337
mov dword [ebp - 0x100], 1
jmp 0x410341
mov dword [ebp - 0x100], 0
mov edx, dword [0x419118]
or edx, dword [ebp - 0x248]
mov dword [0x4190d0], edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp dword [0x4190d0], eax
jne 0x410371
mov dword [ebp - 0x104], 1
jmp 0x41037b
mov dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0x100]
cmp ecx, dword [ebp - 0x104]
jae 0x410395
mov dword [ebp - 0x108], 1
jmp 0x41039f
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [0x4190dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, eax
je 0x4103cb
mov dword [ebp - 0x10c], 1
jmp 0x4103d5
mov dword [ebp - 0x10c], 0
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp - 0x10c]
jae 0x4103f3
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x70]
mov dword [0x419118], eax
jmp 0x41030a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0x74]
xor ecx, dword [ebp + 0x10]
cmp eax, ecx
jae 0x41040f
mov dword [ebp - 0x110], 1
jmp 0x410419
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0
jne 0x41046e
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp - 0x44]
mov dword [0x419120], eax
mov edx, dword [ebp - 0x44]
push edx
call fcn.0040ec41
add esp, 4
cmp dword [0x419120], eax
je 0x41044f
mov dword [ebp - 0x114], 1
jmp 0x410459
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
jne 0x41046e
mov dword [ebp - 0x118], 0
jmp 0x410478
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
je 0x41049c
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040ba01
add esp, 4
test eax, eax
je 0x41049c
mov dword [ebp - 0x11c], 1
jmp 0x4104a6
mov dword [ebp - 0x11c], 0
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x11c]
jne 0x4104d5
mov dword [ebp - 0x24c], 0x6e
mov eax, dword [0x41911c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00411ab1
add esp, 8
jmp 0x4103f3
jmp 0x410008
mov edx, dword [0x419120]
sub edx, dword [ebp - 0x5c]
je 0x4104f9
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 0x5c]
je 0x4104f9
mov dword [ebp - 0x120], 1
jmp 0x410503
mov dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0
je 0x41054d
mov ecx, dword [ebp - 0x4c]
xor ecx, dword [ebp - 0x4c]
je 0x41052e
mov edx, dword [0x419128]
sub edx, dword [0x419120]
je 0x41052e
mov dword [ebp - 0x124], 1
jmp 0x410538
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0
je 0x41054d
mov dword [ebp - 0x128], 1
jmp 0x410557
mov dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
je 0x410672
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x24]
cmp eax, ecx
je 0x410580
mov dword [ebp - 0x12c], 1
jmp 0x41058a
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0
je 0x410672
mov dword [ebp - 0x250], 0xd4
mov dword [ebp - 0x1b8], 0x30
mov edx, dword [ebp - 0x1b8]
push edx
mov eax, dword [0x419114]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x419118], eax
mov eax, dword [0x4190e0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov dword [0x41912c], eax
mov ecx, dword [0x419130]
sub ecx, dword [ebp - 4]
mov dword [0x41911c], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, dword [0x41911c]
jae 0x410633
mov dword [ebp - 0x254], 0xd
mov edx, dword [0x4190d4]
push edx
mov eax, dword [0x419110]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x4c]
mov dword [0x419118], ecx
mov edx, dword [0x419118]
mov dword [0x4190d4], edx
jmp 0x41066d
mov dword [ebp - 0x25c], 0x43
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
mov ecx, dword [0x4190bc]
or ecx, dword [0x4190dc]
mov dword [0x4190e4], ecx
mov edx, dword [0x41911c]
push edx
mov eax, dword [0x41911c]
push eax
call fcn.0040a771
add esp, 8
jmp 0x410b57
mov dword [ebp - 0x158], 0xde
mov dword [ebp - 0x78], 0x5c
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x60], 0x81
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x17c], 0
mov ecx, dword [0x4190c4]
and ecx, dword [0x4190dc]
je 0x4106d1
mov edx, dword [0x4190cc]
or edx, dword [ebp + 8]
je 0x4106d1
mov dword [ebp - 0x130], 1
jmp 0x4106db
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0
je 0x410722
mov eax, dword [ebp - 0x48]
xor eax, dword [0x41911c]
je 0x410703
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x18]
je 0x410703
mov dword [ebp - 0x134], 1
jmp 0x41070d
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
je 0x410722
mov dword [ebp - 0x138], 1
jmp 0x41072c
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0
je 0x410770
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x48]
jne 0x410751
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x48]
jne 0x410751
mov dword [ebp - 0x13c], 0
jmp 0x41075b
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x13c], 0
je 0x410770
mov dword [ebp - 0x140], 1
jmp 0x41077a
mov dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
je 0x4107c7
mov ecx, dword [ebp - 0x30]
add ecx, dword [0x419110]
mov edx, dword [0x419130]
sub edx, dword [0x4190cc]
cmp ecx, edx
jae 0x4107a8
mov dword [ebp - 0x144], 1
jmp 0x4107b2
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0
je 0x4107c7
mov dword [ebp - 0x148], 1
jmp 0x4107d1
mov dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0
je 0x410849
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x7c]
xor ecx, dword [ebp - 0x17c]
cmp eax, ecx
jne 0x4107f9
mov dword [ebp - 0x14c], 1
jmp 0x410803
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0
je 0x410849
mov dword [ebp - 0x260], 0x62
mov edx, dword [0x4190c0]
xor edx, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
mov eax, dword [0x4190e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x78], eax
mov ecx, dword [0x4190d8]
imul ecx, dword [0x419130]
mov dword [0x41911c], ecx
jmp 0x4108e2
mov dword [ebp - 0x154], 0x52
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x150], 0
lea edx, [ebp - 0x30]
push edx
push str.ZAkYHciBYw
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 8], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41089d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x410880
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1bc], eax
push str.naJZIcTFKy.XUE
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x154]
sub ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x20]
push edx
push str.fbUyNAyQwZ
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x1c], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 0x7c], ecx
push str.ijnnDNoC.uMM
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x410921
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x410904
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x170], edx
lea eax, [ebp - 0x2c]
push eax
push str.zUnMol
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x410966
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x410946
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
mov edx, dword [0x419120]
imul edx, dword [0x4190d8]
test edx, edx
je 0x410991
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x1c]
je 0x410991
mov dword [ebp - 0x15c], 1
jmp 0x41099b
mov dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0
je 0x4109df
mov ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x4109c0
mov dword [ebp - 0x160], 1
jmp 0x4109ca
mov dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0
je 0x4109df
mov dword [ebp - 0x164], 1
jmp 0x4109e9
mov dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0
je 0x410a2e
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 8]
cmp eax, ecx
jbe 0x410a0f
mov dword [ebp - 0x168], 1
jmp 0x410a19
mov dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 0
je 0x410a2e
mov dword [ebp - 0x16c], 1
jmp 0x410a38
mov dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0
je 0x410a7f
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x170]
mov eax, dword [ebp - 8]
and eax, dword [ebp - 0x60]
cmp edx, eax
jae 0x410a60
mov dword [ebp - 0x174], 1
jmp 0x410a6a
mov dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0
je 0x410a7f
mov dword [ebp - 0x178], 1
jmp 0x410a89
mov dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0
je 0x410b06
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
xor edx, dword [ebp - 0x17c]
cmp ecx, edx
jae 0x410ab1
mov dword [ebp - 0x180], 1
jmp 0x410abb
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
je 0x410b06
mov dword [ebp - 0x264], 6
mov dword [ebp - 0x268], 0x9f
mov eax, dword [0x4190d8]
xor eax, dword [0x41911c]
mov dword [0x419124], eax
mov ecx, dword [0x4190d4]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.0040ba01
add esp, 4
jmp 0x410b4b
mov dword [ebp - 0x26c], 0x8e
mov dword [ebp - 0x270], 0xa4
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x419130]
push ecx
call fcn.0040a771
add esp, 8
mov edx, dword [ebp - 0x64]
push edx
call fcn.0040a511
add esp, 4
mov eax, dword [0x4190d0]
push eax
mov ecx, dword [0x419120]
push ecx
call dword [ebp + 0x10]
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret