Function at 0x546780
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x64cdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x31c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x32c]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x36c]
xor ebx, ebx
cmp eax, ebx
je 0x546c16
cmp dword [eax + 0x68], ebx
je 0x546c16
lea esi, [esp + 0x3c]
call fcn.005af590
push eax
mov edi, str._screenshots
lea esi, [esp + 0xcc]
mov dword [esp + 0x328], ebx
call fcn.0041e290
add esp, 4
mov ebp, 0x10
mov byte [esp + 0x324], 2
cmp dword [esp + 0x54], ebp
jb 0x546824
mov eax, dword [esp + 0x40]
push eax
call fcn.0061c19a
add esp, 4
lea ecx, [esp + 0xc8]
mov esi, 0xf
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.005b0890
add esp, 4
push 1
push 0x6709b0
lea ecx, [esp + 0xd0]
call fcn.0041e3e0
push 5
push str.image
lea ecx, [esp + 0x98]
mov dword [esp + 0x24], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00404330
lea edx, [esp + 0xc8]
push edx
mov edi, 0x6709bc
lea esi, [esp + 0x40]
mov byte [esp + 0x328], 3
call fcn.0041e290
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x5468af
mov eax, dword [eax + 4]
jmp 0x5468b2
add eax, 4
lea ecx, [esp + 0x1d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [esp + 0x54], ebp
mov esi, eax
mov dword [esp + 0x24], esi
jb 0x5468da
mov edx, dword [esp + 0x40]
push edx
call fcn.0061c19a
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x546988
lea eax, [esp + 0x90]
push eax
mov edi, str._d.png
lea esi, [esp + 0x5c]
mov dword [esp + 0x2c], ebx
call fcn.0041e290
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x54691a
mov eax, dword [eax + 4]
jmp 0x54691d
add eax, 4
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x208]
push edx
call fcn.0061cba5
add esp, 0xc
cmp eax, 1
sete byte [esp + 0x1b]
cmp dword [esp + 0x70], ebp
jb 0x54694e
mov eax, dword [esp + 0x5c]
push eax
call fcn.0061c19a
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x546962
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jle 0x546962
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1d4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5468f3
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
add ecx, 1
push ecx
push str._d.png
lea esi, [esp + 0x60]
call fcn.005b0ca0
mov edi, eax
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xd4]
push eax
lea esi, [esp + 0x84]
mov byte [esp + 0x334], 4
call fcn.0041e340
push edi
push eax
lea esi, [esp + 0xc4]
mov byte [esp + 0x33c], 5
call fcn.0041e340
add esp, 0x18
cmp dword [esp + 0x8c], ebp
jb 0x5469f3
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0061c19a
add esp, 4
mov esi, 0xf
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x324], 8
cmp dword [esp + 0x70], ebp
jb 0x546a25
mov edx, dword [esp + 0x5c]
push edx
call fcn.0061c19a
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x36c]
mov ebp, dword [eax + 0x68]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xe4]
mov dword [eax + 0x68], ebx
mov edi, dword [edx + 0x36c]
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.0056b890
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x328], 9
call fcn.0056bb00
lea ecx, [esp + 0xe4]
call fcn.005712a0
lea esi, [esp + 0xe4]
call fcn.0056c480
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x36c]
mov dword [eax + 0x68], ebp
mov edx, dword [esp + 0x11c]
cmp edx, ebx
jne 0x546b35
lea ecx, [esp + 0xe4]
mov byte [esp + 0x324], 8
call fcn.0056b980
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x546ad3
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xa8], esi
mov edi, 0xf
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
jb 0x546b06
mov edx, dword [esp + 0x94]
push edx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x546c16
mov eax, dword [esp + 0xcc]
push eax
jmp 0x546c0e
lea eax, [esp + 0x2c]
call fcn.005cc250
mov byte [esp + 0x324], 0xa
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10c]
push eax
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x3c], edx
call fcn.005cfa30
add esp, 8
mov dword [esp + 0x38], ebx
call fcn.005456a0
lea ecx, [esp + 0x2c]
call fcn.005cc290
lea ecx, [esp + 0xe4]
mov byte [esp + 0x324], 8
call fcn.0056b980
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x546bb5
mov edx, dword [esp + 0xb0]
push edx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xa8], esi
mov edi, 0xf
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
jb 0x546be8
mov eax, dword [esp + 0x94]
push eax
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x546c16
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0061c19a
add esp, 4
mov ecx, dword [esp + 0x31c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.0061efd1
add esp, 0x314
ret 4