Function at 0x40bb57
Capabilities:
Enumerate files on windows
Get file attributes
Get file size
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov dword [ebp - 0x34], 0xb4
mov dword [ebp - 8], 0xd9
mov dword [ebp - 0x13c], 0x60
mov dword [ebp - 0x140], 0xf2
mov dword [ebp - 0x44], 0x59
mov dword [ebp - 0xb4], 0x5c
mov dword [ebp - 0x88], 0xee
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xf8], 0xee
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x3c], 0xac
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.0040f907
add esp, 4
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x41a104]
xor edx, dword [0x41a0d8]
mov eax, dword [0x41a0d0]
imul eax, dword [0x41a0ec]
cmp edx, eax
je 0x40bc0e
mov dword [ebp - 0x50], 1
jmp 0x40bc15
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
je 0x40bc56
mov ecx, dword [ebp - 0xf8]
or ecx, dword [0x41a0ec]
je 0x40bc40
mov edx, dword [str.a6_b_]
xor edx, dword [0x41a100]
je 0x40bc40
mov dword [ebp - 0x54], 1
jmp 0x40bc47
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
je 0x40bc56
mov dword [ebp - 0x58], 1
jmp 0x40bc5d
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
je 0x40bc8d
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x5c]
je 0x40bc7c
mov ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x28]
je 0x40bc7c
mov dword [ebp - 0x60], 1
jmp 0x40bc83
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jne 0x40c31b
mov dword [ebp - 0x84], 0x56
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov edx, dword [0x41a0f8]
sub edx, dword [0x41a0fc]
je 0x40bcca
mov eax, dword [ebp - 0x30]
imul eax, dword [0x41a0c4]
test eax, eax
je 0x40bcca
mov dword [ebp - 0x64], 1
jmp 0x40bcd1
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
jne 0x40bd0b
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
imul edx, dword [0x41a108]
cmp ecx, edx
jne 0x40bcf5
mov dword [ebp - 0x68], 1
jmp 0x40bcfc
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jne 0x40bd0b
mov dword [ebp - 0x6c], 0
jmp 0x40bd12
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
jne 0x40bd4d
mov eax, dword [ebp - 0x34]
and eax, dword [ebp + 0xc]
mov ecx, dword [0x41a0f8]
xor ecx, dword [0x41a0fc]
cmp eax, ecx
jae 0x40bd37
mov dword [ebp - 0x70], 1
jmp 0x40bd3e
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
jne 0x40bd4d
mov dword [ebp - 0x74], 0
jmp 0x40bd54
mov dword [ebp - 0x74], 1
cmp dword [ebp - 0x74], 0
jne 0x40bd8e
mov edx, dword [0x41a0f4]
and edx, dword [ebp - 0x44]
mov eax, dword [0x41a0d0]
xor eax, dword [ebp - 8]
cmp edx, eax
jae 0x40bd78
mov dword [ebp - 0x78], 1
jmp 0x40bd7f
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
jne 0x40bd8e
mov dword [ebp - 0x7c], 0
jmp 0x40bd95
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
jne 0x40bdc5
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x18]
cmp ecx, edx
jne 0x40bdb4
mov dword [ebp - 0x80], 1
jmp 0x40bdbb
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
je 0x40be73
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0x3b
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xc8
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040f907
add esp, 4
push str.vrzywa.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x88], eax
push str.KrIUlEOOAY.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x84], eax
push str.WHGKQZ
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xfc], eax
push str.yRqVlOqjT
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x100], eax
mov eax, dword [0x41a0ec]
push eax
call fcn.0040f907
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x108], eax
jmp 0x40beba
mov dword [ebp - 0x104], 0xc3
mov dword [ebp - 0x150], 0xe8
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x41a0f8]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [0x41a0c8], eax
mov eax, dword [0x41a0f8]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x41a100], eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x24
je 0x40beda
cmp dword [ebp - 0x8c], 0xc0
je 0x40bef8
jmp 0x40bf1f
mov dword [ebp - 0x154], 0x62
mov edx, dword [0x41a0fc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [0x41a0c0], eax
jmp 0x40bf6a
mov dword [ebp - 0x158], 0xd2
mov dword [ebp - 0x15c], 0x38
mov eax, dword [0x41a104]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x41a0d0], eax
jmp 0x40bf6a
mov dword [ebp - 0x160], 0x4a
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0xab
mov dword [ebp - 0x16c], 0xde
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0x3f
mov ecx, dword [0x41a0e0]
push ecx
call fcn.0040f907
add esp, 4
push str.UBPOhUxp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
push str.hOhfxY
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0xca
ja case.0x40bfbc.1
mov eax, dword [ebp - 0x90]
movzx ecx, byte [eax + 0x40c75b]
jmp dword [ecx*4 + 0x40c73f]
mov dword [ebp - 0x178], 0x95
mov dword [ebp - 0x17c], 0x42
mov edx, dword [0x41a0f0]
sub edx, dword [0x41a0e8]
mov dword [0x41a0d4], edx
jmp 0x40c089
mov eax, dword [ebp - 0x14]
imul eax, dword [0x41a0d8]
mov dword [0x41a0bc], eax
jmp 0x40c089
mov dword [ebp - 0x180], 0
mov ecx, dword [0x41a108]
push ecx
call fcn.0040f907
add esp, 4
jmp 0x40c089
mov edx, dword [0x41a0dc]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x41a0d0], eax
jmp 0x40c089
mov dword [ebp - 0x184], 0x49
mov eax, dword [ebp - 0x28]
push eax
call fcn.0040f907
add esp, 4
jmp 0x40c089
mov ecx, dword [0x41a0dc]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
mov dword [0x41a0c4], edx
jmp 0x40c089
mov dword [ebp - 0x188], 0x2e
mov dword [ebp - 0x18c], 0x42
mov eax, dword [0x41a0cc]
push eax
mov ecx, dword [0x41a0d4]
push ecx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x41a0fc], eax
mov edx, dword [0x41a0e8]
or edx, dword [0x41a0d8]
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x3c]
cmp edx, eax
jne 0x40c0ab
mov dword [ebp - 0x94], 1
jmp 0x40c0b5
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
je 0x40c105
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x190]
mov edx, dword [0x41a0dc]
and edx, dword [0x41a0d0]
cmp ecx, edx
jne 0x40c0e6
mov dword [ebp - 0x98], 1
jmp 0x40c0f0
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0
je 0x40c105
mov dword [ebp - 0x9c], 1
jmp 0x40c10f
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
je 0x40c156
mov eax, dword [ebp - 0x10]
and eax, dword [0x41a104]
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 4]
cmp eax, ecx
je 0x40c137
mov dword [ebp - 0xa0], 1
jmp 0x40c141
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
je 0x40c156
mov dword [ebp - 0xa4], 1
jmp 0x40c160
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x40c1ac
mov edx, dword [ebp - 0x10]
or edx, dword [0x41a0e8]
mov eax, dword [0x41a0d8]
add eax, dword [0x41a0fc]
cmp edx, eax
jne 0x40c18d
mov dword [ebp - 0xa8], 1
jmp 0x40c197
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0
je 0x40c1ac
mov dword [ebp - 0xac], 1
jmp 0x40c1b6
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
je 0x40c209
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 4]
cmp ecx, edx
jae 0x40c1db
mov dword [ebp - 0xb0], 1
jmp 0x40c1e5
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x40c209
mov dword [ebp - 0x110], 0xd6
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x110], eax
jmp 0x40c316
mov dword [ebp - 0x194], 0xba
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x1a0], 0x30
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x30]
push ecx
push str.XHwGwtBDGMF
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 0xb4]
push edx
push str.EohEM
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
dec ebp
or al, 0x51
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c29a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40c27d
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c2ca
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40c2aa
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x114], ecx
push str.RMmXaqmwKqh.tVg
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x118], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x34], eax
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40c314
mov dword [ebp - 0xb8], 0x1dd2
jmp 0x40c31b
jmp 0x40bbe9
mov dword [ebp - 0x38], 0x2b
jmp 0x40c32d
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2d
jae 0x40c372
mov dword [ebp - 0x1a4], 0x92
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x120], 0x99
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x124], edx
jmp 0x40c324
mov dword [ebp - 0x24], 0x7c
jmp 0x40c384
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xc6
jae 0x40c733
mov dword [ebp - 0x1a8], 0x7a
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0xd8], 0x27
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0xd8]
je 0x40c3ec
mov edx, dword [0x41a0c4]
xor edx, dword [0x41a0f0]
je 0x40c3ec
mov dword [ebp - 0xbc], 1
jmp 0x40c3f6
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x40c42e
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0xc]
cmp eax, ecx
jne 0x40c41b
mov dword [ebp - 0xc0], 1
jmp 0x40c425
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0
je 0x40c48b
mov dword [ebp - 0x1ac], 0x81
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1b0], 0x96
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x1b4], 0xa6
mov dword [ebp - 0x128], 0x33
mov dword [ebp - 0x1b8], 0x2b
mov edx, dword [ebp - 0x128]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x12c]
mov dword [ebp - 0x20], eax
jmp 0x40c4bb
mov dword [ebp - 0x1bc], 0xb0
mov ecx, dword [0x41a104]
push ecx
mov edx, dword [0x41a0e8]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x41a100], ecx
mov edx, dword [str.a6_b_]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
or eax, dword [0x41a0f8]
cmp edx, eax
je 0x40c4dd
mov dword [ebp - 0xc4], 1
jmp 0x40c4e7
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
je 0x40c52f
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x44]
mov edx, dword [0x41a0e0]
imul edx, dword [ebp - 0x48]
cmp ecx, edx
jae 0x40c510
mov dword [ebp - 0xc8], 1
jmp 0x40c51a
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0
je 0x40c52f
mov dword [ebp - 0xcc], 1
jmp 0x40c539
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0
je 0x40c584
mov eax, dword [ebp + 0x10]
or eax, dword [ebp - 0x48]
mov ecx, dword [0x41a0d8]
imul ecx, dword [0x41a0e8]
cmp eax, ecx
jae 0x40c565
mov dword [ebp - 0xd0], 1
jmp 0x40c56f
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0
je 0x40c584
mov dword [ebp - 0xd4], 1
jmp 0x40c58e
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
je 0x40c5d4
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x130]
imul eax, dword [ebp - 0x134]
cmp edx, eax
jne 0x40c5bd
mov dword [ebp - 0xdc], 1
jmp 0x40c5c7
mov dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0
jne 0x40c72e
mov dword [ebp - 0x1c0], 0x84
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [0x41a104]
or ecx, dword [0x41a100]
mov edx, dword [ebp - 0xec]
sub edx, dword [ebp - 0x24]
cmp ecx, edx
je 0x40c61e
mov dword [ebp - 0xe0], 1
jmp 0x40c628
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
je 0x40c671
mov eax, dword [0x41a0dc]
xor eax, dword [ebp - 0x48]
mov ecx, dword [0x41a0e8]
sub ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x40c652
mov dword [ebp - 0xe4], 1
jmp 0x40c65c
mov dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
je 0x40c671
mov dword [ebp - 0xe8], 1
jmp 0x40c67b
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
je 0x40c6c7
mov edx, dword [ebp - 0xec]
or edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x4c]
cmp edx, eax
jae 0x40c6a3
mov dword [ebp - 0xf0], 1
jmp 0x40c6ad
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
je 0x40c6c7
mov ecx, dword [ebp - 0xc]
xor ecx, dword [0x41a0c8]
mov dword [ebp - 0x1c8], ecx
jmp 0x40c70d
mov dword [ebp - 0x1cc], 0xe2
mov dword [ebp - 0x138], 0xdc
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0xf4], 0x63
mov dword [ebp - 0x1d4], 0
mov edx, dword [ebp - 0xf4]
and edx, dword [ebp - 0xf4]
mov dword [ebp - 0x138], edx
jmp 0x40c72e
mov eax, dword [0x41a100]
push eax
mov ecx, dword [0x41a0c0]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_PolylineTo]
mov dword [0x41a0e0], eax
jmp 0x40c4bb
jmp 0x40c37b
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret