Function at 0x401da2
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b79a
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov esi, ecx
push 0x483a5c
lea eax, [esp + 0xd8]
mov dword [esp + 0x1c], esi
call fcn.004025d0
and dword [esp + 0x320], 0
mov ecx, dword [esi + 4]
lea ecx, [ecx + 0xac4]
lea edi, [esp + 0xd4]
call fcn.004135a0
or ebx, 0xffffffff
mov ecx, edi
mov dword [esp + 0x320], ebx
call fcn.00402601
mov ecx, dword [esi + 0x44]
call fcn.0042da80
test al, al
je 0x402127
push 0x414
call fcn.00459337
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x320], 1
test eax, eax
je 0x401e6c
mov ecx, dword [esi + 4]
call fcn.00423fd0
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00401932
mov edi, eax
jmp 0x401e6e
xor edi, edi
mov dword [esp + 0x320], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8c30]
mov eax, dword [ecx]
push 0x100
lea edx, [esp + 0x110]
push edx
push edi
call dword [eax]
push edi
call fcn.004592db
cmp word [esp + 0x110], 0x30
pop ecx
je 0x401f32
lea eax, [esp + 0x1c]
push eax
call fcn.00402d68
lea eax, [esp + 0x10c]
push eax
push ecx
push 0x483a70
push 0x483a84
mov dword [esp + 0x330], 2
call fcn.004087e0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00403bd5
add esp, 0x14
push eax
call fcn.00403bd5
pop ecx
pop ecx
push eax
call fcn.00402188
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x20]
call fcn.00402df7
mov byte [esp + 0x320], 3
mov edi, dword [esi + 4]
lea edi, [edi + 0x8d20]
call fcn.00427ac0
lea ecx, [esp + 0xb8]
call fcn.00402601
lea eax, [esp + 0x1c]
mov dword [esp + 0x320], ebx
call fcn.0040214b
mov ecx, dword [esi + 4]
call fcn.00423fd0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x401f49
test al, 0x10
jne 0x401f8b
mov ecx, dword [esi + 4]
call fcn.00423fd0
push eax
lea eax, [esp + 0xbc]
call fcn.004025d0
mov dword [esp + 0x320], 4
mov ebx, dword [esi + 4]
mov esi, eax
call fcn.00423720
or dword [esp + 0x320], 0xffffffff
lea ecx, [esp + 0xb8]
call fcn.00402601
mov esi, dword [esp + 0x18]
push 0x414
call fcn.00459337
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x320], 5
test eax, eax
je 0x401fc0
mov ebx, dword [esi + 4]
call fcn.00423ff0
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00401962
mov edi, eax
jmp 0x401fc2
xor edi, edi
or dword [esp + 0x320], 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8c30]
mov eax, dword [ecx]
push 0x100
lea edx, [esp + 0x110]
push edx
push edi
call dword [eax]
push edi
call fcn.004592db
mov edx, dword [esi + 4]
xor ebx, ebx
pop ecx
inc ebx
mov ecx, esi
mov dword [esi + 0x40], ebx
call fcn.0042b770
mov edi, eax
test edi, edi
je 0x402015
push 0x36ee80
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
pop edx
mov eax, esi
call fcn.00423200
mov ecx, dword [esi + 4]
call fcn.0042aa70
test al, al
je 0x4020ea
fld1
push ecx
fstp dword [esp]
mov edx, ebx
push 2
mov eax, esi
call fcn.004231d0
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
lea eax, [esp + 0xb8]
call fcn.004025a9
lea eax, [esp + 0xd4]
mov dword [esp + 0x320], 6
call fcn.004025a9
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x328], 7
mov eax, dword [esi + 4]
mov edx, dword [esi]
push esi
push eax
mov ecx, esi
call dword [edx + 0x28]
fld dword [0x48d2c8]
push ecx
fstp dword [esp]
push 3
push 0x64
pop edx
mov eax, esi
call fcn.004231d0
push 0x5f
pop edx
mov eax, esi
call fcn.00423200
mov esi, dword [esi + 4]
call fcn.0042a090
mov eax, dword [esp + 0x18]
push 0x64
pop edx
call fcn.00423200
lea ecx, [esp + 0xd4]
call fcn.00402601
or dword [esp + 0x320], 0xffffffff
lea ecx, [esp + 0xb8]
call fcn.00402601
mov esi, dword [esp + 0x18]
push 0x483a88
lea eax, [esp + 0xf4]
call fcn.004025d0
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0x324], 8
mov eax, dword [esi + 4]
add eax, 0xac4
call fcn.00413650
lea ecx, [esp + 0xf0]
call fcn.00402601
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret