Function at 0x46ceb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575faa
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46cf10
mov eax, dword [esi]
push 5
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0
push 0
push 5
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x46d193
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x300]
call fcn.0045fd30
test al, al
jne 0x46cf8d
push 4
push 0x5ada54
lea ecx, [ebp - 0x40]
call fcn.00406c80
push 0x1b
push str.Save_file___STR_REPLACE____
lea ecx, [ebp - 0x28]
call fcn.00406c80
push edi
lea ecx, [ebp - 0xb0]
call fcn.004029a0
mov byte [ebp - 4], 2
xor eax, eax
push 0xd
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
push str._STR_REPLACE_
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00406c80
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x58]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ac0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 3
call fcn.004274c0
add esp, 0x24
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x46d05d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46d040
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x46d07f
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46d0b5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x46d0eb
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00407270
mov ecx, dword [ebp - 0x40]
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
jae 0x46d114
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x46d120
lea edx, [ebp - 0x28]
mov eax, dword [esi]
push 0x23
push ecx
push edx
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x46d14a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x46d17a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x46d2b2
mov dword [ebp - 0x98], method.BabyGridWrapper.virtual_0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], vtable.StaticDialog.0
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x98], 0x5ac8d8
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 7
mov byte [ebp - 0x5c], al
mov dword [ebp - 4], 8
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
test edi, edi
je 0x46d24d
cmp word [edi], 0
jne 0x46d22f
xor ecx, ecx
jmp 0x46d243
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d234
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x74]
call fcn.00406c80
mov al, byte [esi + 0x308]
lea ecx, [ebp - 0x98]
mov byte [ebp - 0xcc], al
push dword [ebp - 0xcc]
mov byte [ebp - 0x5c], bl
call fcn.0040ce00
mov esi, dword [ebp - 0x78]
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x46d28c
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004e8fe0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8