Function at 0x4243b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ed3c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x6b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
xor edi, edi
cmp eax, edi
je 0x4245a3
mov esi, dword [eax + 8]
cmp esi, edi
je 0x4245a3
push 0x206
lea ecx, [esp + 0x4aa]
xor eax, eax
push edi
push ecx
mov word [esp + 0x4b0], ax
call fcn.004d3360
add esp, 0xc
push 0x103
add esi, 0x240
push esi
lea edx, [esp + 0x4ac]
push 0x104
push edx
call fcn.004ce857
xor eax, eax
mov word [esp + 0x6ba], ax
add esp, 0x10
mov eax, 0x522d88
lea ecx, [esp + 0x294]
call fcn.0043e7f0
mov dword [esp + 0x6c0], edi
cmp byte [esp + 0x298], 0
je 0x42454f
push 0x522dd0
push str.CherryWindowClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp byte [0x545a9b], 0
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
je 0x4244b8
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xce33
push esi
call edi
test esi, esi
je 0x42470b
cmp dword [esp + 0x14], ebx
je 0x42470b
push 0
push 0
push 0xce31
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0043b880
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
lea edx, [esp + 0x4a4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, edx
mov dword [esp + 0x24], edx
lea edx, [eax + 2]
jmp 0x424520
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424520
lea ecx, [esp + 0x1c]
push ecx
sub eax, edx
push esi
sar eax, 1
push 0x4a
lea eax, [eax + eax + 2]
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 1
call edi
jmp 0x42470b
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x16c]
call fcn.00435d60
mov byte [esp + 0x6c0], 2
lea esi, [esp + 0x16c]
mov byte [esp + 0x13], 0
call fcn.00402e70
test al, al
jne 0x4245aa
mov ecx, esi
call fcn.00439080
lea ecx, [esp + 0x14]
call fcn.004382a0
mov eax, dword [esp + 0x294]
cmp eax, edi
je 0x4245a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x42471f
push edi
push edi
push edi
push edi
push str.PicFace.dll
lea edx, [esp + 0x180]
push edx
lea ecx, [esp + 0x5c]
call fcn.00436070
mov byte [esp + 0x6c0], 3
cmp byte [esp + 0x160], 0
lea eax, [esp + 0x50]
jne 0x4245de
mov eax, dword [esp + 0x4c]
lea esi, [eax + 4]
lea edi, [esp + 0x13]
call fcn.00402850
test al, al
jne 0x424625
lea ecx, [esp + 0x44]
call fcn.00439080
lea ecx, [esp + 0x16c]
call fcn.00439080
lea ecx, [esp + 0x14]
call fcn.004382a0
mov eax, dword [esp + 0x294]
test eax, eax
je 0x4245a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x42471f
lea ecx, [esp + 0x44]
call fcn.00439650
cmp byte [esp + 0x13], 0
je 0x42463e
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x424643
call fcn.00435080
test eax, eax
je 0x4245ee
push str.ShowAppboxPicfaceWnd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4246ed
call fcn.0041d0d0
mov eax, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x4a8]
push ecx
push eax
call esi
add esp, 0xc
test al, al
je 0x4246ed
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
push eax
push eax
push eax
lea edx, [esp + 0x34]
push edx
mov byte [0x545a9b], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call esi
test eax, eax
je 0x4246e6
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
cmp eax, 0xffffffff
je 0x4246e6
lea eax, [esp + 0x28]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
jne 0x4246c2
mov byte [0x545a9b], 0
lea ecx, [esp + 0x44]
call fcn.00439080
lea ecx, [esp + 0x16c]
call fcn.00439080
lea ecx, [esp + 0x14]
call fcn.004382a0
mov eax, dword [esp + 0x294]
test eax, eax
je 0x42471d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x6b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6a0]
xor ecx, esp
call fcn.004cc2b1
mov esp, ebp
pop ebp
ret 4