Function at 0x10045051
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x10065a53
call fcn.10063a38
sub esp, 0x7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40], ecx
push edi
mov dword [ebp - 0x28], ebx
mov esi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
jmp 0x10045081
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0x9fdf99ff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x10045073
mov dword [ebp - 0x1c], ebx
jmp 0x100450a2
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x1004509f
push 0x1ba7
call dword [sym.imp.USER32.dll_DrawMenuBar]
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe3
jne 0x1004508c
call fcn.10041305
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100453b2
mov dword [ebp - 4], ebx
add esi, 0xfffff48b
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x100450f3
cmp dword [eax + 0x10], esi
jge 0x100450d8
mov eax, dword [eax + 8]
jmp 0x100450dc
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100450ce
cmp ecx, edx
je 0x100450f3
cmp esi, dword [ecx + 0x10]
jl 0x100450f3
mov dword [ebp - 0x2c], ecx
lea esi, [ebp - 0x2c]
jmp 0x100450f9
mov dword [ebp - 0x30], edx
lea esi, [ebp - 0x30]
mov esi, dword [esi]
mov dword [ebp - 0x3c], 0xeac8b13e
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
je 0x1004512c
push 0x157a
push 0x628
push 0x1569
push 0xf22
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x10045146
push 0x1b40
push 0xfdc
push ebx
call dword [sym.imp.GDI32.dll_PtInRegion]
mov eax, dword [0x1039154c]
test al, 1
jne 0x1004517a
or eax, 1
mov dword [0x10391570], 7
mov dword [0x1039154c], eax
xor eax, eax
push 0x10065cc9
mov dword [0x1039156c], ebx
mov word [0x1039155c], ax
call fcn.1004b676
pop ecx
mov dword [ebp - 0x3c], 0x959310c1
mov dword [ebp - 0x20], 0x258
cmp dword [ebp - 0x20], 0x58a
jle 0x100451ed
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
mov esi, edi
mov dword [ebp - 0x18], ebx
mov ecx, eax
shl esi, cl
mov ecx, ebx
mov eax, esi
shl eax, cl
mov ecx, 0x10081ef8
cdq
push edx
push eax
call fcn.10003ea0
inc ebx
cmp ebx, 0x7574
jl 0x100451a8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
push 0
pop ebx
cmp eax, 0x4255
jl 0x1004519f
inc edi
cmp edi, 0x1966
jl 0x1004519a
push ebx
push 0x4fc
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0x66e9
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0xe5
jge 0x10045210
mov edx, str.tduamj_iiyrzs_ioy_smjshh_dsynm_detdtcqxv_xekqjzjvo_mfahny_egidqsg_eviie_momkbme_eff
mov ecx, 0x10081ef8
call fcn.10005908
mov dword [ebp - 4], ebx
push 4
pop edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x38], 0xe13f5e3d
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x18], ebx
jmp 0x10045268
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x54], 9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1004525a
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], ebx
jne 0x100452e4
cmp dword [ebp - 0x20], ebx
jne 0x100452ad
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
setg cl
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 3
setle cl
imul ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x100452ad
mov eax, ebx
jmp 0x100452b0
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jne 0x100452c1
cmp dword [ebp - 0x20], ebx
jne 0x100452c1
mov edx, ebx
jmp 0x100452c4
xor edx, edx
inc edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp eax, edx
setge cl
xor eax, eax
cmp ecx, 0x15e4
setg al
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x100452e4
mov eax, ebx
jmp 0x100452e7
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
cmp esi, dword [ebp - 0x48]
je 0x1004530a
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0x84]
call fcn.1003aa9c
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 3
inc ecx
jmp 0x1004531d
push 0x1039155c
lea ecx, [ebp - 0x6c]
call fcn.10003fb5
push 2
mov dword [ebp - 4], edi
pop ecx
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov ecx, esi
push eax
call fcn.10003fb5
mov eax, dword [ebp - 0x20]
or eax, edi
test al, 2
je 0x1004534b
push ebx
and eax, 0xfffffffd
lea ecx, [ebp - 0x6c]
push 1
mov dword [ebp - 0x20], eax
call fcn.1000430d
mov eax, dword [ebp - 0x20]
test al, 1
je 0x1004535d
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.1000430d
lea ecx, [ebp - 0x48]
call fcn.1001df3a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret