Function at 0x40c0d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x532416
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
mov ebp, dword [esp + 0x188]
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x60]
test ecx, ecx
push esi
push edi
jne 0x40c120
mov eax, 0x193
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x17c
ret 4
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x188], 0
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x188], 1
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x188], 2
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [ebp + 0x11b5]
push eax
lea ecx, [esp + 0x20]
push 0x58d23c
push ecx
mov byte [esp + 0x194], 3
call fcn.00406c70
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 4
call fcn.004038f0
mov byte [esp + 0x188], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c1e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x32a8]
test eax, eax
mov eax, dword [ebp + 0x3200]
je 0x40c210
test eax, eax
lea ecx, [esp + 0x10]
je 0x40c204
push 0x55e4e8
call fcn.004040b0
jmp 0x40c263
push str..
call fcn.004040b0
jmp 0x40c263
test eax, eax
je 0x40c263
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00448cc0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 5
call fcn.004038f0
mov byte [esp + 0x188], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x40c319
lea eax, [esi - 0x10]
mov byte [esp + 0x188], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c2a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x188], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c2c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x188], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c2e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x188], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c30f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x194
jmp 0x40c105
push 0x28
call fcn.0051fe69
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov byte [esp + 0x188], 6
je 0x40c349
push 0x400
mov ecx, esi
call fcn.00527061
mov dword [esi], method.CMemFile.virtual_0
jmp 0x40c34b
xor esi, esi
push str.private
mov byte [esp + 0x18c], 3
push ebp
mov eax, str.Cache_control
mov dword [ebp + 0x3390], esi
call fcn.004077e0
push str.text_xml
push ebp
mov eax, 0x55ea70
call fcn.004077e0
mov eax, dword [ebp + 0x32a4]
test eax, eax
je 0x40c3a8
mov ecx, dword [ebp + 0x32d4]
test ecx, ecx
push 0x7b
push str.__xml_version_1.0____a:multistatus_xmlns:b_urn:uuid:c2f41010_65b3_11d1_a29f_00aa00c14882___xmlns:c_xml:__xmlns:a_DAV:__
je 0x40c39b
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x40c3d1
mov ecx, dword [ebp + 0x3390]
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp 0x40c3d1
mov eax, dword [ebp + 0x32a0]
test eax, eax
jne 0x40c3bf
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x40c3bf
push ebp
call fcn.0040d470
mov ebx, dword [ebp + 0x6c]
mov eax, 0x7b
mov ecx, str.__xml_version_1.0____a:multistatus_xmlns:b_urn:uuid:c2f41010_65b3_11d1_a29f_00aa00c14882___xmlns:c_xml:__xmlns:a_DAV:__
call fcn.00422e00
mov eax, dword [ebp + 0x1a0]
cmp eax, 0x50
je 0x40c3ee
push eax
push 0x55e2d8
lea edi, [esp + 0x20]
call fcn.0040e6a0
add esp, 8
mov eax, dword [ebp + 0x11ac]
push eax
lea esi, [esp + 0x1c]
call fcn.0040e620
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0xfde9
call ebx
mov esi, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x40c445
push edi
lea ecx, [esp + 0x18]
call fcn.00403280
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push 0
push 0
push edi
push esi
push eax
push ecx
push 0
push 0xfde9
call ebx
cmp edi, 0xffffffff
jne 0x40c479
test esi, esi
jne 0x40c46a
xor edi, edi
jmp 0x40c481
mov edi, esi
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x40c470
sub edi, ecx
test edi, edi
jl 0x40caf5
cmp edi, dword [esi - 8]
jg 0x40caf5
mov dword [esi - 0xc], edi
push 1
push ecx
mov byte [edi + esi], 0
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push esi
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x44]
add esp, 4
push eax
call fcn.004081a0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 7
call fcn.004038f0
mov byte [esp + 0x188], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c4f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.http:__
lea ecx, [esp + 0x38]
call fcn.00403380
lea ecx, [ebp + 0x94]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x194], 8
call fcn.00406c70
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x4c]
mov bl, 9
push edx
mov byte [esp + 0x1a0], bl
call fcn.00404150
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 0xa
call fcn.004038f0
mov byte [esp + 0x188], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c56b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x188], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x188], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x3200]
test eax, eax
jne 0x40c5d1
push 1
push 0x55e424
lea ecx, [esp + 0x1c]
call fcn.00404200
mov eax, dword [esp + 0x14]
push eax
push ebp
mov eax, str.Content_Location
call fcn.004077e0
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5e8
sub eax, edx
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x28]
call fcn.00403060
mov esi, dword [esp + 0x20]
push 0x55e3f0
push esi
call fcn.004bb34d
add esp, 8
test eax, eax
je 0x40c9ad
test byte [esp + 0x40], 2
jne 0x40c9ad
mov eax, dword [ebp + 0x32a4]
test eax, eax
je 0x40c654
mov ecx, dword [ebp + 0x32d4]
test ecx, ecx
push 0x14
push str._a:response__a:href_
je 0x40c647
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp 0x40c67d
mov ecx, dword [ebp + 0x3390]
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x40c67d
mov eax, dword [ebp + 0x32a0]
test eax, eax
jne 0x40c66b
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x40c66b
push ebp
call fcn.0040d470
mov ebx, dword [ebp + 0x6c]
mov eax, 0x14
mov ecx, str._a:response__a:href_
call fcn.00422e00
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 0xc]
mov ecx, ebp
call fcn.004074e0
push 0x55e3f4
push esi
call fcn.004bb34d
add esp, 8
test eax, eax
je 0x40c7b0
mov ebx, esi
lea edi, [esp + 0x18]
call fcn.0040e590
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov edi, eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x40c6ed
push edi
lea ecx, [esp + 0x24]
call fcn.00403280
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push 0
push 0
push edi
push esi
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
cmp edi, 0xffffffff
jne 0x40c729
test esi, esi
jne 0x40c716
xor edi, edi
jmp 0x40c731
mov edi, esi
lea ecx, [edi + 1]
jmp 0x40c720
mov al, byte [edi]
inc edi
test al, al
jne 0x40c720
sub edi, ecx
test edi, edi
jl 0x40caf5
cmp edi, dword [esi - 8]
jg 0x40caf5
push 1
push ecx
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x44], esp
mov edi, esp
push eax
call fcn.00401400
lea ecx, [esp + 0x40]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004081a0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 0xb
call fcn.004038f0
mov byte [esp + 0x188], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c7a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x20]
mov edi, dword [esi - 0xc]
mov eax, esi
mov ecx, ebp
call fcn.004074e0
mov eax, dword [ebp + 0x32a4]
test eax, eax
je 0x40c7df
mov ecx, dword [ebp + 0x32d4]
test ecx, ecx
push 0x41
push str.__a:href__a:propstat__a:status_HTTP_1.1_200_OK__a:status__a:prop_
je 0x40c7d2
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x40c808
mov ecx, dword [ebp + 0x3390]
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp 0x40c808
mov eax, dword [ebp + 0x32a0]
test eax, eax
jne 0x40c7f6
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x40c7f6
push ebp
call fcn.0040d470
mov ebx, dword [ebp + 0x6c]
mov eax, 0x41
mov ecx, str.__a:href__a:propstat__a:status_HTTP_1.1_200_OK__a:status__a:prop_
call fcn.00422e00
mov ebx, dword [sym.imp.KERNEL32.DLL_FileTimeToSystemTime]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
push ecx
call ebx
movzx edx, word [esp + 0x32]
movzx eax, word [esp + 0x30]
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push str._a:getlastmodified_b:dt_dateTime.tz___04d__02d__02dT_02d:_02d:_02d._03dZ__a:getlastmodified_
push eax
call fcn.0044c220
mov eax, dword [esp + 0x34]
mov edi, dword [eax - 0xc]
add esp, 0x24
mov ecx, ebp
call fcn.004074e0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
movzx eax, word [esp + 0x32]
movzx ecx, word [esp + 0x30]
movzx edx, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._a:creationdate_b:dt_dateTime.tz___04d__02d__02dT_02d:_02d:_02d._03dZ__a:creationdate_
push ecx
call fcn.0044c220
mov eax, dword [esp + 0x34]
mov edi, dword [eax - 0xc]
add esp, 0x24
mov ecx, ebp
call fcn.004074e0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
call ebx
movzx ecx, word [esp + 0x32]
movzx edx, word [esp + 0x30]
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x30]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x34]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str._a:lastaccessed_b:dt_dateTime.tz___04d__02d__02dT_02d:_02d:_02d._03dZ__a:lastaccessed_
push edx
call fcn.0044c220
add esp, 0x24
mov eax, dword [esp + 0x10]
mov edi, dword [eax - 0xc]
mov ecx, ebp
call fcn.004074e0
test byte [esp + 0x40], 0x10
je 0x40c971
mov eax, dword [ebp + 0x32a4]
test eax, eax
je 0x40c946
mov ecx, dword [ebp + 0x32d4]
test ecx, ecx
push 0x54
push str._a:iscollection_b:dt_boolean__1__a:iscollection___a:prop___a:propstat___a:response_
je 0x40c939
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x40c9ad
mov ecx, dword [ebp + 0x3390]
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp 0x40c9ad
mov eax, dword [ebp + 0x32a0]
test eax, eax
jne 0x40c95d
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x40c95d
push ebp
call fcn.0040d470
mov ebx, dword [ebp + 0x6c]
mov eax, 0x54
mov ecx, str._a:iscollection_b:dt_boolean__1__a:iscollection___a:prop___a:propstat___a:response_
call fcn.00422e00
jmp 0x40c9ad
mov eax, dword [esp + 0x5c]
push 1
push 0
push 0
push eax
call fcn.004bd660
mov ecx, dword [esp + 0x60]
xor edi, edi
add eax, ecx
adc edx, edi
push edx
push eax
lea edx, [esp + 0x18]
push str._a:getcontentlength_b:dt_int___I64d__a:getcontentlength___a:prop___a:propstat___a:response_
push edx
call fcn.0044c220
mov eax, dword [esp + 0x20]
mov edi, dword [eax - 0xc]
add esp, 0x10
mov ecx, ebp
call fcn.004074e0
mov eax, dword [ebp + 0x32a8]
test eax, eax
je 0x40c9cf
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40c5e1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp + 0x32a4]
test eax, eax
je 0x40ca09
mov ecx, dword [ebp + 0x32d4]
test ecx, ecx
push 0x10
push str.__a:multistatus_
je 0x40c9fc
mov eax, dword [ecx]
call dword [eax + 0x38]
jmp 0x40ca32
mov ecx, dword [ebp + 0x3390]
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp 0x40ca32
mov eax, dword [ebp + 0x32a0]
test eax, eax
jne 0x40ca20
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x40ca20
push ebp
call fcn.0040d470
mov ebx, dword [ebp + 0x6c]
mov eax, 0x10
mov ecx, str.__a:multistatus_
call fcn.00422e00
mov ecx, dword [ebp + 0x3390]
mov eax, dword [ecx]
push 0
push 0
push 0
call dword [eax + 0x28]
mov ecx, dword [ebp + 0x3390]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov dword [ebp + 0x338c], eax
mov byte [esp + 0x188], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x188], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40caa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x188], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cac2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x188], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40caeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0xcf
jmp 0x40c105
push 0x80070057
call fcn.00401780
int3