Function at 0x40fbbb
Capabilities:
Enumerate files on windows
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0x28], 0x8d
mov dword [ebp - 4], 0x67
mov dword [ebp - 0x94], 0xd1
mov dword [ebp - 0x70], 0x23
mov dword [ebp - 0xc], 0x15
mov dword [ebp - 0x3c], 0
mov dword [ebp - 8], 0xcc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x8c], 0xc0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
and eax, dword [0x421814]
jne 0x40fc39
mov ecx, dword [0x4217f0]
add ecx, dword [0x4217e0]
jne 0x40fc39
mov dword [ebp - 0x40], 0
jmp 0x40fc40
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0
je 0x40fc7b
mov edx, dword [0x421828]
sub edx, dword [ebp - 8]
je 0x40fc65
mov eax, dword [ebp - 0x14]
add eax, dword [0x4217f4]
je 0x40fc65
mov dword [ebp - 0x44], 1
jmp 0x40fc6c
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0
je 0x40fc7b
mov dword [ebp - 0x48], 1
jmp 0x40fc82
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x40fcc1
mov ecx, dword [ebp - 0x28]
imul ecx, dword [0x4217e8]
mov edx, dword [0x4217e4]
xor edx, dword [0x421828]
cmp ecx, edx
jne 0x40fcab
mov dword [ebp - 0x4c], 1
jmp 0x40fcb2
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x40fcc1
mov dword [ebp - 0x50], 1
jmp 0x40fcc8
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x40fcfa
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x40fce9
mov dword [ebp - 0x54], 1
jmp 0x40fcf0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
jne 0x40ffc3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x10]
and edx, dword [0x421820]
jne 0x40fd29
mov eax, dword [0x421804]
sub eax, dword [0x42180c]
jne 0x40fd29
mov dword [ebp - 0x58], 0
jmp 0x40fd30
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0
je 0x40fd6e
mov ecx, dword [0x4217e0]
and ecx, dword [ebp - 0x18]
mov edx, dword [0x4217f8]
add edx, dword [0x42182c]
cmp ecx, edx
je 0x40fd58
mov dword [ebp - 0x5c], 1
jmp 0x40fd5f
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x40fd6e
mov dword [ebp - 0x60], 1
jmp 0x40fd75
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
je 0x40fde6
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x24]
cmp eax, ecx
jae 0x40fd94
mov dword [ebp - 0x64], 1
jmp 0x40fd9b
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x40fde6
mov dword [ebp - 0xa4], 0x1f
mov edx, dword [0x421814]
push edx
mov eax, dword [0x4217f8]
push eax
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [0x4217e8]
mov dword [0x4217e4], eax
mov ecx, dword [0x4217f4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x30], eax
jmp 0x40ff00
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x7c], 0x8c
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x6c]
xor edx, edx
div dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
mov edx, dword [0x4217ec]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp - 0x84]
push eax
push str.RuammCiIL
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
mov dword [ebp + 8], 0
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40fe7f
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x40fe5f
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
mov dword [ebp - 0x88], eax
push 0x421a24
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [0x4217e4], eax
push str.QcJtm.qgm
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x18]
push ecx
push str.dnqoQiDZgjAQnz
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40fee9
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x40fecc
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040b81b
add esp, 4
jmp 0x40ffc3
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_PolylineTo]
test eax, eax
je 0x40ff55
mov ecx, dword [0x4217f8]
or ecx, dword [ebp - 0x1c]
mov dword [0x42182c], ecx
je 0x40ff55
mov dword [ebp - 0x90], 0x74
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x4217e8], eax
mov eax, dword [0x4217f8]
xor edx, edx
div dword [ebp - 8]
mov dword [ebp - 0x70], eax
jmp 0x40ff8a
mov dword [ebp - 0xb0], 0xaa
mov dword [ebp - 0xb4], 0x48
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [0x4217e8], ecx
mov edx, dword [0x4217f0]
xor edx, dword [0x421814]
mov dword [0x4217ec], edx
mov eax, dword [ebp + 8]
imul eax, dword [ebp - 4]
mov dword [0x421820], eax
mov eax, dword [0x421808]
xor edx, edx
div dword [ebp - 0x18]
mov dword [0x42182c], eax
mov ecx, dword [0x421828]
push ecx
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x421818], eax
jmp 0x40fc17
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xe3
ja case.0x40ffe0.1
mov ecx, dword [ebp - 0x74]
movzx edx, byte [ecx + 0x4101a7]
jmp dword [edx*4 + 0x41018b]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x34], 0x92
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], 0x15
mov eax, dword [ebp - 0x98]
xor edx, edx
div dword [ebp - 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
jmp 0x41015f
mov ecx, dword [ebp - 0xb8]
imul ecx, dword [0x4217e8]
mov dword [0x4217ec], ecx
mov edx, dword [ebp - 4]
mov dword [0x421804], edx
mov eax, dword [0x421804]
mov dword [0x421810], eax
jmp 0x41015f
mov ecx, dword [0x421804]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4217ec], eax
mov eax, dword [0x4217e0]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x42180c], eax
mov edx, dword [0x4217f8]
or edx, dword [0x421814]
mov dword [0x4217ec], edx
jmp 0x41015f
mov dword [ebp - 0xbc], 0xb2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4217fc], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x421824], eax
jmp 0x41015f
mov dword [ebp - 0xc0], 0xff
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [ebp - 0x78]
mov dword [0x421824], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0xc], eax
jmp 0x41015f
mov dword [ebp - 0xc4], 0x65
mov dword [ebp - 0xc8], 0x3f
mov ecx, dword [0x421828]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x4217e0]
push ecx
mov edx, dword [0x4217e4]
push edx
mov eax, dword [0x4217e4]
push eax
mov ecx, dword [0x4217fc]
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 0x38], eax
jmp 0x41015f
mov edx, dword [0x421820]
or edx, dword [0x421800]
mov dword [ebp - 0x38], edx
mov eax, dword [0x4217f8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4217fc], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
movzx eax, word [edx]
mov dword [ebp - 0x3c], eax
push str.YZrL.COy
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret