Function at 0x403350
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x71c
lea eax, [esp + 0x410]
push ebx
push ebp
mov ebp, dword [esp + 0x728]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push edi
push 0x104
push eax
push 0x3f3
push ebp
call esi
lea ecx, [esp + 0x524]
push 0x104
push ecx
push 0x3f5
push ebp
call esi
lea edx, [esp + 0x628]
push 0x104
push edx
push 0x402
push ebp
call esi
lea eax, [esp + 0x218]
push 0x104
push eax
push 0x3e8
push ebp
call esi
lea ecx, [esp + 0x31c]
push 0x104
push ecx
push 0x407
push ebp
call esi
mov eax, dword [esp + 0x734]
and eax, 0xffff
cmp eax, 0x3fd
jg 0x403578
je 0x403536
cmp eax, 0x3e9
jg 0x4034da
xor ebx, ebx
cmp eax, 0x3e9
je 0x403428
dec eax
je 0x4034ae
dec eax
jne case.0x40358e.1033
push 2
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret
push ebp
lea edx, [esp + 0x21c]
push 0x104
push edx
call fcn.00402420
add esp, 0xc
test eax, eax
je 0x4034ae
lea eax, [esp + 0x218]
push eax
push 0x3e8
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edi, [esp + 0x218]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x4034a0
mov dl, 0x5c
cmp byte [esp + ecx + 0x10], dl
je 0x40349c
dec ecx
jns 0x403491
jmp 0x4034a0
mov byte [esp + ecx + 0x10], bl
lea ecx, [esp + 0x10]
push ecx
push ebp
call fcn.00402300
add esp, 8
mov eax, dword [0x40a480]
cmp eax, ebx
je 0x4034be
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edi, [esp + 0x218]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je case.0x40358e.1033
jmp 0x40394f
sub eax, 0x3f2
je 0x403517
sub eax, 2
jne case.0x40358e.1033
push ebp
call fcn.00402000
add esp, 4
push 0x40
push str.SKPlayer
push str.Settings_succesfully_saved.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret
push ebp
call fcn.00402500
push ebp
call fcn.00401ba0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x71c
ret
push ebp
lea edx, [esp + 0x424]
push 0x104
push edx
call fcn.00402480
add esp, 0xc
test eax, eax
je case.0x40358e.1033
lea eax, [esp + 0x420]
push eax
push 0x3f3
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret
add eax, 0xfffffbfc
cmp eax, 0x15
ja case.0x40358e.1033
xor ecx, ecx
mov cl, byte [eax + 0x403980]
jmp dword [ecx*4 + 0x403968]
lea edi, [esp + 0x218]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jae 0x4035ce
push 0x40
push str.SKPlayer
push str.No_demo_loaded.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret
xor ebx, ebx
push ebx
push 0x4031a0
push ebx
push 0x8b
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret
push ebp
call fcn.00401940
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x71c
ret
push ebp
call fcn.00401330
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x71c
ret
push ebp
call fcn.00401100
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x71c
ret
mov eax, dword [esp + 0x738]
and eax, 0xffff
sub eax, 2
jne case.0x40358e.1033
push 0x404
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
mov esi, eax
push ebx
push 0x188
push esi
call edi
lea edx, [esp + 0x114]
push edx
push eax
push 0x189
push esi
call edi
lea edi, [esp + 0x31c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x403821
or ecx, 0xffffffff
lea edi, [esp + 0x31c]
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x115]
mov byte [esp + ecx + 0x113], bl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x409898
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4037b8
cmp cl, bl
je 0x4037b4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4037b8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x403794
xor eax, eax
jmp 0x4037bd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x403803
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov dl, 0x5c
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x4037e3
cmp byte [esp + ecx + 0x10], dl
je 0x4037df
dec ecx
jns 0x4037d4
jmp 0x4037e3
mov byte [esp + ecx + 0x10], bl
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x403803
cmp byte [esp + ecx + 0x10], dl
je 0x4037ff
dec ecx
jns 0x4037f4
jmp 0x403803
mov byte [esp + ecx + 0x10], bl
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00402300
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x71c
ret
mov esi, 0x409898
lea eax, [esp + 0x114]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403851
cmp cl, bl
je 0x40384d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403851
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40382d
xor eax, eax
jmp 0x403856
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40393e
or ecx, 0xffffffff
lea edi, [esp + 0x31c]
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x115]
mov byte [esp + ecx + 0x113], bl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, 0x5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x403917
cmp byte [esp + ecx + 0x10], dl
je 0x403913
dec ecx
jns 0x403908
jmp 0x403917
mov byte [esp + ecx + 0x10], bl
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x403803
cmp byte [esp + ecx + 0x10], dl
je 0x4037ff
dec ecx
jns 0x40392c
jmp 0x403803
lea ecx, [esp + 0x10]
push ecx
push 0x3e8
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebp
call fcn.00402840
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x71c
ret