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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49b5ca
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x4d4028]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
lea edi, [ebx + 0x52c]
mov dword [esp + 0x10], esi
call fcn.0046ec4c
lea eax, [ebx + 0x1fc]
mov ebx, dword [eax + 4]
cmp ebx, dword [eax + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jbe 0x411c22
call dword [0x4a3094]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x204]
add ebx, 0x1fc
cmp dword [ebx + 4], eax
mov dword [esp + 0x14], eax
jbe 0x411c44
call dword [0x4a3094]
test ebx, ebx
je 0x411c4c
cmp ebx, ebx
je 0x411c52
call dword [0x4a3094]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
je 0x412360
test ebx, ebx
jne 0x411c6a
call dword [0x4a3094]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebx + 8]
jb 0x411c79
call dword [0x4a3094]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
add eax, 4
cmp dword [ecx - 0xc], 0
jne 0x411d04
lea ecx, [esp + 0x30]
call dword [0x4a2ef4]
push 0x1c
lea edx, [esp + 0x5c]
push edx
push 0x4d6674
mov dword [esp + 0xcc], 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [esp + 0x5c]
push 0xc77
push eax
lea ecx, [esp + 0x38]
call dword [0x4a2ec8]
mov eax, 1
mov dword [esp + 0xc0], eax
or dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
call dword [0x4a2ec0]
mov ecx, 2
mov dword [esp + 0xc0], ecx
or dword [esp + 0x10], ecx
test esi, esi
mov eax, dword [eax]
jl 0x411d1f
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 0x144]
push ecx
push edx
push eax
push esi
call fcn.0046ea9e
mov ebx, dword [esp + 0x10]
test bl, 2
je 0x411d39
and ebx, 0xfffffffd
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call dword [0x4a2ee8]
test bl, 1
mov dword [esp + 0xc0], 0xffffffff
je 0x411d5a
and ebx, 0xfffffffe
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call dword [0x4a2ee8]
test esi, esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jl 0x411dd4
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x411dd4
mov edx, dword [edi]
mov eax, dword [edx + 0x140]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x411db0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411db0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x1200
push edx
call ebx
test eax, eax
jle 0x411dd4
push esi
mov ecx, edi
call fcn.00490426
test eax, eax
je 0x411dd4
push 0
push 0x200
push 0
mov ecx, edi
mov byte [eax + 0x5c], 1
mov byte [eax + 0x5d], 0
call fcn.004900ae
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
add eax, 8
cmp dword [ecx - 0xc], 0
jne 0x411e52
lea ecx, [esp + 0x38]
call dword [0x4a2ef4]
push 0x1c
lea edx, [esp + 0x5c]
push edx
push 0x4d6674
mov dword [esp + 0xcc], 3
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [esp + 0x5c]
push 0xc77
push eax
lea ecx, [esp + 0x40]
call dword [0x4a2ec8]
mov eax, 4
mov dword [esp + 0xc0], eax
or dword [esp + 0x10], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
call dword [0x4a2ec0]
mov dword [esp + 0xc0], 5
or dword [esp + 0x10], 8
test esi, esi
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jl 0x411f32
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebx
cmp esi, eax
jge 0x411f32
mov eax, dword [edi]
mov edx, dword [eax + 0x140]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x411f32
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411f32
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, 1
jle 0x411f32
mov edx, dword [esp + 0x18]
push edx
push 1
push esi
mov ecx, edi
call fcn.004900ba
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x411f32
mov ecx, edi
call fcn.0046f183
cmp eax, 1
jle 0x411f32
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp esi, eax
jge 0x411f17
mov ecx, edi
call fcn.0046f183
cmp eax, 1
jle 0x411f17
lea edx, [esp + 0x74]
push edx
push 0
push 1
push esi
mov ecx, edi
call fcn.00490924
mov ecx, dword [edi + 0x20]
push 1
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
test byte [esp + 0x10], 8
je 0x411f48
and dword [esp + 0x10], 0xfffffff7
lea ecx, [esp + 0x3c]
call dword [0x4a2ee8]
mov dword [esp + 0xc0], 0xffffffff
test byte [esp + 0x10], 4
je 0x411f69
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x38]
call dword [0x4a2ee8]
test esi, esi
jl 0x411fe4
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x411fe4
mov edx, dword [edi]
mov eax, dword [edx + 0x140]
mov ecx, edi
call eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x411fe4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411fe4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x1200
push edx
call ebx
cmp eax, 1
jle 0x411fe4
push esi
mov ecx, edi
call fcn.00490426
test eax, eax
je 0x411fe4
push 0
push 0x200
push 0
mov ecx, edi
mov byte [eax + 0xbc], 1
mov byte [eax + 0xbd], 0
call fcn.004900ae
test esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
jl 0x4121b6
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebx
cmp esi, eax
jge 0x4120ce
mov eax, dword [edi]
mov edx, dword [eax + 0x140]
mov ecx, edi
call edx
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4120ce
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4120ce
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, 2
jle 0x4120ce
mov edx, dword [esp + 0x14]
push edx
push 2
push esi
mov ecx, edi
call fcn.004900ba
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x4120ce
mov ecx, edi
call fcn.0046f183
cmp eax, 2
jle 0x4120ce
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp esi, eax
jge 0x4120b0
mov ecx, edi
call fcn.0046f183
cmp eax, 2
jle 0x4120b0
lea edx, [esp + 0xa4]
push edx
push 0
push 2
push esi
mov ecx, edi
call fcn.00490924
mov ecx, dword [edi + 0x20]
push 1
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
test esi, esi
jl 0x4121b6
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x4121b6
mov edx, dword [edi]
mov eax, dword [edx + 0x140]
mov ecx, edi
call eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4121b6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4121b6
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x1200
push edx
call ebx
cmp eax, 2
jle 0x4121b6
push esi
mov ecx, edi
call fcn.00490426
test eax, eax
je 0x4121b6
push 0
push 0
mov byte [eax + 0x114], 1
mov eax, dword [edi + 0x20]
push 0x1004
push eax
call ebx
cmp esi, eax
jge 0x4121b6
mov ecx, edi
call fcn.0046f183
cmp eax, 2
jle 0x4121b6
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp esi, eax
jge 0x412198
mov ecx, edi
call fcn.0046f183
cmp eax, 2
jle 0x412198
lea edx, [esp + 0x94]
push edx
push 0
push 2
push esi
mov ecx, edi
call fcn.00490924
mov ecx, dword [edi + 0x20]
push 1
lea eax, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x34]
call dword [0x4a2ef4]
mov dword [esp + 0xc0], 6
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
push 0
push 0xe10
push ecx
push eax
call fcn.00492410
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push 0x3c
push ecx
push eax
mov dword [esp + 0x58], edx
call fcn.00492350
push eax
mov eax, dword [esp + 0x50]
push 0
push 0x3c
push ebx
push eax
call fcn.004921f0
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x40]
push str._02d:_02d:_02d
push edx
call dword [0x4a2ee0]
mov eax, dword [esp + 0x48]
add esp, 0x14
test esi, esi
mov dword [esp + 0x14], eax
jl 0x41231b
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp esi, eax
jge 0x41231b
mov edx, dword [edi]
mov eax, dword [edx + 0x140]
mov ecx, edi
call eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x20]
test eax, eax
je 0x41231b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41231b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x1200
push edx
call ebx
cmp eax, 3
jle 0x41231b
mov eax, dword [esp + 0x14]
push eax
push 3
push esi
mov ecx, edi
call fcn.004900ba
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp esi, eax
jge 0x41231b
mov ecx, edi
call fcn.0046f183
cmp eax, 3
jle 0x41231b
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebx
cmp esi, eax
jge 0x4122fd
mov ecx, edi
call fcn.0046f183
cmp eax, 3
jle 0x4122fd
lea eax, [esp + 0x84]
push eax
push 0
push 3
push esi
mov ecx, edi
call fcn.00490924
mov edx, dword [edi + 0x20]
push 1
lea ecx, [esp + 0x88]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x10]
add dword [esp + 0x24], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [esp + 0x34]
adc dword [esp + 0x28], edx
mov dword [esp + 0xc0], 0xffffffff
call dword [0x4a2ee8]
mov eax, dword [ebp + 8]
add eax, 0x1fc
cmp ebx, dword [eax + 8]
jb 0x412355
call dword [0x4a3094]
add ebx, 0x20
add esi, 1
jmp 0x411c22
lea ecx, [esp + 0x2c]
call dword [0x4a2ef4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0xe10
push eax
push ecx
mov dword [esp + 0xd0], 7
call fcn.00492410
push 0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x2c]
push 0x3c
mov edi, eax
mov eax, dword [esp + 0x2c]
push edx
push eax
mov esi, ecx
call fcn.00492350
push eax
push 0
push 0x3c
push ebx
push esi
call fcn.004921f0
push eax
push edi
lea ecx, [esp + 0x38]
push str._02d:_02d:_02d
push ecx
call dword [0x4a2ee0]
mov edx, dword [esp + 0x40]
mov esi, dword [ebp + 8]
add esp, 0x14
push edx
lea ecx, [esi + 0x2904]
call fcn.0049016e
mov ecx, esi
call fcn.00416090
push 0
mov ecx, esi
call fcn.004900b4
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4