Function at 0x4116e0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d063
push eax
mov dword fs:[0], esp
sub esp, 0x46c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x28]
lea eax, [esi + 0x28]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x411714
xor al, al
jmp 0x411968
push eax
lea ecx, [esp + 0x10]
call fcn.004384fc
push 0x3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x484], 0
call fcn.00438bda
or ebp, 0xffffffff
cmp eax, ebp
je 0x411813
push 0
lea ecx, [esp + 0x18]
call fcn.00410950
lea edx, [esp + 0xc]
lea ecx, [esp + 0x70]
push edx
mov byte [esp + 0x484], 1
call fcn.004388c0
lea ecx, [esp + 0x14]
call fcn.00439b82
cmp eax, 2
jne 0x4117a6
lea ecx, [esp + 0x74]
mov byte [esp + 0x480], 3
call fcn.00438787
mov byte [esp + 0x480], 2
lea ecx, [esp + 0x70]
call fcn.00438787
lea ecx, [esp + 0x14]
mov byte [esp + 0x480], 0
call fcn.00439860
jmp 0x4118af
cmp eax, 0x3ed
jne 0x4117d2
mov eax, dword [esp + 0x494]
mov byte [eax], 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x480], 5
call fcn.00438787
mov byte [esp + 0x480], 4
jmp 0x411787
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x10]
call fcn.004388c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x480], 7
call fcn.00438787
lea ecx, [esp + 0x70]
mov byte [esp + 0x480], 6
call fcn.00438787
lea ecx, [esp + 0x14]
mov byte [esp + 0x480], 0
call fcn.00439860
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x488]
push edx
push eax
lea ecx, [esp + 0x80]
push 0x45f4b8
push ecx
call fcn.00423e53
add esp, 0x10
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebp
je 0x411897
mov eax, dword [0x45fe70]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x10]
push ecx
push 0xef14
push edx
mov byte [esp + 0x48c], 8
call fcn.00432b7e
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 4
push eax
call fcn.0043f43e
cmp eax, 6
mov byte [esp + 0x480], 0
lea ecx, [esp + 0x10]
je 0x411892
call fcn.00438787
jmp 0x4118af
call fcn.00438787
mov edi, dword [esp + 0x498]
mov ecx, dword [edi]
cmp byte [ecx], 0
je 0x4118c6
mov edx, dword [esp + 0x494]
mov byte [edx], 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x480], ebp
call fcn.00438787
mov al, 1
jmp 0x411968
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4118e3
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + 0x1c]
push 0
push ecx
push 0x7f5
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x490]
push ebx
push edi
push edx
lea edx, [esp + 0x84]
mov ecx, dword [esp + 0x498]
push edx
mov edx, dword [esi + 0x34]
mov eax, dword [ecx]
push edx
mov edx, dword [esi + 0x30]
push edx
mov edx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push edx
call dword [eax + 0xc]
mov bl, al
test bl, bl
je 0x411955
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x90]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, ebp
je 0x411955
lea ecx, [esi + 0x20]
add esi, 0x18
push ecx
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x484], ebp
call fcn.00438787
mov al, bl
pop ebx
mov ecx, dword [esp + 0x478]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x478
ret 0x14