Function at 0x1004cbe0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
push esi
push edi
lea ecx, [ebp - 0x78]
call fcn.1003a3c0
lea ecx, [ebp - 0xa8]
call fcn.1003a3c0
lea ecx, [ebp - 0x90]
call fcn.1003a3c0
lea ecx, [ebp - 0x480]
call fcn.1003a3c0
lea ecx, [ebp - 0x60]
call fcn.1003a4b0
mov eax, dword [0x10001b44]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x10001b38]
push edx
push 0x100690a8
mov eax, dword [ebp + 0x24]
push eax
push 0x100690d8
mov ecx, dword [0x10001b24]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0xc0]
push eax
call sym.desktop.d_enlargeableness
add esp, 0x24
mov ecx, eax
call fcn.1003c090
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc0]
call fcn.1003a6f0
push 0x10069138
push 0x10069180
call fcn.1003d980
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x1004cc8f
mov dword [ebp - 0xc], 1
jmp 0x1004cc96
mov dword [ebp - 0xc], 0
mov edx, dword [0x10001b30]
mov ecx, dword [ebp - 0x44]
shl edx, cl
cmp dword [ebp - 0xc], edx
je 0x1004cd02
lea ecx, [ebp - 0x78]
call fcn.1003d940
cmp eax, 0x8c
jae 0x1004cd02
push 0x100691c8
push 0x100690d8
push 0x10069168
lea eax, [ebp - 0xf0]
push eax
call fcn.1003c340
add esp, 0xc
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.1003d9a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
call fcn.1003e650
lea ecx, [ebp - 0xd8]
call fcn.1003a6f0
lea ecx, [ebp - 0xf0]
call fcn.1003a6f0
mov ecx, 0x100010c8
call fcn.1003d490
mov ecx, 0x10069198
call fcn.1003d940
cmp eax, 0x34
jae 0x1004cd6c
lea edx, [ebp - 0xa8]
push edx
push 0x100691b0
push 0x100691c8
lea eax, [ebp - 0x120]
push eax
call fcn.1003c340
add esp, 0xc
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.1003d9a0
add esp, 0xc
push eax
mov ecx, 0x10069198
call fcn.1003e650
lea ecx, [ebp - 0x108]
call fcn.1003a6f0
lea ecx, [ebp - 0x120]
call fcn.1003a6f0
push 0x17
push 0
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x78]
call fcn.10041c40
mov dword [ebp - 0x20], eax
push 2
push 0
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.10041c40
mov ecx, eax
call fcn.10040720
mov esi, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x1002a718
call fcn.1005a91a
add esp, 4
fstp qword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x54]
cvttsd2si ecx, xmm0
xor ecx, edi
xor ecx, esi
mov dword [ebp - 0x28], ecx
mov edx, dword [0x10001b40]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
mov dword [0x10001b40], eax
lea ecx, [ebp - 0x138]
call fcn.1003a6f0
lea ecx, [ebp - 0x150]
call fcn.1003a6f0
push 0x100010c8
mov ecx, 0x100010c8
call fcn.1003c2b0
push 0x100010d4
mov ecx, 0x100010d4
call fcn.1003e690
push 0x1002a738
lea ecx, [ebp - 0x180]
call fcn.1003a330
mov ecx, eax
call fcn.1003d470
mov dword [ebp - 0x2c], eax
push 0x1002a73c
lea ecx, [ebp - 0x168]
call fcn.1003a330
mov ecx, eax
call fcn.1003d470
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
push 0x9de
call fcn.100576a9
add esp, 4
mov edi, eax
mov ecx, 0x10069138
call fcn.1003d470
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor eax, edi
xor eax, esi
mov dword [ebp - 0x38], eax
mov eax, dword [0x10001b24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
mov dword [0x10001b24], ecx
lea ecx, [ebp - 0x168]
call fcn.1003a6f0
lea ecx, [ebp - 0x180]
call fcn.1003a6f0
lea ecx, [ebp - 0x90]
call fcn.1003d940
cmp eax, 0x63
jae 0x1004cf07
lea edx, [ebp - 0xa8]
push edx
push 0x10069120
push 0x100690c0
lea eax, [ebp - 0x1b0]
push eax
call fcn.1003c340
add esp, 0xc
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.1003d9a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x90]
call fcn.1003e650
lea ecx, [ebp - 0x198]
call fcn.1003a6f0
lea ecx, [ebp - 0x1b0]
call fcn.1003a6f0
lea edx, [ebp - 0x78]
push edx
push 0x100690d8
call fcn.1003d980
add esp, 8
movzx eax, al
test eax, eax
jne 0x1004cf28
mov dword [ebp - 0x14], 1
jmp 0x1004cf2f
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x14]
jg 0x1004cf44
mov dword [ebp - 0x18], 1
jmp 0x1004cf4b
mov dword [ebp - 0x18], 0
push 0x10069090
push 0x100690a8
call fcn.1003d980
add esp, 8
movzx edx, al
test edx, edx
jne 0x1004cf6d
mov dword [ebp - 0x1c], 1
jmp 0x1004cf74
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x1004cfca
push 0x100690f0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [0x10001b38]
push edx
push 0x10069138
mov eax, dword [0x10001b40]
push eax
mov ecx, dword [0x10001b28]
push ecx
mov edx, dword [0x10001b40]
push edx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
call sym.desktop.d_monotheist
add esp, 0x24
mov ecx, eax
call fcn.10040740
lea ecx, [ebp - 0x1c8]
call fcn.1003a6f0
mov edx, dword [0x10001b44]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x10001b38]
push ecx
push 0x100690a8
mov edx, dword [ebp + 0x24]
push edx
push 0x100690d8
mov eax, dword [0x10001b24]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call sym.desktop.d_enlargeableness
add esp, 0x24
mov dword [ebp - 0x3c], eax
push 0x4d
push 0
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.10041c40
mov ecx, eax
call fcn.10040740
lea ecx, [ebp - 0x1e0]
call fcn.1003a6f0
lea ecx, [ebp - 0x1f8]
call fcn.1003a6f0
mov dword [ebp - 4], 0
jmp 0x1004d048
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov ecx, 0x100010b0
call fcn.10041c10
cmp dword [ebp - 4], eax
jae 0x1004d189
push 0x1002a740
lea ecx, [ebp - 0x300]
call fcn.1003a330
push 0x1002a74c
lea ecx, [ebp - 0x2e8]
call fcn.1003a330
push 0x1002a76c
lea ecx, [ebp - 0x2d0]
call fcn.1003a330
push 0x1002a774
lea ecx, [ebp - 0x2b8]
call fcn.1003a330
push 0x1002a780
lea ecx, [ebp - 0x2a0]
call fcn.1003a330
push 0x1002a788
lea ecx, [ebp - 0x288]
call fcn.1003a330
push 0x1002a7a8
lea ecx, [ebp - 0x270]
call fcn.1003a330
push 0x1002a7c0
lea ecx, [ebp - 0x258]
call fcn.1003a330
push 0x1002a7d8
lea ecx, [ebp - 0x240]
call fcn.1003a330
push 0x1002a7e4
lea ecx, [ebp - 0x228]
call fcn.1003a330
push 0x1002a800
lea ecx, [ebp - 0x210]
call fcn.1003a330
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
jmp 0x1004d03f
mov dword [ebp - 8], 0
jmp 0x1004d19b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov ecx, 0x100010b0
call fcn.10041c10
cmp dword [ebp - 8], eax
jae 0x1004d348
push 0x1002a810
lea ecx, [ebp - 0x468]
call fcn.1003a330
push 0x1002a828
lea ecx, [ebp - 0x450]
call fcn.1003a330
push 0x1002a850
lea ecx, [ebp - 0x438]
call fcn.1003a330
push 0x1002a874
lea ecx, [ebp - 0x420]
call fcn.1003a330
push 0x1002a890
lea ecx, [ebp - 0x408]
call fcn.1003a330
push 0x1002a8ac
lea ecx, [ebp - 0x3f0]
call fcn.1003a330
push 0x1002a8b0
lea ecx, [ebp - 0x3d8]
call fcn.1003a330
push 0x1002a8cc
lea ecx, [ebp - 0x3c0]
call fcn.1003a330
push 0x1002a8e8
lea ecx, [ebp - 0x3a8]
call fcn.1003a330
push 0x1002a904
lea ecx, [ebp - 0x390]
call fcn.1003a330
push 0x1002a914
lea ecx, [ebp - 0x378]
call fcn.1003a330
push 0x1002a938
lea ecx, [ebp - 0x360]
call fcn.1003a330
push 0x1002a940
lea ecx, [ebp - 0x348]
call fcn.1003a330
push 0x1002a960
lea ecx, [ebp - 0x330]
call fcn.1003a330
push 0x1002a96c
lea ecx, [ebp - 0x318]
call fcn.1003a330
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
jmp 0x1004d192
lea ecx, [ebp - 0x60]
call fcn.1003d490
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x60]
call fcn.1003a750
lea ecx, [ebp - 0x480]
call fcn.1003a6f0
lea ecx, [ebp - 0x90]
call fcn.1003a6f0
lea ecx, [ebp - 0xa8]
call fcn.1003a6f0
lea ecx, [ebp - 0x78]
call fcn.1003a6f0
mov eax, dword [ebp - 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret