Function at 0x10365fe0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10416670
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x104c5878]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x564], ecx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 0
lea edx, [esi + 1]
mov dword [ebp - 0x570], esi
mov dword [ebp - 0x544], ebx
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x56c], edi
test eax, eax
je 0x103660db
mov esi, eax
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10366070
sub esi, ecx
lea ebx, [esi + 1]
cmp ebx, 2
jb 0x103660cf
test ebx, ebx
lea ecx, [ebp - 0x570]
mov eax, ebx
cmove eax, edx
push eax
call fcn.10353240
mov edi, dword [ebp - 0x56c]
test al, al
je 0x103660cf
test edi, edi
je 0x103660a7
lea eax, [edi - 1]
jmp 0x103660a9
xor eax, eax
push eax
push dword [ebp - 0x550]
push dword [ebp - 0x570]
call fcn.103ce0b0
xor eax, eax
add esp, 0xc
test ebx, ebx
cmove esi, eax
mov eax, dword [ebp - 0x570]
mov byte [esi + eax], 0
mov ebx, dword [ebp - 0x544]
mov esi, dword [ebp - 0x570]
mov dword [ebp - 4], 0
xor ecx, ecx
test edi, edi
je 0x10366102
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10366102
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x103660ff
cmp al, 0x5a
jg 0x103660ff
add al, 0x20
mov byte [ecx + esi], al
inc ecx
jmp 0x103660e4
push sym.appincu.dll_png_set_filter_heuristics
push fcn.103531e0
push 0x40
push 8
lea eax, [ebp - 0x23c]
push eax
call fcn.103b6ce0
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x270], ax
lea ecx, [ebp - 0x578]
mov byte [ebp - 0x26e], al
xorps xmm0, xmm0
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x274], 0
push eax
push 0x40
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2ec], 0
push eax
movups xmmword [ebp - 0x2e8], xmm0
mov dword [ebp - 0x278], 0
movups xmmword [ebp - 0x2d8], xmm0
mov byte [ebp - 0x271], 0x7c
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x578], esi
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x574], edi
movups xmmword [ebp - 0x2a8], xmm0
movups xmmword [ebp - 0x298], xmm0
movups xmmword [ebp - 0x288], xmm0
call fcn.1035d830
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x55c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x558], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x564]
mov esi, dword [ebx + 4]
mov ecx, esi
mov edx, dword [edx + 0x10]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
neg ecx
lea eax, [esi - 1]
sbb ecx, ecx
and ecx, eax
cmp edx, ecx
jb 0x10366205
xor ebx, ebx
xor esi, esi
jmp 0x1036620b
mov ebx, dword [ebx]
add ebx, edx
sub esi, edx
push ecx
lea ecx, [ebp - 0x560]
call fcn.103695c0
mov eax, dword [ebp - 0x55c]
mov ecx, dword [ebp - 0x560]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 - 4], 0
lea edi, [ecx + eax*4]
mov dword [edi - 0xc], 0
mov dword [edi - 8], 0
test ebx, ebx
je 0x103662a0
cmp esi, 2
jb 0x103662a0
test esi, esi
je 0x10366251
lea eax, [esi - 1]
jmp 0x10366254
or eax, 0xffffffff
mov dword [ebp - 0x544], eax
test esi, esi
mov ecx, 1
mov eax, esi
cmove eax, ecx
lea ecx, [edi - 0xc]
push eax
call fcn.10353240
test al, al
je 0x103662a0
mov ecx, dword [edi - 8]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push ebx
push dword [edi - 0xc]
call fcn.103ce0b0
mov ecx, dword [ebp - 0x544]
xor eax, eax
add esp, 0xc
test esi, esi
cmove ecx, eax
mov eax, dword [edi - 0xc]
mov byte [ecx + eax], 0
mov ebx, dword [ebp - 0x54c]
lea eax, [ebx + ebx*2]
shl eax, 2
call fcn.103b71b0
mov eax, esp
mov dword [ebp - 0x550], eax
test ebx, ebx
jle 0x10366316
lea edi, [ebp - 0x23c]
mov esi, eax
nop word [eax + eax]
mov dword [ebp - 0x554], esi
mov dword [ebp - 0x548], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [ebp - 4], 4
mov dword [esi + 8], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x578]
push edi
push eax
mov ecx, esi
call fcn.1035f180
mov byte [ebp - 4], 3
add esi, 0xc
add edi, 8
sub ebx, 1
jne 0x103662d0
mov edi, dword [ebp - 0x55c]
test edi, edi
je 0x10366b6d
mov edi, dword [ebp - 0x540]
nop word [eax + eax]
mov eax, dword [ebp - 0x560]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x564]
mov dword [ebp - 0x5d8], 0
mov dword [ebp - 0x5d4], 0xffffffff
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x5d0], esi
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x5cc], edx
mov ecx, dword [eax]
mov dword [ebp - 0x5c8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 6
or edi, 1
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 8
lea ebx, [ebp - 0x5ac]
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x5b0], 0xffffffff
mov dword [ebp - 0x554], ebx
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0xffffffff
mov dword [ebp - 0x5a4], esi
mov dword [ebp - 0x5a0], edx
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x594], str..
mov dword [ebp - 0x590], 5
mov byte [ebp - 4], 8
or edi, 2
mov dword [ebp - 0x540], edi
mov ecx, dword [ebp - 0x5a0]
test ecx, ecx
je 0x10366406
dec ecx
jmp 0x10366408
xor ecx, ecx
mov eax, dword [ebp - 0x598]
test eax, eax
je 0x10366415
dec eax
jmp 0x10366417
xor eax, eax
add ecx, eax
mov dword [ebp - 0x5a8], ecx
mov eax, dword [ebp - 0x590]
test eax, eax
je 0x1036642c
dec eax
jmp 0x1036642e
xor eax, eax
add ecx, eax
mov dword [ebp - 0x5b0], ecx
inc ecx
call fcn.103675e0
mov edi, eax
mov dword [ebp - 0x5b4], edi
mov ecx, dword [ebp - 0x5a0]
test ecx, ecx
je 0x10366451
dec ecx
jmp 0x10366453
xor ecx, ecx
push ecx
push dword [ebp - 0x5a4]
push edi
call fcn.103ce0b0
mov esi, dword [ebp - 0x5a0]
add esp, 0xc
test esi, esi
je 0x10366470
dec esi
jmp 0x10366472
xor esi, esi
mov eax, dword [ebp - 0x598]
test eax, eax
je 0x1036647f
dec eax
jmp 0x10366481
xor eax, eax
push eax
push dword [ebp - 0x59c]
lea eax, [esi + edi]
push eax
call fcn.103ce0b0
mov eax, dword [ebp - 0x598]
add esp, 0xc
test eax, eax
je 0x103664a1
dec eax
jmp 0x103664a3
xor eax, eax
lea ecx, [esi + eax]
mov eax, dword [ebp - 0x590]
test eax, eax
je 0x103664b3
dec eax
jmp 0x103664b5
xor eax, eax
push eax
push dword [ebp - 0x594]
lea eax, [edi + ecx]
push eax
call fcn.103ce0b0
mov ecx, dword [ebp - 0x5b4]
add esp, 0xc
mov eax, dword [ebp - 0x5b0]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x5b4]
test ecx, ecx
je 0x10366504
mov dword [ebp - 0x578], ecx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x103664f0
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x574], eax
jmp 0x10366518
mov dword [ebp - 0x578], 0
mov dword [ebp - 0x574], 0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x5bc], 0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x5b8], 0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.1035f180
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x53c]
push eax
push dword [ebp - 0x5c0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x554], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c0]
mov ebx, dword [ebp - 0x54c]
test ecx, ecx
je 0x103665b3
call fcn.10367720
mov dword [ebp - 0x5c0], 0
mov edi, dword [ebp - 0x540]
and edi, 0xfffffffd
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x5b4]
call fcn.10367720
mov dword [ebp - 0x5b4], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5ac]
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5ac]
call fcn.10367720
and edi, 0xfffffffe
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 3
xor ecx, ecx
call fcn.10367720
cmp dword [ebp - 0x554], 0xffffffff
mov dword [ebp - 0x5d8], 0
je 0x10366b2f
jmp 0x10366637
mov ebx, dword [ebp - 0x54c]
mov ax, word [ebp - 0x510]
cmp ax, 0x2e
je 0x10366b0c
test byte [ebp - 0x53c], 2
jne 0x10366b0c
test ax, ax
je 0x10366b0c
lea eax, [ebp - 0x584]
mov dword [ebp - 0x58c], 0
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x57c], 0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x510]
push closesocket
push eax
lea ecx, [ebp - 0x58c]
call fcn.1035f300
mov byte [ebp - 4], 0x17
test byte [ebp - 0x53c], 0x10
je 0x103666dd
mov byte [ebp - 4], 3
lea eax, [ebp - 0x584]
mov dword [ebp - 0x548], eax
jmp 0x10366aef
test ebx, ebx
je 0x1036681d
lea ecx, [ebp - 0x510]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x103666f0
sub ecx, edx
mov esi, 0x10
sar ecx, 1
cmp ecx, esi
cmovl esi, ecx
sub ecx, esi
mov dword [ebp - 0x544], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ebp - 0x510]
lea eax, [eax + ecx*2]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.103ce0b0
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
call fcn.103dece7
add esp, 4
mov dword [ebp - 0x548], 0
test ebx, ebx
jle 0x10366802
mov ebx, dword [ebp - 0x550]
mov edx, dword [ebx + 4]
mov ecx, edx
neg ecx
sbb ecx, ecx
lea eax, [edx - 1]
and ecx, eax
lea edi, [edx - 1]
cmp esi, ecx
jl 0x103667e0
test edx, edx
je 0x10366779
lea esi, [edx*2 - 2]
jmp 0x1036677b
xor esi, esi
xor eax, eax
test edx, edx
lea edx, [ebp - 0x38]
cmove edi, eax
mov eax, dword [ebp - 0x544]
sub eax, edi
lea eax, [edx + eax*2]
mov edx, dword [ebx]
sub esi, 4
jb 0x103667a8
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x103667ad
add edx, 4
add eax, 4
sub esi, 4
jae 0x10366797
cmp esi, 0xfffffffc
je 0x10366817
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x103667da
cmp esi, 0xfffffffd
je 0x10366817
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x103667da
cmp esi, 0xfffffffe
je 0x10366817
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x103667da
cmp esi, 0xffffffff
je 0x10366817
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x10366817
mov esi, dword [ebp - 0x544]
mov eax, dword [ebp - 0x548]
add ebx, 0xc
inc eax
mov dword [ebp - 0x548], eax
cmp eax, dword [ebp - 0x54c]
jl 0x10366753
mov edi, dword [ebp - 0x540]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x584]
mov dword [ebp - 0x548], eax
jmp 0x10366aef
mov edi, dword [ebp - 0x540]
mov ecx, dword [ebp - 0x564]
call fcn.10369340
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x560]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xffffffff
mov ecx, dword [eax]
mov dword [ebp - 0x264], ecx
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x254]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x260], ecx
mov byte [ebp - 0x254], 0x2f
mov dword [ebp - 0x258], 2
mov byte [ebp - 0x252], 0
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 0x28
or edi, 0x10
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xffffffff
call fcn.103ce0b0
add esp, 0xc
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0x2a
or edi, 0x20
mov dword [ebp - 0x540], edi
mov esi, dword [ebp - 0x2b0]
test esi, esi
jns 0x103669b5
mov eax, dword [ebp - 0x2a8]
test eax, eax
jns 0x1036699d
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x10366984
lea ecx, [eax - 1]
jmp 0x10366986
xor ecx, ecx
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x10366993
dec eax
jmp 0x10366995
xor eax, eax
add eax, ecx
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x103669aa
dec ecx
jmp 0x103669ac
xor ecx, ecx
lea esi, [ecx + eax]
mov dword [ebp - 0x2b0], esi
lea ebx, [esi + 1]
mov ecx, ebx
call fcn.103675e0
mov edi, eax
mov byte [esi + edi], 0
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x103669d2
dec ecx
jmp 0x103669d4
xor ecx, ecx
push ecx
push dword [ebp - 0x2a4]
push edi
call fcn.103ce0b0
mov esi, dword [ebp - 0x2a0]
add esp, 0xc
test esi, esi
je 0x103669f1
dec esi
jmp 0x103669f3
xor esi, esi
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x10366a00
dec eax
jmp 0x10366a02
xor eax, eax
push eax
push dword [ebp - 0x29c]
lea eax, [esi + edi]
push eax
call fcn.103ce0b0
mov eax, dword [ebp - 0x298]
add esp, 0xc
test eax, eax
je 0x10366a22
dec eax
jmp 0x10366a24
xor eax, eax
lea ecx, [eax + esi]
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x10366a34
dec eax
jmp 0x10366a36
xor eax, eax
push eax
push dword [ebp - 0x27c]
lea eax, [ecx + edi]
push eax
call fcn.103ce0b0
mov esi, dword [ebp - 0x548]
add esp, 0xc
mov ecx, dword [esi]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi], edi
call fcn.10367720
mov edi, dword [ebp - 0x540]
and edi, 0xffffffdf
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0x2b4]
call fcn.10367720
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x2ac]
call fcn.10367720
and edi, 0xffffffef
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x540], edi
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x26c]
call fcn.10367720
mov eax, dword [ebp - 0x53c]
shr eax, 4
and al, 1
mov dword [ebp - 0x26c], 0
mov byte [esi + 0xc], al
mov byte [ebp - 4], 3
lea eax, [ebp - 0x584]
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x584]
test ecx, ecx
je 0x10366b0c
call fcn.10367720
mov dword [ebp - 0x584], 0
mov ebx, dword [ebp - 0x554]
lea eax, [ebp - 0x53c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10366631
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x55c]
dec esi
mov dword [ebp - 0x55c], esi
mov ebx, dword [ebp - 0x560]
mov ecx, dword [ebx]
call fcn.10367720
lea eax, [esi + esi*2]
mov dword [ebx], 0
shl eax, 2
push eax
lea eax, [ebx + 0xc]
push eax
push ebx
call fcn.103ce790
add esp, 0xc
test esi, esi
jne 0x10366330
mov edi, esi
mov ebx, dword [ebp - 0x54c]
test ebx, ebx
jle 0x10366bad
mov esi, dword [ebp - 0x550]
nop dword [eax]
mov dword [ebp - 0x550], esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x550], esi
mov byte [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x10366ba5
call fcn.10367720
mov dword [esi], 0
add esi, 0xc
sub ebx, 1
jne 0x10366b80
mov eax, dword [ebp - 0x564]
mov ebx, dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x560]
test ecx, ecx
je 0x10366bf9
lea eax, [edi + edi*2]
mov esi, ecx
lea edi, [ecx + eax*4]
cmp esi, edi
jae 0x10366bea
mov ecx, dword [esi]
call fcn.10367720
mov dword [esi], 0
add esi, 0xc
cmp esi, edi
jb 0x10366bd0
mov ecx, dword [ebp - 0x560]
call fcn.10367720
mov dword [ebp - 0x560], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x23c]
push sym.appincu.dll_png_set_filter_heuristics
push 0x40
push 8
push eax
call fcn.103b687b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x570]
call fcn.10367720
mov dword [ebp - 0x570], 0
mov eax, ebx
lea esp, [ebp - 0x5f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.103b6385
mov esp, ebp
pop ebp
ret 0xc