Function at 0x10050c20
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
push ebx
push esi
push edi
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
lea ecx, [ebp - 0xa8]
call fcn.1003a3c0
lea ecx, [ebp - 0x64]
call fcn.1003a3c0
lea ecx, [ebp - 0x558]
call fcn.1003a3c0
lea ecx, [ebp - 0x90]
call fcn.1003a4b0
lea ecx, [ebp - 0x78]
call fcn.1003a4b0
lea ecx, [ebp - 0x4c]
call fcn.1003a4b0
lea ecx, [ebp - 0x84]
call fcn.1003a4b0
lea ecx, [ebp - 0x64]
call fcn.1003d470
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x10050c8f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0x2d
push 0
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, 0x100691c8
call fcn.10041c40
mov ecx, eax
call fcn.1003d470
push eax
call fcn.1005af8b
add esp, 4
mov esi, eax
add esi, dword [ebp - 0x18]
movsd xmm0, qword [0x10030f98]
call fcn.1005b410
cvttsd2si edx, xmm0
sub esi, edx
mov dword [ebp - 0x20], esi
mov eax, dword [0x10001b18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov dword [0x10001b18], ecx
lea ecx, [ebp - 0xd8]
call fcn.1003a6f0
call fcn.10057709
sub eax, dword [0x10001b18]
mov dword [0x10001b3c], eax
push 0x14
push 0
lea edx, [ebp - 0xf0]
push edx
mov ecx, 0x100690c0
call fcn.10041c40
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [ebp - 0x24]
call fcn.10040830
lea ecx, [ebp - 0xf0]
call fcn.1003a6f0
push 0x100010b0
mov ecx, 0x100010bc
call fcn.1003e690
push 0
mov ecx, 0x10069108
call fcn.10040830
lea ecx, [ebp - 0xa8]
call fcn.1003d940
cmp eax, 0x5e
jae 0x10050de1
push 0x100690a8
push 0x10069138
push 0x10069168
push 0x10069090
lea eax, [ebp - 0x138]
push eax
call fcn.1003c340
add esp, 0xc
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.1003d9a0
add esp, 0xc
push eax
lea edx, [ebp - 0x108]
push edx
call fcn.1003d9a0
add esp, 0xc
push eax
lea ecx, [ebp - 0xa8]
call fcn.1003e650
lea ecx, [ebp - 0x108]
call fcn.1003a6f0
lea ecx, [ebp - 0x120]
call fcn.1003a6f0
lea ecx, [ebp - 0x138]
call fcn.1003a6f0
mov ecx, 0x10069108
call fcn.1003d940
cmp eax, 0x98
jae 0x10050e23
lea eax, [ebp - 0xc0]
push eax
push 0x10069198
lea ecx, [ebp - 0x150]
push ecx
call fcn.1003c340
add esp, 0xc
push eax
mov ecx, 0x10069108
call fcn.1003e650
lea ecx, [ebp - 0x150]
call fcn.1003a6f0
mov ecx, 0x10069090
call fcn.1003d940
cmp eax, 0x1d
jae 0x10050e60
lea edx, [ebp - 0x64]
push edx
push 0x100690a8
lea eax, [ebp - 0x168]
push eax
call fcn.1003c340
add esp, 0xc
push eax
mov ecx, 0x10069090
call fcn.1003e650
lea ecx, [ebp - 0x168]
call fcn.1003a6f0
push 0x1002f868
lea ecx, [ebp - 0x180]
call fcn.1003a330
mov dword [ebp - 0x28], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
push 0x1002f870
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, eax
push 0x1002f86c
mov ecx, dword [ebp - 0x28]
call fcn.100407b0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add eax, ebx
sub eax, edi
add eax, esi
mov dword [ebp - 0x30], eax
mov ecx, dword [0x10001b2c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x30]
mov dword [0x10001b2c], edx
lea ecx, [ebp - 0x180]
call fcn.1003a6f0
push 0x10069090
push 0x100690c0
call fcn.1003d980
add esp, 8
movzx eax, al
test eax, eax
jne 0x10050eea
mov dword [ebp - 0x10], 1
jmp 0x10050ef1
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x10], ecx
je 0x10050f56
lea ecx, [ebp - 0x64]
call fcn.1003d940
cmp eax, 0x77
jae 0x10050f56
push 0x10069090
push 0x100690a8
push 0x10069138
lea edx, [ebp - 0x1b0]
push edx
call fcn.1003c340
add esp, 0xc
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.1003d9a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
call fcn.1003e650
lea ecx, [ebp - 0x198]
call fcn.1003a6f0
lea ecx, [ebp - 0x1b0]
call fcn.1003a6f0
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.1003e690
call fcn.10057709
sub eax, dword [0x10001b18]
mov dword [0x10001b3c], eax
mov dword [ebp - 0xc], 0
jmp 0x10050f84
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov ecx, 0x100010d4
call fcn.10041c10
cmp dword [ebp - 0xc], eax
jae 0x1005134d
push 0x1002f880
lea ecx, [ebp - 0x4f8]
call fcn.1003a330
push 0x1002f898
lea ecx, [ebp - 0x4e0]
call fcn.1003a330
push 0x1002f8b4
lea ecx, [ebp - 0x4c8]
call fcn.1003a330
push 0x1002f8c0
lea ecx, [ebp - 0x4b0]
call fcn.1003a330
push 0x1002f8cc
lea ecx, [ebp - 0x498]
call fcn.1003a330
push 0x1002f8d8
lea ecx, [ebp - 0x480]
call fcn.1003a330
push 0x1002f8ec
lea ecx, [ebp - 0x468]
call fcn.1003a330
push 0x1002f900
lea ecx, [ebp - 0x450]
call fcn.1003a330
push 0x1002f914
lea ecx, [ebp - 0x438]
call fcn.1003a330
push 0x1002f938
lea ecx, [ebp - 0x420]
call fcn.1003a330
push 0x1002f958
lea ecx, [ebp - 0x408]
call fcn.1003a330
push 0x1002f978
lea ecx, [ebp - 0x3f0]
call fcn.1003a330
push 0x1002f99c
lea ecx, [ebp - 0x3d8]
call fcn.1003a330
push 0x1002f9b4
lea ecx, [ebp - 0x3c0]
call fcn.1003a330
push 0x1002f9dc
lea ecx, [ebp - 0x3a8]
call fcn.1003a330
push 0x1002f9fc
lea ecx, [ebp - 0x390]
call fcn.1003a330
push 0x1002fa1c
lea ecx, [ebp - 0x378]
call fcn.1003a330
push 0x1002fa28
lea ecx, [ebp - 0x360]
call fcn.1003a330
push 0x1002fa3c
lea ecx, [ebp - 0x348]
call fcn.1003a330
push 0x1002fa4c
lea ecx, [ebp - 0x330]
call fcn.1003a330
push 0x1002fa5c
lea ecx, [ebp - 0x318]
call fcn.1003a330
push 0x1002fa78
lea ecx, [ebp - 0x300]
call fcn.1003a330
push 0x1002fa8c
lea ecx, [ebp - 0x2e8]
call fcn.1003a330
push 0x1002fa94
lea ecx, [ebp - 0x2d0]
call fcn.1003a330
push 0x1002faac
lea ecx, [ebp - 0x2b8]
call fcn.1003a330
push 0x1002fab4
lea ecx, [ebp - 0x2a0]
call fcn.1003a330
push 0x1002fabc
lea ecx, [ebp - 0x288]
call fcn.1003a330
push 0x1002fac8
lea ecx, [ebp - 0x270]
call fcn.1003a330
push 0x1002faec
lea ecx, [ebp - 0x258]
call fcn.1003a330
push 0x1002fb04
lea ecx, [ebp - 0x240]
call fcn.1003a330
push 0x1002fb0c
lea ecx, [ebp - 0x228]
call fcn.1003a330
push 0x1002fb18
lea ecx, [ebp - 0x210]
call fcn.1003a330
push 0x1002fb2c
lea ecx, [ebp - 0x1f8]
call fcn.1003a330
push 0x1002fb50
lea ecx, [ebp - 0x1e0]
call fcn.1003a330
push 0x1002fb54
lea ecx, [ebp - 0x1c8]
call fcn.1003a330
lea ecx, [ebp - 0x1c8]
call fcn.1003a6f0
lea ecx, [ebp - 0x1e0]
call fcn.1003a6f0
lea ecx, [ebp - 0x1f8]
call fcn.1003a6f0
lea ecx, [ebp - 0x210]
call fcn.1003a6f0
lea ecx, [ebp - 0x228]
call fcn.1003a6f0
lea ecx, [ebp - 0x240]
call fcn.1003a6f0
lea ecx, [ebp - 0x258]
call fcn.1003a6f0
lea ecx, [ebp - 0x270]
call fcn.1003a6f0
lea ecx, [ebp - 0x288]
call fcn.1003a6f0
lea ecx, [ebp - 0x2a0]
call fcn.1003a6f0
lea ecx, [ebp - 0x2b8]
call fcn.1003a6f0
lea ecx, [ebp - 0x2d0]
call fcn.1003a6f0
lea ecx, [ebp - 0x2e8]
call fcn.1003a6f0
lea ecx, [ebp - 0x300]
call fcn.1003a6f0
lea ecx, [ebp - 0x318]
call fcn.1003a6f0
lea ecx, [ebp - 0x330]
call fcn.1003a6f0
lea ecx, [ebp - 0x348]
call fcn.1003a6f0
lea ecx, [ebp - 0x360]
call fcn.1003a6f0
lea ecx, [ebp - 0x378]
call fcn.1003a6f0
lea ecx, [ebp - 0x390]
call fcn.1003a6f0
lea ecx, [ebp - 0x3a8]
call fcn.1003a6f0
lea ecx, [ebp - 0x3c0]
call fcn.1003a6f0
lea ecx, [ebp - 0x3d8]
call fcn.1003a6f0
lea ecx, [ebp - 0x3f0]
call fcn.1003a6f0
lea ecx, [ebp - 0x408]
call fcn.1003a6f0
lea ecx, [ebp - 0x420]
call fcn.1003a6f0
lea ecx, [ebp - 0x438]
call fcn.1003a6f0
lea ecx, [ebp - 0x450]
call fcn.1003a6f0
lea ecx, [ebp - 0x468]
call fcn.1003a6f0
lea ecx, [ebp - 0x480]
call fcn.1003a6f0
lea ecx, [ebp - 0x498]
call fcn.1003a6f0
lea ecx, [ebp - 0x4b0]
call fcn.1003a6f0
lea ecx, [ebp - 0x4c8]
call fcn.1003a6f0
lea ecx, [ebp - 0x4e0]
call fcn.1003a6f0
lea ecx, [ebp - 0x4f8]
call fcn.1003a6f0
jmp 0x10050f7b
lea ecx, [ebp - 0x4c]
call fcn.1003d490
mov eax, dword [0x10001b24]
xor eax, dword [0x10001b1c]
mov edx, dword [0x10001b1c]
mov ecx, dword [0x10001b30]
shl edx, cl
cmp eax, edx
je 0x10051409
push 0x1002fb78
lea ecx, [ebp - 0x540]
call fcn.1003a330
mov dword [ebp - 0x34], eax
push 0x46
push 0
lea eax, [ebp - 0x528]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.10041c40
mov dword [ebp - 0x38], eax
push 0
push 0x1002fb84
mov ecx, dword [ebp - 0x38]
call fcn.10040900
mov esi, eax
push 0x1002fb88
lea ecx, [ebp - 0x510]
call fcn.1003a330
mov ecx, eax
call fcn.1003d470
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esi, eax
mov dword [ebp - 0x40], esi
mov ecx, dword [0x10001b28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x40]
mov dword [0x10001b28], edx
lea ecx, [ebp - 0x510]
call fcn.1003a6f0
lea ecx, [ebp - 0x528]
call fcn.1003a6f0
lea ecx, [ebp - 0x540]
call fcn.1003a6f0
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
call fcn.1003a220
lea ecx, [ebp - 0x84]
call fcn.1003a750
lea ecx, [ebp - 0x4c]
call fcn.1003a750
lea ecx, [ebp - 0x78]
call fcn.1003a750
lea ecx, [ebp - 0x90]
call fcn.1003a750
lea ecx, [ebp - 0x558]
call fcn.1003a6f0
lea ecx, [ebp - 0x64]
call fcn.1003a6f0
lea ecx, [ebp - 0xa8]
call fcn.1003a6f0
lea ecx, [ebp - 0xc0]
call fcn.1003a6f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret