Function at 0x1002be40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10130fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edx, 0xfffffffe
mov ecx, edi
call fcn.1002ad60
call fcn.10051b20
test eax, eax
je 0x1002be9f
mov eax, dword [edi + 0x12c]
cdq
push 0xfffffffffffffffe
push edx
push eax
push ecx
call fcn.10051b20
add esp, 4
mov ecx, eax
call fcn.100526f0
mov esi, dword [edi + 0x204]
test esi, esi
je 0x1002beca
cmp byte [esi + 0x30], 0
je 0x1002bebe
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call edx
cmp dword [esi + 0x84], esi
je 0x1002beca
mov byte [esi + 0x64], 1
mov eax, edi
call fcn.1002d380
test eax, eax
je 0x1002bee2
mov eax, edi
call fcn.1002d380
push eax
call fcn.1001c360
mov cl, byte [edi + 0x1cc]
test cl, cl
je 0x1002bef4
mov eax, dword [edi + 0x1c8]
jmp 0x1002bf0b
cmp byte [edi + 0x1d4], 0
je 0x1002bf05
mov eax, dword [edi + 0x1d0]
jmp 0x1002bf0b
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x1002bf53
test cl, cl
je 0x1002bf1b
mov esi, dword [edi + 0x1c8]
jmp 0x1002bf32
cmp byte [edi + 0x1d4], 0
je 0x1002bf2c
mov esi, dword [edi + 0x1d0]
jmp 0x1002bf32
mov esi, dword [edi + 0x1c4]
cmp byte [esi + 0x30], 0
je 0x1002bf47
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call edx
cmp dword [esi + 0x84], esi
je 0x1002bf53
mov byte [esi + 0x64], 1
mov esi, dword [edi + 0x1dc]
test esi, esi
je 0x1002bf7e
cmp byte [esi + 0x30], 1
je 0x1002bf72
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 1
mov ecx, esi
mov byte [esi + 0x30], 1
call edx
cmp dword [esi + 0x84], esi
je 0x1002bf7e
mov byte [esi + 0x64], 1
mov eax, edi
call fcn.1002d380
test eax, eax
je 0x1002bfd6
mov eax, edi
call fcn.1002d380
cmp dword [eax + 0x144], 0
je 0x1002bfd6
mov eax, edi
call fcn.1002d380
test eax, eax
jne 0x1002bfa8
xor esi, esi
jmp 0x1002bfb5
mov eax, edi
call fcn.1002d380
mov esi, dword [eax + 0x144]
cmp byte [esi + 0x30], 0
je 0x1002bfca
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call edx
cmp dword [esi + 0x84], esi
je 0x1002bfd6
mov byte [esi + 0x64], 1
mov eax, edi
call fcn.1002b7a0
call fcn.100025a0
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x1002c019
mov esi, dword [eax + 0x1e4]
test esi, esi
je 0x1002c019
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x1002c019
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1002c019
mov esi, dword [esi + 0x12c]
push 0
push esi
call ebx
call fcn.100025a0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1002c03e
mov eax, dword [eax + 0x1e8]
test eax, eax
je 0x1002c03e
mov eax, dword [eax + 0x12c]
test eax, eax
je 0x1002c03e
push 0
push eax
call ebx
call fcn.100025a0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1002c074
mov esi, dword [eax + 0x200]
test esi, esi
je 0x1002c074
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x1002c074
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1002c074
mov esi, dword [esi + 0x12c]
push 0
push esi
call ebx
mov esi, dword [edi + 0x1f4]
test esi, esi
je 0x1002c0b8
cmp byte [esi + 0x30], 0
je 0x1002c0b8
mov eax, dword [esi + 0x80]
test eax, eax
je 0x1002c097
call fcn.1007e510
test al, al
je 0x1002c0b8
cmp byte [esi + 0x30], 0
je 0x1002c0ac
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call edx
cmp dword [esi + 0x84], esi
je 0x1002c0b8
mov byte [esi + 0x64], 1
mov eax, dword [edi + 0x1dc]
test eax, eax
je 0x1002c285
cmp dword [eax + 0x124], 0
je 0x1002c285
test eax, eax
je 0x1002c285
cmp dword [eax + 0x120], 0
je 0x1002c285
call fcn.100026f0
test eax, eax
je 0x1002c285
push 0
lea eax, [esp + 0x20]
call fcn.100638d0
mov dword [esp + 0x48], 0
call fcn.10002720
mov eax, dword [eax + 0x118]
push eax
lea esi, [esp + 0x20]
call fcn.10001b70
add esp, 4
push str.NewTipsSet
mov ecx, str.Main
mov eax, esi
call fcn.10063950
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, str.Picface_Shop_Show
mov edx, esi
call fcn.10001e20
mov ecx, 1
mov ebx, str.ShopEnter
mov edi, str.Main
call fcn.10063a10
push 0x1013c8bc
push str.NewTipsSet
mov eax, edi
mov ecx, esi
call fcn.10063a60
call fcn.10002720
mov ecx, dword [eax + 0x118]
push ecx
call fcn.10001ca0
add esp, 4
call fcn.10002720
push eax
call fcn.10003170
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1dc]
xor ebx, ebx
cmp eax, ebx
jne 0x1002c19c
xor eax, eax
jmp 0x1002c1a2
mov eax, dword [eax + 0x120]
mov esi, eax
call fcn.1003f460
mov esi, dword [edi + 0x208]
cmp esi, ebx
je 0x1002c1c5
mov eax, esi
call fcn.1007e510
test al, al
jne 0x1002c1c5
mov al, 1
call fcn.1007d620
mov esi, dword [edi + 0x218]
cmp esi, ebx
je 0x1002c1e1
mov eax, esi
call fcn.1007e510
test al, al
je 0x1002c1e1
xor al, al
call fcn.1007d620
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1002c20b
push 0x1013c8bc
push esi
call fcn.100cf808
add esp, 8
test eax, eax
je 0x1002c20b
mov eax, edi
call fcn.1002d480
mov ecx, esi
mov edx, eax
call fcn.1003f330
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
mov byte [esp + 0x48], 1
mov edi, dword [edi + 0x1dc]
cmp edi, ebx
jne 0x1002c226
xor edi, edi
jmp 0x1002c22c
mov edi, dword [edi + 0x120]
push edi
lea ecx, [esp + 0x18]
call fcn.1003d440
lea ecx, [esp + 0x14]
call fcn.10061940
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x1002c26e
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x30], edx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
jne 0x1002c257
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4