Function at 0x40ac57
Capabilities:
Enumerate files on windows
Get file attributes
Get file size
Link many functions at runtime
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
mov dword [ebp - 0x14], 0xf6
mov dword [ebp - 0x44], 0x24
mov dword [ebp - 0x30], 0x7b
mov dword [ebp - 0xc], 0xb8
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0xb0
mov dword [ebp - 0x58], 0x6c
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [0x41a0dc]
or ecx, dword [0x41a0bc]
cmp eax, ecx
jbe 0x40acc5
mov dword [ebp - 0x74], 1
jmp 0x40accc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
jne 0x40ad06
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x10]
jne 0x40acf0
mov eax, dword [0x41a0c0]
xor eax, dword [0x41a0d4]
jne 0x40acf0
mov dword [ebp - 0x78], 0
jmp 0x40acf7
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 0
jne 0x40ad06
mov dword [ebp - 0x7c], 0
jmp 0x40ad0d
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
jne 0x40ad3d
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x18]
je 0x40ad2c
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x58]
je 0x40ad2c
mov dword [ebp - 0x80], 1
jmp 0x40ad33
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
je 0x40af74
mov dword [ebp - 0x12c], 0x6a
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x34], 0xea
mov eax, dword [ebp - 0x18]
or eax, dword [0x41a0f0]
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x2c]
cmp eax, ecx
je 0x40ad77
mov dword [ebp - 0x84], 1
jmp 0x40ad81
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
jne 0x40adce
mov edx, dword [ebp - 0x28]
add edx, dword [0x41a0d0]
mov eax, dword [str.a6_b_]
imul eax, dword [0x41a0f0]
cmp edx, eax
jne 0x40adaf
mov dword [ebp - 0x88], 1
jmp 0x40adb9
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jne 0x40adce
mov dword [ebp - 0x8c], 0
jmp 0x40add8
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x8c], 0
jne 0x40ae25
mov ecx, dword [ebp + 0xc]
sub ecx, dword [str.a6_b_]
mov edx, dword [0x41a0cc]
sub edx, dword [0x41a0bc]
cmp ecx, edx
jne 0x40ae06
mov dword [ebp - 0x90], 1
jmp 0x40ae10
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
jne 0x40ae25
mov dword [ebp - 0x94], 0
jmp 0x40ae2f
mov dword [ebp - 0x94], 1
cmp dword [ebp - 0x94], 0
jne 0x40ae76
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0xa0]
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x40ae57
mov dword [ebp - 0x98], 1
jmp 0x40ae61
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
jne 0x40ae76
mov dword [ebp - 0x9c], 0
jmp 0x40ae80
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0
jne 0x40aebb
mov edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x34]
je 0x40aea8
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0xa0]
je 0x40aea8
mov dword [ebp - 0xa4], 1
jmp 0x40aeb2
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x40af1b
mov dword [ebp - 0x168], 0xe3
mov dword [ebp - 0x16c], 0xfa
mov dword [ebp - 0x24], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
movzx edx, word [ecx]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
push str.oaeftbvx.RFn
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x41a104]
push ecx
call fcn.0040c827
add esp, 4
jmp 0x40af74
mov dword [ebp - 0x128], 0x6b
mov dword [ebp - 0x170], 0xfb
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x41a0f8]
xor edx, dword [0x41a0d8]
mov dword [ebp - 0x44], edx
mov eax, dword [0x41a104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x41a0d0], eax
jmp 0x40aca6
mov eax, dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x41a0fc]
add ecx, dword [ebp - 0xc]
mov edx, dword [0x41a100]
add edx, dword [ebp - 0x14]
cmp ecx, edx
jbe 0x40afa1
mov dword [ebp - 0xa8], 1
jmp 0x40afab
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0
jne 0x40aff8
mov eax, dword [0x41a104]
sub eax, dword [ebp - 0x38]
mov ecx, dword [0x41a104]
imul ecx, dword [0x41a100]
cmp eax, ecx
jne 0x40afd9
mov dword [ebp - 0xac], 1
jmp 0x40afe3
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
jne 0x40aff8
mov dword [ebp - 0xb0], 0
jmp 0x40b002
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0
jne 0x40b04b
mov edx, dword [0x41a108]
and edx, dword [ebp + 8]
mov eax, dword [0x41a0c4]
xor eax, dword [ebp - 0x28]
cmp edx, eax
jae fcn.0040b02c
mov dword [ebp - 0xb4], 1