Function at 0x5026c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664fb1
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x71ccd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x2b5], 0
lea ecx, [ebp + 8]
call fcn.0044d5d0
push eax
push 0x68a658
lea eax, [ebp - 0x114]
push eax
call fcn.0044dd10
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0xffffffff
jne 0x50275f
mov al, byte [ebp - 0x2b5]
mov byte [ebp - 0x2bd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044bc10
mov al, byte [ebp - 0x2bd]
jmp 0x502dc9
movzx ecx, byte [ebp - 0x2b5]
test ecx, ecx
je 0x50276f
jmp 0x502d9b
lea edx, [ebp - 0x288]
mov dword [ebp - 0x2cc], edx
push 0x68a660
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.006101d0
add esp, 8
test eax, eax
je 0x5027ab
push 0x68a664
mov ecx, dword [ebp - 0x2cc]
push ecx
call fcn.006101d0
add esp, 8
test eax, eax
jne 0x5027b0
jmp 0x502d7f
mov edx, dword [ebp - 0x2b4]
and edx, 0x10
je 0x5027c0
jmp 0x502d7f
xor eax, eax
je 0x5027d8
mov ecx, dword [ebp - 0x2cc]
push ecx
push str.starting__s
call fcn.005190c0
add esp, 8
mov edx, dword [ebp - 0x2cc]
push edx
lea ecx, [ebp - 0x12c]
call fcn.0044b280
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2cc]
push eax
push 0x68a674
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.004b31b0
add esp, 0xc
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.004535b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x174]
call fcn.0044bc10
xor eax, eax
je 0x502865
lea ecx, [ebp - 0x144]
call fcn.0044d5d0
push eax
push str.path__s
call fcn.005190c0
add esp, 8
push fcn.006197f2
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.005017a0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x12c]
call fcn.005017e0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x12c]
call fcn.005017a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.005015d0
add esp, 0x14
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.005044c0
add esp, 8
mov byte [ebp - 4], 5
xor ecx, ecx
je 0x5028ef
lea ecx, [ebp - 0x15c]
call fcn.0044d5d0
push eax
push str.ext__s
call fcn.005190c0
add esp, 8
mov byte [ebp - 0x2b8], 0
mov byte [ebp - 0x2b6], 0
push 0x7937d0
call fcn.00449d30
add esp, 4
mov dword [ebp - 0x2c8], eax
push 0x7937d0
call fcn.00503ef0
add esp, 4
mov dword [ebp - 0x2e4], eax
jmp 0x502934
mov edx, dword [ebp - 0x2c8]
add edx, 0x1c
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x2c8]
cmp eax, dword [ebp - 0x2e4]
jae 0x5029aa
xor ecx, ecx
je 0x50296b
lea ecx, [ebp - 0x15c]
call fcn.0044d5d0
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0044d5d0
push eax
push str.is__s____s
call fcn.005190c0
add esp, 0xc
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.0044d920
push eax
push 0
lea ecx, [ebp - 0x15c]
call fcn.005047b0
test eax, eax
jne 0x5029a5
mov byte [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x2c8]
mov cl, byte [eax + 0x18]
mov byte [ebp - 0x2b6], cl
jmp 0x502925
movzx edx, byte [ebp - 0x2b8]
test edx, edx
je 0x502d52
xor eax, eax
je 0x5029e2
lea ecx, [ebp - 0x15c]
call fcn.0044d5d0
push eax
lea ecx, [ebp - 0x12c]
call fcn.0044d5d0
push eax
push str.verify__s_____s
call fcn.005190c0
add esp, 0xc
mov byte [ebp - 0x2b7], 0
push 0x793860
call fcn.00449d30
add esp, 4
mov dword [ebp - 0x2bc], eax
push 0x793860
call fcn.00503f00
add esp, 4
mov dword [ebp - 0x2e8], eax
jmp 0x502a20
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x20
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2bc]
cmp edx, dword [ebp - 0x2e8]
jae 0x502c66
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x2bc]
call fcn.0045f570
test eax, eax
jne 0x502c61
xor ecx, ecx
je 0x502a75
lea ecx, [ebp - 0x12c]
call fcn.0044d5d0
push eax
mov ecx, dword [ebp - 0x2bc]
call fcn.0044d5d0
push eax
push str.found__s_s
call fcn.005190c0
add esp, 0xc
lea ecx, [ebp - 0x144]
call fcn.0044d5d0
push eax
call fcn.0051f6a0
add esp, 4
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x2d0], edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x2d0]
je 0x502b5a
xor edx, edx
je 0x502ad2
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ecx + 0x18]
push edx
push str.wrong_size__u_u
call fcn.005190c0
add esp, 0xc
mov byte [ebp - 0x2b5], 1
mov eax, 1
test eax, eax
je 0x502b02
lea ecx, [ebp - 0x144]
call fcn.0044d5d0
push eax
mov ecx, dword [ebp - 0x2d0]
push ecx
push str.wrong_size__u_for__s
call fcn.005190c0
add esp, 0xc
mov dl, byte [ebp - 0x2b5]
mov byte [ebp - 0x2be], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.0044bc10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.0044bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0044bc10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044bc10
mov al, byte [ebp - 0x2be]
jmp 0x502dc9
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp - 0x2d4]
je 0x502c14
xor edx, edx
je 0x502b91
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ecx + 0x1c]
push edx
push str.wrong_crc32__u_u
call fcn.005190c0
add esp, 0xc
mov byte [ebp - 0x2b5], 1
mov eax, 1
test eax, eax
je 0x502bc1
lea ecx, [ebp - 0x144]
call fcn.0044d5d0
push eax
mov ecx, dword [ebp - 0x2d4]
push ecx
push str.wrong_crc32__u_for__s
call fcn.005190c0
add esp, 0xc
mov dl, byte [ebp - 0x2b5]
mov byte [ebp - 0x2bf], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.0044bc10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.0044bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0044bc10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044bc10
mov al, byte [ebp - 0x2bf]
jmp 0x502dc9
xor eax, eax
je 0x502c36
mov ecx, dword [ebp - 0x2d0]
push ecx
mov edx, dword [ebp - 0x2bc]
mov eax, dword [edx + 0x18]
push eax
push str.right_size__u_u
call fcn.005190c0
add esp, 0xc
xor ecx, ecx
je 0x502c58
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + 0x1c]
push ecx
push str.right_crc32__u_u
call fcn.005190c0
add esp, 0xc
mov byte [ebp - 0x2b7], 1
jmp 0x502c66
jmp 0x502a11
movzx edx, byte [ebp - 0x2b7]
test edx, edx
jne 0x502d1d
movzx eax, byte [ebp - 0x2b6]
test eax, eax
je 0x502d1d
xor ecx, ecx
je 0x502ca1
lea ecx, [ebp - 0x12c]
call fcn.0044d5d0
push eax
push str.not_found__s
call fcn.005190c0
add esp, 8
mov byte [ebp - 0x2b5], 1
mov edx, 1
test edx, edx
je 0x502cca
lea ecx, [ebp - 0x144]
call fcn.0044d5d0
push eax
push str.ambiguous_file_for__s
call fcn.005190c0
add esp, 8
mov al, byte [ebp - 0x2b5]
mov byte [ebp - 0x2c0], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.0044bc10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.0044bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0044bc10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044bc10
mov al, byte [ebp - 0x2c0]
jmp 0x502dc9
xor ecx, ecx
je 0x502d52
movzx edx, byte [ebp - 0x2b6]
push edx
movzx eax, byte [ebp - 0x2b7]
push eax
movzx ecx, byte [ebp - 0x2b5]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044d5d0
push eax
push str.skipping_file__s__hack__u__found__u__uni__u_
call fcn.005190c0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.0044bc10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.0044bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0044bc10
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x50275f
mov ecx, dword [ebp - 0x2d8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [ebp - 0x2b5]
mov byte [ebp - 0x2c1], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044bc10
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c81cf
mov esp, ebp
pop ebp
ret