Function at 0x54bbd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d69ce
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b8], ecx
mov eax, dword [ecx + 0x35c]
test eax, eax
je 0x54bffe
cmp dword [eax + 0x68], 0
je 0x54bffe
lea eax, [ebp - 0x58]
push eax
call fcn.004e5800
add esp, 4
push 0xb
push str.screenshots
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404bf0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00402f60
lea eax, [ebp - 0x28]
push eax
call fcn.004edca0
add esp, 4
lea ecx, [ebp - 0x28]
push 1
push 0x5e3c00
call fcn.00404bf0
mov eax, dword [str.image]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2bc], eax
mov edi, 5
mov dword [ebp - 0x40], eax
xor esi, esi
mov al, byte [0x5e75b0]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], 0
mov ecx, dword [ebp - 0x18]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 3
cmp eax, edi
jb 0x54c019
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push 0x5e75b4
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x58]
call fcn.004deda0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c0], eax
call fcn.00402f60
cmp dword [ebp - 0x2c0], 0xffffffff
je 0x54be38
nop dword [eax + eax]
mov eax, closesocket
mov dword [ebp - 0x2c4], 0
sub eax, edi
cmp eax, 6
jb 0x54c019
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 6
cmovae eax, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x70]
push str._d.png
push edi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x2b8]
call fcn.004deda0
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00404fa0
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
cmp eax, 1
sete al
mov byte [ebp - 0x2b1], al
cmp ecx, 0x10
jb 0x54bdeb
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x54bddb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54c023
push ecx
push edx
call fcn.0059b718
mov al, byte [ebp - 0x2b1]
add esp, 8
test al, al
je 0x54bdfc
cmp dword [ebp - 0x2c4], esi
cmovg esi, dword [ebp - 0x2c4]
mov edi, dword [ebp - 0x2c0]
lea eax, [ebp - 0x1c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x54be25
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x2bc], eax
jmp 0x54bd40
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x2bc], eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x70]
push str._d.png
push eax
call fcn.004f8210
add esp, 0xc
mov esi, eax
mov edx, dword [ebp - 0x18]
mov eax, closesocket
sub eax, edx
mov byte [ebp - 4], 4
cmp eax, edi
jb 0x54c01e
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x2bc]
push eax
push edx
push ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x58]
call fcn.004deda0
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x88]
call fcn.004a2020
lea ecx, [ebp - 0x58]
call fcn.00402f60
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00402f60
mov edi, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b0]
mov eax, dword [edi + 0x35c]
mov esi, dword [eax + 0x68]
mov dword [eax + 0x68], 0
push dword [edi + 0x35c]
call fcn.004fee10
push esi
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 9
call fcn.0052bfd0
lea ecx, [ebp - 0x2b0]
call fcn.00519060
lea ecx, [ebp - 0x2b0]
call fcn.00513000
mov eax, dword [edi + 0x35c]
mov dword [eax + 0x68], esi
cmp dword [ebp - 0x27c], 0
je 0x54bf88
lea ecx, [ebp - 0x2d4]
call fcn.0054f120
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xa
push eax
call fcn.00551270
add esp, 8
mov dword [ebp - 0x2c8], 0
mov ecx, edi
push 0
call fcn.0053d310
lea ecx, [ebp - 0x2d4]
call fcn.0054f140
lea ecx, [ebp - 0x2b0]
call fcn.00500000
lea ecx, [ebp - 0x88]
call fcn.00402f60
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x54bfce
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x54bfc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54c023
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x54bffe
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x54bff4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54c023
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
call fcn.00404b20
call fcn.00404b20
call fcn.005a17d1
int3