Function at 0x413c30
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52c42e
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf0]
mov ebp, dword [esp + 0xf4]
xor esi, esi
cmp dword [eax + 0x98], esi
mov dword [esp + 0x18], eax
jne 0x413eb7
push ebp
call fcn.00406720
add esp, 4
test al, al
je 0x413eb7
mov ebx, 7
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], esi
mov word [esp + 0xc4], si
cmp byte [esp + 0xf8], 0
mov dword [esp + 0xe8], esi
je 0x413ebe
push ebp
call fcn.004069c0
add esp, 4
test al, al
je 0x413eab
mov dword [esp + 0x14], 0xffffffff
push 0x2000000
push 3
push 3
push SysReAllocStringLen
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0xfc], 1
call fcn.0043b980
test al, al
je 0x413ea2
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x413d2c
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp dword [ebp + 0x18], 8
jb 0x413d37
mov eax, dword [ebp + 4]
jmp 0x413d3a
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0xa0
mov ebx, eax
call fcn.004aaa2e
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov byte [esp + 0xe8], 2
je 0x413d6d
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.0040fb30
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0xe8], 1
call fcn.004164c0
push ebp
mov edx, 0x547fdc
mov byte [esp + 0xec], 3
call fcn.00408130
cmp eax, 0xffffffff
push 0xffffffffffffffff
je 0x413e86
add eax, 1
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.00405a40
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 4
call fcn.00403310
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00401e70
push edi
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.00408d00
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0xf4], 5
call fcn.00403310
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 3
call fcn.00401e70
mov edi, dword [esp + 0x18]
mov dword [esi + 0x60], ebx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x48], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x50], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x54], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x58], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x20]
mov dword [esi + 0x5c], ecx
call fcn.00414880
mov edx, dword [esp + 0xfc]
push edx
push 0
push ebp
push esi
call fcn.00413c30
mov bl, al
add esp, 0x10
lea eax, [esp + 0x20]
mov byte [esp + 0xe8], 1
call fcn.004101d0
lea ecx, [esp + 0x14]
call fcn.0043b960
lea ecx, [esp + 0xc0]
call fcn.00401e70
mov al, bl
jmp 0x414288
push 0
push ebp
lea ecx, [esi + 0x10]
call fcn.00403310
lea eax, [esp + 0x20]
mov byte [esp + 0xe8], 1
call fcn.004101d0
lea ecx, [esp + 0x14]
call fcn.0043b960
lea ecx, [esp + 0xc0]
call fcn.00401e70
xor al, al
jmp 0x414288
push 4
call fcn.004aaa2e
add esp, 4
cmp eax, esi
je 0x413eda
mov edi, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x1c], edi
jmp 0x413ee0
mov dword [esp + 0x1c], esi
mov edi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], esi
mov word [esp + 0xa4], si
push 0x547fd4
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 7
call fcn.00401e30
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push ebp
push ecx
mov byte [esp + 0xf4], 8
call fcn.00408d00
add esp, 0xc
lea edx, [esp + 0x78]
mov ecx, eax
mov byte [esp + 0xe8], 9
call fcn.00406330
test al, al
mov edi, 8
sete bl
cmp dword [esp + 0x74], edi
jb 0x413f71
mov edx, dword [esp + 0x60]
push edx
call fcn.004aaa59
add esp, 4
mov byte [esp + 0xe8], 7
cmp dword [esp + 0x50], edi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
jb 0x413f9d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004aaa59
add esp, 4
test bl, bl
jne 0x4142ca
lea ecx, [esp + 0x78]
call fcn.004089e0
test al, al
jne 0x414249
mov eax, dword [esp + 0x98]
and eax, 0x10
xor ecx, ecx
or eax, ecx
push 0xa0
je 0x414127
call fcn.004aaa2e
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov byte [esp + 0xe8], 0xa
je 0x413ff4
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.0040fb30
mov esi, eax
mov byte [esp + 0xe8], 7
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.004168e0
push esi
push esi
call fcn.0040fab0
add esp, 8
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea edx, [esp + 0xa8]
lea edi, [esi + 0x10]
push edx
mov ecx, edi
mov byte [esp + 0xf4], 0xb
call fcn.00403310
push edi
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.00408d00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0xf4], 0xc
call fcn.00403310
mov byte [esp + 0xe8], 0xb
cmp dword [esp + 0x50], 8
jb 0x414072
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004aaa59
add esp, 4
mov edx, dword [esp + 0x98]
mov dword [esi + 0x60], edx
mov eax, dword [esp + 0x80]
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x4c], ecx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0xa0]
push eax
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x60]
push ebp
push ecx
mov dword [esi + 0x5c], edx
call fcn.00408d00
push 1
push ebx
lea edx, [esp + 0x70]
push edx
push esi
mov byte [esp + 0x104], 0xd
call fcn.00413c30
add esp, 0x1c
test al, al
je 0x4142b0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.00414880
cmp dword [esp + 0x74], 8
jb 0x41410d
mov eax, dword [esp + 0x60]
push eax
call fcn.004aaa59
add esp, 4
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea eax, [esp + 0x20]
jmp 0x41423a
call fcn.004aaa2e
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov byte [esp + 0xe8], 0xe
je 0x41414d
mov ecx, dword [esp + 0x18]
push 1
push ecx
call fcn.0040fb30
mov esi, eax
mov byte [esp + 0xe8], 7
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.004168e0
push esi
push esi
call fcn.0040fab0
add esp, 8
push 0xffffffffffffffff
push 0
lea edx, [esp + 0xa8]
lea edi, [esi + 0x10]
push edx
mov ecx, edi
mov byte [esp + 0xf4], 0xf
call fcn.00403310
push edi
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.00408d00
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0xf4], 0x10
call fcn.00403310
mov byte [esp + 0xe8], 0xf
cmp dword [esp + 0x50], 8
jb 0x4141cb
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004aaa59
add esp, 4
mov edx, dword [esp + 0x98]
mov dword [esi + 0x60], edx
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x4c], ecx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x90]
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x94]
mov dword [esi + 0x5c], edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0xfc]
mov dword [esi + 0x68], eax
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x28]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edx
call fcn.00414880
lea eax, [esp + 0x28]
mov byte [esp + 0xe8], 7
call fcn.004101d0
xor esi, esi
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x7c]
call fcn.004063c0
test al, al
jne 0x413fa5
lea eax, [esp + 0x14]
call fcn.00406610
lea ecx, [esp + 0x78]
call fcn.004087c0
lea ecx, [esp + 0x14]
call fcn.00406560
lea ecx, [esp + 0xc0]
call fcn.00401e70
mov al, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004ead41
add esp, 0xd8
ret
lea ecx, [esp + 0x5c]
call fcn.00401e70
lea eax, [esp + 0x20]
mov byte [esp + 0xe8], 7
call fcn.004101d0
lea ecx, [esp + 0x78]
call fcn.004087c0
lea ecx, [esp + 0x14]
call fcn.00406560
lea ecx, [esp + 0xc0]
call fcn.00401e70
xor al, al
jmp 0x414288