Function at 0x4d779c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x30], 0
mov dword [ebx + 0x48], eax
test eax, eax
je 0x4d7cf0
mov eax, dword [ebx + 0x220]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
cmp esi, eax
je 0x4d780a
mov ecx, dword [esi + 0x14]
push 1
call fcn.00466e31
push dword [esi + 0x10]
push dword [ebx - 0x1c]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0xc]
call fcn.0040d404
mov esi, dword [ebp - 0xc]
lea eax, [ebx + 0x220]
cmp esi, dword [eax]
jne 0x4d77d8
jmp 0x4d7810
lea eax, [ebx + 0x220]
mov ecx, eax
call fcn.00471869
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0
push 0x3ec
push dword [ebx - 0x1c]
call esi
push 0
push 0x3ed
push dword [ebx - 0x1c]
call esi
push 0
push 0x3ee
push dword [ebx - 0x1c]
call esi
call fcn.00403a64
push eax
lea ecx, [ebp - 0xc]
call fcn.00402a6b
mov eax, dword [ebx + 0x48]
add eax, 0x9c
cmp dword [eax + 0x14], 8
jb 0x4d785f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 8]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 0xc]
push 0x5477b8
push eax
call fcn.00415254
mov ecx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
push dword [ebp - 0xc]
push 0x43c
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0xa
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x48]
add eax, 4
mov dword [ebp - 0x28], 0x50
mov dword [ebp - 0x24], 0x32
cmp dword [eax + 0x14], 8
jb 0x4d78bc
mov eax, dword [eax]
push eax
call sub.msvcrt.dll__wtoi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x4d79a3
push dword [ebx + 0x50]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
jne 0x4d7946
lea eax, [ebx - 0x20]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00466e21
push 1
lea ecx, [ebx + 0x4c]
call fcn.00466e11
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push 7
movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
push str.safemon_skin_browserfix_softBack.png
push dword [0x577c88]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bbfe
add esp, 0xc
lea ecx, [ebx + 0x4c]
call fcn.00466c9b
push 0
push dword [ebx - 0x1c]
lea ecx, [ebx + 0x4c]
call fcn.00465c65
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x50]
call edi
test eax, eax
je 0x4d79c8
sub esp, 0x28
mov ecx, esp
push 1
push dword [ebx + 0x48]
call fcn.004d6cf8
lea ecx, [ebx + 0x4c]
call fcn.00466ccf
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x3ec
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x220]
call fcn.004d6c09
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x4c]
push 5
mov dword [eax + 0x14], ecx
push dword [ebx + 0x50]
call esi
push 0x3ec
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
jmp 0x4d79c6
push 0x3ec
push dword [ebx - 0x1c]
call edi
push 0
push eax
call esi
push dword [ebx + 0x50]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x4d79c8
push 0
push dword [ebx + 0x50]
call esi
mov eax, dword [ebx + 0x48]
add eax, 0x50
cmp dword [eax + 0x14], 8
jb 0x4d79d6
mov eax, dword [eax]
push eax
call sub.msvcrt.dll__wtoi
pop ecx
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4d7ac2
push dword [ebx + 0xec]
lea esi, [ebx + 0xe8]
call edi
test eax, eax
jne 0x4d7a59
lea eax, [ebx - 0x20]
mov ecx, esi
push eax
call fcn.00466e21
push 2
mov ecx, esi
call fcn.00466e11
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push 7
movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
push str.safemon_skin_browserfix_softBack.png
push dword [0x577c88]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bbfe
add esp, 0xc
lea esi, [ebx + 0xe8]
mov ecx, esi
call fcn.00466c9b
push 0
push dword [ebx - 0x1c]
mov ecx, esi
call fcn.00465c65
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push dword [ebx + 0xec]
call edi
test eax, eax
je 0x4d7aeb
sub esp, 0x28
mov ecx, esp
push 2
push dword [ebx + 0x48]
call fcn.004d6cf8
mov ecx, esi
call fcn.00466ccf
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x3ed
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x220]
call fcn.004d6c09
mov eax, dword [ebp - 0x20]
push 5
mov dword [eax + 0x14], esi
push dword [ebx + 0xec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0x3ed
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
jmp 0x4d7ae9
push 0x3ed
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call esi
push dword [ebx + 0xec]
call edi
test eax, eax
je 0x4d7aeb
push 0
push dword [ebx + 0xec]
call esi
push dword [ebx + 0x50]
xor eax, eax
cmp dword [ebx + 0x224], 2
setne al
dec eax
and eax, 0xffffffc9
add eax, 0xaa
mov dword [ebp - 8], eax
call edi
mov esi, dword [ebp - 8]
test eax, eax
je 0x4d7b56
cmp dword [ebp - 0x18], 0
je 0x4d7b56
push 0
push 0x3c
push 0x2b2
push esi
push 0x46
push 0
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3ec
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
xor edx, edx
mov ecx, eax
push edx
push edx
lea eax, [esi + 3]
push eax
push 0x28
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x64
mov dword [ebp - 8], esi
push dword [ebx + 0xec]
call edi
test eax, eax
je 0x4d7bac
cmp dword [ebp - 0x10], 0
je 0x4d7bac
push 0
push 0x3c
push 0x2b2
push esi
push 0x46
push 0
push dword [ebx + 0xec]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3ed
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
xor edx, edx
mov ecx, eax
push edx
push edx
lea eax, [esi + 3]
push eax
push 0x28
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x64
mov dword [ebp - 8], esi
push dword [ebx + 0x188]
lea esi, [ebx + 0x184]
mov dword [ebp - 0x10], esi
call edi
test eax, eax
jne 0x4d7c19
lea eax, [ebx - 0x20]
mov ecx, esi
push eax
call fcn.00466e21
push 3
mov ecx, esi
call fcn.00466e11
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push 7
movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
push str.safemon_skin_browserfix_softBack.png
push dword [0x577c88]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041bbfe
add esp, 0xc
lea esi, [ebx + 0x184]
mov ecx, esi
call fcn.00466c9b
push 0
push dword [ebx - 0x1c]
mov ecx, esi
call fcn.00465c65
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push dword [ebx + 0x188]
call edi
test eax, eax
je 0x4d7ce5
sub esp, 0x28
mov ecx, esp
push 3
push dword [ebx + 0x48]
call fcn.004d6cf8
mov ecx, esi
call fcn.00466ccf
cmp dword [ebx + 0x224], 0
jne 0x4d7c59
mov eax, 0xaa
mov dword [ebx + 0x30], 0x3ee
lea esi, [eax + 0xa]
jmp 0x4d7c5f
mov esi, dword [ebp - 8]
push 0x3c
pop eax
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push eax
push 0x2b2
push esi
push 0x46
push 0
push dword [ebx + 0x188]
call edi
push 0x3ee
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x45
xor edx, edx
mov ecx, eax
push edx
push edx
lea eax, [esi + 3]
push eax
push 0x28
push edx
push ecx
call edi
cmp dword [ebx + 0x224], 0
jne 0x4d7cc2
lea esi, [ebx + 0x184]
mov ecx, esi
call fcn.00465e94
push 1
push 0x3ee
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x4d7cc5
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3ee
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x220]
call fcn.004d6c09
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], esi
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
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