Function at 0x46f43c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f748
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x1f4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x46f486
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x476888]
mov eax, dword [eax]
call fcn.004489cc
dec dword [ebp - 0x10]
jne 0x46f465
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.0040ffd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20a8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f6b5
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20a8]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0046f1c4
mov dx, 0x20
mov eax, dword [ebp - 0xc]
call fcn.00454b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46f623
xor eax, eax
push ebp
push 0x46f61c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00454554
cmp edx, 0
jne 0x46f524
cmp eax, 0x37000
jae 0x46f606
jmp 0x46f52a
jge 0x46f606
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffc4
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov eax, esi
call fcn.0040ffc4
mov edx, eax
add edx, 0x10
mov eax, esi
call fcn.0040ffd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffc4
mov esi, eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
mov eax, edi
call fcn.0040ffc4
push eax
mov eax, dword [ebp - 8]
call fcn.00454554
pop edx
add edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffc4
add edi, eax
mov eax, dword [ebp - 8]
call fcn.00454554
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
mov eax, edi
call fcn.0040ffe0
mov edx, eax
mov eax, edi
call fcn.0040ffd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edi, dword [eax + 4]
add edi, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20a8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffc4
sub eax, esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00403f40
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
call fcn.004084c4
mov dword [edi + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f697
mov eax, dword [ebp - 8]
call fcn.00402dd4
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffc4
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov eax, esi
call fcn.0040ffc4
mov edx, eax
add edx, 0x10
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov eax, esi
call fcn.0040ffe0
mov edx, eax
mov eax, esi
call fcn.0040ffd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edi, dword [eax + 4]
add edi, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20a8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20a8]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffe0
cmp eax, 0x12c000
jg 0x46f6b5
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x46f4c1
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x1096]
mov byte [ebx + 0xd], 0xa
mov byte [ebx + 0xe], 0xff
mov byte [ebx + 0xc], 0x77
mov dword [ebx + 4], 0x20
mov dword [ebx + 0x14], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040ffe0
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2098]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2098]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x2098]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046ef10
push 0
push 2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov cl, 0xd4
mov eax, dword [ebp - 4]
call fcn.0046f0b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f74f
lea eax, [ebp - 0x18]
call fcn.00403afc
lea eax, [ebp - 0xc]
call fcn.00403afc
ret