Function at 0x463aa2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x2a4]
push 0x5315f0
call fcn.0043947e
lea eax, [ebp - 0x2a4]
push eax
push ecx
mov ecx, esp
push str.Clr_GreenBtnText
call fcn.00402af5
lea eax, [ebp - 0x2a0]
push eax
call fcn.004a7bf6
mov ecx, eax
call fcn.004a7c1c
push eax
lea eax, [ebp - 0x2ac]
push 0x530b3c
push eax
call fcn.0041346d
add esp, 0xc
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004133f1
add esp, 0xc
lea ecx, [ebx + 0x4c]
push eax
call fcn.00402bd6
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2a0]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2a4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 2
push 0xe6
push 0x17c
xor esi, esi
lea edi, [ebx + 4]
push esi
push esi
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
mov ecx, edi
call fcn.0041b9d6
push esi
lea ecx, [ebp - 0x2c4]
call fcn.004269a9
push 1
push esi
push 1
push dword [edi]
lea ecx, [ebp - 0x2dc]
call fcn.00419f27
push 0x208
lea eax, [ebp - 0x24c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2a4]
push str.browserfixskin9_1.ui
call fcn.00402af5
push eax
push 0x5355d0
lea ecx, [ebp - 0x2a8]
call fcn.00402af5
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004133f1
push dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.00431b99
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00418e21
mov ecx, dword [ebp - 0x2a0]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2a4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x527fb4
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x463c64
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x463c64
test al, 0x10
je 0x463cce
push str.browserfixskin.ui
lea ecx, [ebp - 0x2a8]
call fcn.00402af5
push eax
push 0x529ab8
lea ecx, [ebp - 0x2ac]
call fcn.00402af5
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.004133f1
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x2a0]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea eax, [ebp - 0x24c]
push eax
push esi
lea ecx, [ebp - 0x2dc]
call fcn.00463793
push str.safemon_skin_browserfix2_browserfixskin2.ui
push dword [0x577c88]
lea ecx, [ebp - 0x2dc]
call fcn.00463793
mov esi, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2a0]
push str.safemon_skin_browserfixmask_class_two.png
push dword [0x577c88]
mov dword [ebp - 0x27c], 6
push eax
mov dword [ebp - 0x278], 0x63
mov dword [ebp - 0x274], 0xd3
mov dword [ebp - 0x270], 0x86
call fcn.0041bbfe
mov ecx, dword [esi]
lea edx, [ebp - 0x27c]
add esp, 0xc
push edx
push 7
push dword [eax]
push esi
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x2a0]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x7fbc
push dword [edi]
lea ecx, [ebp - 0x2ec]
call fcn.0041b8c7
mov ecx, dword [ebp - 0x2e0]
test ecx, ecx
je 0x463e2a
mov eax, dword [ecx]
xor esi, esi
push esi
push esi
push 1
push ecx
call dword [eax + 0xc]
mov edi, dword [0x577c8c]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x80
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 0x2e0]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
push dword [ebx + 0x44]
lea edi, [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x25c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x254]
sub esi, dword [ebp - 0x25c]
push 0x7fbc
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x1c
lea ecx, [esi - 5]
push ecx
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
inc ecx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
xor esi, esi
mov dword [ebp - 0x2a4], eax
cmp dword [ebx + 0x40], esi
jle 0x46406e
test esi, esi
jne 0x463ef3
and dword [ebp - 0x2b4], esi
lea eax, [ebp - 0x2b4]
and dword [ebp - 0x2b0], esi
push eax
mov eax, dword [ebx + 0x3c]
add eax, 4
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
mov eax, dword [ebx + 0x3c]
add eax, 4
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push esi
push ecx
mov eax, esp
mov dword [eax], 0x3e9
mov eax, dword [ebx + 0x3c]
add eax, 4
push eax
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00413428
add esp, 0xc
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2b4]
push edx
push 0x50000001
push ecx
push ecx
add eax, 0x32
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x28c]
mov eax, esp
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x280], 0x19
mov dword [eax], ecx
lea ecx, [ebx + 0x30]
push dword [edi]
call fcn.0046394c
mov ecx, dword [ebp - 0x2a0]
jmp 0x46405c
cmp esi, 1
jne 0x463fa7
and dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x2bc]
and dword [ebp - 0x2b8], 0
push eax
mov eax, dword [ebx + 0x3c]
add eax, 0x48
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
mov eax, dword [ebx + 0x3c]
add eax, 0x48
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push 0
push ecx
mov eax, esp
mov dword [eax], 0x3ea
mov eax, dword [ebx + 0x3c]
add eax, 0x48
push eax
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00413428
add esp, 0xc
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2bc]
push edx
push 0x50000001
push ecx
push ecx
add eax, 0x32
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x29c]
mov eax, esp
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x290], 0x19
mov dword [eax], ecx
lea ecx, [ebx + 0x34]
push dword [edi]
call fcn.0046394c
mov ecx, dword [ebp - 0x2ac]
jmp 0x46405c
cmp esi, 2
jne 0x464064
and dword [ebp - 0x254], 0
lea eax, [ebp - 0x254]
and dword [ebp - 0x250], 0
push eax
mov eax, dword [ebx + 0x3c]
add eax, 0x8c
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
mov eax, dword [ebx + 0x3c]
add eax, 0x8c
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push 0
push ecx
mov eax, esp
mov dword [eax], 0x3eb
mov eax, dword [ebx + 0x3c]
add eax, 0x8c
push eax
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00413428
add esp, 0xc
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x254]
push edx
push 0x50000001
push ecx
push ecx
add eax, 0x32
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x26c]
mov eax, esp
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x260], 0x19
mov dword [eax], ecx
lea ecx, [ebx + 0x38]
push dword [edi]
call fcn.0046394c
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
inc esi
cmp esi, dword [ebx + 0x40]
jl 0x463e43
call fcn.0041bcb9
mov dword [ebx + 0x54], eax
test eax, eax
je 0x4640e8
mov eax, dword [ebx + 0x50]
cmp eax, 0x30
jne 0x464089
push str.ConfigdefaultskinCommonmsg_icon_warning.png
jmp 0x4640b9
cmp eax, 0x20
jne 0x464095
push str.ConfigdefaultskinCommonmsg_icon_question.png
jmp 0x4640b9
cmp eax, 0x10
jne 0x4640a1
push str.ConfigdefaultskinCommonmsg_icon_error.png
jmp 0x4640b9
cmp eax, 0x40
jne 0x4640ad
push 0x52eda8
jmp 0x4640b9
cmp eax, 0x100
jne 0x4640e8
push str.ConfigdefaultskinCommonmsg_icon_check.png
push dword [0x577c88]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0041bbfe
mov ecx, dword [ebx + 0x54]
add esp, 0xc
mov edx, dword [ecx]
push 0
push dword [eax]
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x2a0]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebx + 0x48]
push 0x4db
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x4db
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
xor esi, esi
push esi
push esi
push 0x41
push 0x5a
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x5c]
cmp dword [eax - 0xc], esi
je 0x4641df
push 0x3e9
push dword [edi]
lea ecx, [ebp - 0x26c]
call fcn.0041f436
cmp dword [ebp - 0x260], esi
je 0x46417d
push dword [ebx + 0x5c]
lea eax, [ebp - 0x2a0]
push dword [0x577c88]
push eax
call fcn.0041bbfe
push 1
push 3
push dword [eax]
push esi
push dword [ebp - 0x26c]
call fcn.0042067a
mov ecx, dword [ebp - 0x2a0]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x20
push eax
push 0x3e9
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00402af5
push str._._colorrgb_255_255_255____._
push str._.___._
lea ecx, [ebp - 0x2a4]
call fcn.00404301
mov esi, dword [ebp - 0x2a4]
push esi
push 0x3e9
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, ebx
call fcn.004637c0
mov ecx, dword [ebp - 0x2c8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov edx, dword [ebp - 0x2c0]
test edx, edx
je 0x46420a
push dword [ebp - 0x2c4]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x14]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8