Function at 0x547ae0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0742
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x2fd], 0
lea ecx, [ebp + 8]
call fcn.00442920
push eax
push 0x6f07e4
lea eax, [ebp - 0x114]
push eax
call fcn.0045d650
add esp, 0xc
lea ecx, [ebp - 0x2fc]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0xffffffff
jne 0x547b7f
mov al, byte [ebp - 0x2fd]
mov byte [ebp - 0x301], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00442a70
mov al, byte [ebp - 0x301]
jmp 0x5481e9
movzx ecx, byte [ebp - 0x2fd]
test ecx, ecx
je 0x547b8f
jmp 0x5481bb
lea edx, [ebp - 0x2d0]
mov dword [ebp - 0x314], edx
push 0x6f07ec
mov eax, dword [ebp - 0x314]
push eax
call fcn.00660b40
add esp, 8
test eax, eax
je 0x547bcb
push 0x6f07f0
mov ecx, dword [ebp - 0x314]
push ecx
call fcn.00660b40
add esp, 8
test eax, eax
jne 0x547bd0
jmp 0x54819f
mov edx, dword [ebp - 0x2fc]
and edx, 0x10
je 0x547be0
jmp 0x54819f
mov eax, dword [ebp - 0x314]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00442b10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x314]
push ecx
push 0x6f07f4
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x1bc]
push eax
call fcn.004eae20
add esp, 0xc
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x320]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.00463950
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1bc]
call fcn.00442a70
lea ecx, [ebp - 0x364]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044c410
mov edx, dword [eax]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x368]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044c460
mov edx, dword [eax]
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044c410
mov edx, dword [eax]
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x348], eax
push fcn.00660012
mov ecx, dword [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x348]
push eax
lea ecx, [ebp - 0x370]
push ecx
call fcn.0049bf40
add esp, 0x14
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.00549aa0
add esp, 8
mov byte [ebp - 4], 5
mov byte [ebp - 0x2fe], 0
mov byte [ebp - 0x300], 0
push 0x790e50
call fcn.00444390
add esp, 4
mov dword [ebp - 0x30c], eax
push 0x790e50
call fcn.005495e0
add esp, 4
mov dword [ebp - 0x344], eax
jmp 0x547d4a
mov ecx, dword [ebp - 0x30c]
add ecx, 0x1c
mov dword [ebp - 0x30c], ecx
mov edx, dword [ebp - 0x30c]
cmp edx, dword [ebp - 0x344]
jae 0x547d94
mov eax, dword [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x30c]
call fcn.0045d340
push eax
push 0
lea ecx, [ebp - 0x15c]
call fcn.00549bb0
test eax, eax
jne 0x547d92
mov byte [ebp - 0x2fe], 1
mov ecx, dword [ebp - 0x30c]
mov dl, byte [ecx + 0x18]
mov byte [ebp - 0x300], dl
jmp 0x547d3b
movzx eax, byte [ebp - 0x2fe]
test eax, eax
je 0x548172
mov byte [ebp - 0x2ff], 0
push 0x790ee0
call fcn.00444390
add esp, 4
mov dword [ebp - 0x310], eax
push 0x790ee0
call fcn.005495f0
add esp, 4
mov dword [ebp - 0x340], eax
jmp 0x547de1
mov ecx, dword [ebp - 0x310]
add ecx, 0x20
mov dword [ebp - 0x310], ecx
mov edx, dword [ebp - 0x310]
cmp edx, dword [ebp - 0x340]
jae 0x548050
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x358], eax
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x358]
call fcn.004738d0
test eax, eax
jne 0x54804b
lea ecx, [ebp - 0x144]
call fcn.00442920
push eax
call fcn.00565260
add esp, 4
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x324]
je 0x547f43
mov byte [ebp - 0x2fd], 1
push 1
lea ecx, [ebp - 0x408]
call fcn.00549800
mov byte [ebp - 4], 6
push 0x6f0824
lea edx, [ebp - 0x408]
push edx
call fcn.00445b60
add esp, 8
mov ecx, dword [ebp - 0x314]
push ecx
push eax
call fcn.00445b60
add esp, 8
push 0x6f07f8
push eax
call fcn.00445b60
add esp, 8
push 0x10
push 0x6f0830
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x408]
call fcn.00549da0
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
call fcn.00442920
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x1a4]
call fcn.00442a70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x408]
call fcn.00549a30
mov al, byte [ebp - 0x2fd]
mov byte [ebp - 0x305], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00442a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00442a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00442a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00442a70
mov al, byte [ebp - 0x305]
jmp 0x5481e9
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ebp - 0x32c]
je 0x548042
mov byte [ebp - 0x2fd], 1
push 1
lea ecx, [ebp - 0x4a0]
call fcn.00549800
mov byte [ebp - 4], 7
push 0x6f0864
lea eax, [ebp - 0x4a0]
push eax
call fcn.00445b60
add esp, 8
mov ecx, dword [ebp - 0x314]
push ecx
push eax
call fcn.00445b60
add esp, 8
push str._was_edited__please_run_the_autopatcher_
push eax
call fcn.00445b60
add esp, 8
push 0x10
push 0x6f0870
lea edx, [ebp - 0x18c]
push edx
lea ecx, [ebp - 0x4a0]
call fcn.00549da0
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
call fcn.00442920
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18c]
call fcn.00442a70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a0]
call fcn.00549a30
mov al, byte [ebp - 0x2fd]
mov byte [ebp - 0x302], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00442a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00442a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00442a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00442a70
mov al, byte [ebp - 0x302]
jmp 0x5481e9
mov byte [ebp - 0x2ff], 1
jmp 0x548050
jmp 0x547dd2
movzx ecx, byte [ebp - 0x2ff]
test ecx, ecx
jne 0x548172
movzx edx, byte [ebp - 0x300]
test edx, edx
je 0x548172
mov byte [ebp - 0x2fd], 1
push 1
lea ecx, [ebp - 0x538]
call fcn.00549800
mov byte [ebp - 4], 8
push str.The_file
lea eax, [ebp - 0x538]
push eax
call fcn.00445b60
add esp, 8
mov dword [ebp - 0x338], eax
lea ecx, [ebp - 0x144]
call fcn.00442920
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [ebp - 0x338]
push edx
call fcn.00445b60
add esp, 8
push str._is_not_allowed__please_remove_it_
push eax
call fcn.00445b60
add esp, 8
push 0x10
push 0x6f08a8
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x538]
call fcn.00549da0
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
call fcn.00442920
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x174]
call fcn.00442a70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x538]
call fcn.00549a30
mov cl, byte [ebp - 0x2fd]
mov byte [ebp - 0x303], cl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00442a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00442a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00442a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00442a70
mov al, byte [ebp - 0x303]
jmp 0x5481e9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00442a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00442a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00442a70
lea edx, [ebp - 0x2fc]
push edx
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x547b7f
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [ebp - 0x2fd]
mov byte [ebp - 0x304], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00442a70
mov al, byte [ebp - 0x304]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret