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

Disassembly:
push 0xffffffffffffffff
push 0x657d28
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a9fa4]
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 0x54cdc6
cmp dword [eax + 0x68], ebx
je 0x54cdc6
lea esi, [esp + 0x3c]
call fcn.005b5940
push eax
mov edi, str._screenshots
lea esi, [esp + 0xcc]
mov dword [esp + 0x328], ebx
call fcn.0041fc00
add esp, 4
mov ebp, 0x10
mov byte [esp + 0x324], 2
cmp dword [esp + 0x54], ebp
jb 0x54c9d4
mov eax, dword [esp + 0x40]
push eax
call fcn.0062414c
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.005b6fa0
add esp, 4
push 1
push 0x67ee34
lea ecx, [esp + 0xd0]
call fcn.0041fe30
push 5
push 0x67ee38
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.00405590
lea edx, [esp + 0xc8]
push edx
mov edi, 0x67ee40
lea esi, [esp + 0x40]
mov byte [esp + 0x328], 3
call fcn.0041fc00
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x54ca5f
mov eax, dword [eax + 4]
jmp 0x54ca62
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 0x54ca8a
mov edx, dword [esp + 0x40]
push edx
call fcn.0062414c
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x54cb38
lea eax, [esp + 0x90]
push eax
mov edi, str._d.png
lea esi, [esp + 0x5c]
mov dword [esp + 0x2c], ebx
call fcn.0041fc00
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x54caca
mov eax, dword [eax + 4]
jmp 0x54cacd
add eax, 4
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x208]
push edx
call fcn.00625bcb
add esp, 0xc
cmp eax, 1
sete byte [esp + 0x1b]
cmp dword [esp + 0x70], ebp
jb 0x54cafe
mov eax, dword [esp + 0x5c]
push eax
call fcn.0062414c
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x54cb12
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jle 0x54cb12
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 0x54caa3
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.005b73b0
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.004472a0
push edi
push eax
lea esi, [esp + 0xc4]
mov byte [esp + 0x33c], 5
call fcn.004472a0
add esp, 0x18
cmp dword [esp + 0x8c], ebp
jb 0x54cba3
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0062414c
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 0x54cbd5
mov edx, dword [esp + 0x5c]
push edx
call fcn.0062414c
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.00571860
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x328], 9
call fcn.00571ad0
lea ecx, [esp + 0xe4]
call fcn.00577270
lea esi, [esp + 0xe4]
call fcn.00572450
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x36c]
mov dword [eax + 0x68], ebp
mov edx, dword [esp + 0x11c]
cmp edx, ebx
jne 0x54cce5
lea ecx, [esp + 0xe4]
mov byte [esp + 0x324], 8
call fcn.00571950
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x54cc83
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0062414c
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 0x54ccb6
mov edx, dword [esp + 0x94]
push edx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x54cdc6
mov eax, dword [esp + 0xcc]
push eax
jmp 0x54cdbe
lea eax, [esp + 0x2c]
call fcn.005d36f0
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.005d6ec0
add esp, 8
mov dword [esp + 0x38], ebx
call fcn.0054b850
lea ecx, [esp + 0x2c]
call fcn.005d3730
lea ecx, [esp + 0xe4]
mov byte [esp + 0x324], 8
call fcn.00571950
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x54cd65
mov edx, dword [esp + 0xb0]
push edx
call fcn.0062414c
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 0x54cd98
mov eax, dword [esp + 0x94]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x54cdc6
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0062414c
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.00626d59
add esp, 0x314
ret 4