Function at 0x487af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce5b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push esi
push edi
push 0
push eax
mov edi, ecx
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x14], edi
mov ecx, ebx
call fcn.00487680
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x487b5b
cmp dword [ebp - 0x20], eax
jne 0x487b5b
push ebx
push str.Invalid_Gui_name.
mov ecx, edi
call fcn.0044ec90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
call fcn.0042c1a0
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x487b92
mov ecx, dword [ebp - 0x14]
push ebx
push str.Parameter_1_invalid.
call fcn.0044ec90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x4fc58c]
mov ebx, 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4fc588]
mov dword [ebp - 0x38], eax
lea eax, [edi - 1]
mov dword [0x4fc58c], 0
mov dword [0x4fc588], 0
cmp eax, 0x12
ja case.0x487bd4.2
movzx eax, byte [eax + 0x488510]
jmp dword [eax*4 + 0x4884fc]
test esi, esi
je 0x4884ae
mov ecx, esi
call fcn.00489fe0
mov ebx, eax
jmp case.0x487d3c.6
test esi, esi
jne 0x487c84
cmp dword [0x4fd2bc], esi
jne 0x487c1c
push 0x73a0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [0x4fd2bc], eax
test eax, eax
je 0x487e69
push 0xd8
call fcn.004ccb15
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004871a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x487e69
mov eax, dword [ebp - 0x1c]
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x487e5b
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4f90f4]
mov edi, dword [eax + 0x48]
test edi, edi
je 0x487cad
add dword [edi + 0x20], 0xffffffff
jne 0x487cad
push dword [edi]
call ecx
push 0xd8
push edi
call fcn.004ccae4
mov eax, dword [0x4f90f4]
add esp, 0xc
inc dword [esi + 0x20]
mov dword [eax + 0x48], esi
jmp case.0x487d3c.6
mov eax, dword [ebp - 0x24]
push str.LastFoundExist
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne case.0x487bd4.2
test esi, esi
je 0x487ce5
mov eax, dword [0x4f90f4]
mov ecx, dword [esi + 4]
mov dword [eax + 0xc4], ecx
jmp case.0x487d3c.6
mov eax, dword [0x4f90f4]
xor ecx, ecx
mov dword [eax + 0xc4], ecx
jmp case.0x487d3c.6
push 0x3a
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x487d1c
test esi, esi
je 0x487d2d
mov ecx, esi
call fcn.00489fe0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
jmp 0x487d49
mov dword [ebp + 8], 0
jmp 0x487d49
test esi, esi
jne 0x487e41
lea eax, [edi - 6]
cmp eax, 0xc
ja case.0x487d3c.11
movzx eax, byte [eax + 0x48852c]
jmp dword [eax*4 + 0x488524]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [0x4fbc84]
cmp dword [0x4fb9e0], eax
jne 0x487d8f
lea esi, [eax + eax]
test eax, eax
jne 0x487d62
mov esi, 8
lea eax, [esi*4]
push eax
push dword [0x4fb9dc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
jne 0x487d84
xor ebx, ebx
jmp case.0x487d3c.6
mov dword [0x4fb9dc], eax
mov dword [0x4fbc84], esi
cmp dword [0x4fd2bc], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jne 0x487db5
push 0x73a0
call ebx
add esp, 4
mov dword [0x4fd2bc], eax
test eax, eax
je 0x487e69
push 0xd8
call fcn.004ccb15
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004871a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x487e69
push 0xfa00
call ebx
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x487e5b
mov eax, dword [ebp + 8]
add eax, eax
mov dword [ebp + 8], eax
add eax, 2
push eax
call ebx
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x487e4e
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
push ebx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
xor ecx, ecx
add esp, 0xc
mov word [ebx + eax], cx
mov ecx, dword [0x4fb9e0]
mov eax, dword [0x4fb9dc]
mov dword [esi + 0x14], 0x3e8
mov dword [eax + ecx*4], esi
inc ecx
mov dword [0x4fb9e0], ecx
mov ebx, dword [ebp + 0xc]
cmp edi, 1
jne 0x487e82
mov eax, dword [ebp - 0x24]
jmp 0x487e8c
push dword [esi + 0x18]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
add esp, 4
push 0xd8
push esi
call fcn.004ccae4
add esp, 8
mov ecx, dword [ebp - 0x14]
push 0x4cfc40
push 0x4e3bcc
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
cmp edi, 0x13
jne 0x487ec1
mov eax, ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
test eax, eax
je 0x487eda
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xd]
push ecx
push eax
mov ecx, esi
call fcn.0048f090
test eax, eax
jne 0x487eda
xor ebx, ebx
jmp case.0x487d3c.6
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
cmp dword [esi + 4], 0
jne 0x487f0b
mov ecx, esi
call fcn.0048a260
test eax, eax
jne 0x487f0b
mov ecx, esi
call fcn.00489fe0
mov ecx, dword [ebp - 0x14]
push 0x4cfc40
push str.Could_not_create_window.
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
mov ecx, dword [0x4f90f4]
cmp edi, 0x13
jne 0x487f4b
mov eax, dword [ecx + 0x48]
mov dword [ebp + 8], eax
test eax, eax
je 0x487f45
add dword [eax + 0x20], 0xffffffff
jne 0x487f45
push dword [eax]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
push 0xd8
push dword [ebp + 8]
call fcn.004ccae4
mov ecx, dword [0x4f90f4]
add esp, 0xc
inc dword [esi + 0x20]
mov dword [ecx + 0x48], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
test eax, eax
je 0x487f86
push 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], 0x780030
push eax
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultow]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004b5b70
mov ecx, dword [0x4f90f4]
cmp dword [ebp - 0x2c], 0
je 0x488007
cmp byte [ebp - 0xd], 0
je 0x487f9b
mov eax, dword [esi + 4]
mov dword [ecx + 0xc4], eax
cmp dword [ebp - 0x18], 0
je 0x487fe2
mov edi, dword [ecx + 0x4c]
test edi, edi
je 0x487fca
add dword [edi + 0x20], 0xffffffff
jne 0x487fca
push dword [edi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push 0xd8
push edi
call fcn.004ccae4
mov ecx, dword [0x4f90f4]
add esp, 0xc
cmp dword [ebp - 0x18], 1
mov edi, dword [ebp - 0x30]
jne 0x487fdb
inc dword [esi + 0x20]
mov dword [ecx + 0x4c], esi
jmp 0x487fe2
mov dword [ecx + 0x4c], 0
cmp edi, 0x13
jne 0x4884a3
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x4884a3
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4884a3
lea eax, [edi - 2]
cmp eax, 0x10
ja case.0x488013.11
jmp dword [eax*4 + 0x48853c]
mov ecx, ebx
call fcn.0042c650
mov byte [ebp + 8], al
test al, al
jne 0x48803d
mov ecx, dword [ebp - 0x14]
push ebx
push str.Parameter_2_invalid.
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0048a7f0
mov ebx, eax
jmp case.0x487d3c.6
cmp word [ebx], 0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x48807e
mov ecx, ebx
call fcn.0041a370
cmp byte [esi + 0xc8], 0
je 0x48807b
push 0x60
push dword [0x4fdb64]
push eax
call edi
mov dword [esi + 0x78], eax
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x4884a3
call fcn.0041a370
cmp byte [esi + 0xc8], 0
je 0x4880a4
push 0x60
push dword [0x4fdb64]
push eax
call edi
mov dword [esi + 0x7c], eax
jmp 0x4884a3
cmp word [ebx], 0
je 0x488159
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0xac8]
test edi, edi
je 0x4880d7
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4880ec
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4880c3
mov ecx, dword [ebp - 0x14]
push ebx
push str.Menu_does_not_exist.
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
cmp edi, dword [0x4fe6d4]
je 0x4880d7
push 2
mov ecx, edi
call fcn.0049c6a0
push dword [edi + 0x20]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x48811e
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [esi + 0x74], 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
lea eax, [ebp - 0x364]
mov ecx, esi
push eax
push edi
call fcn.0049a300
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4884a3
push eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
mov dword [esi + 0x74], eax
jmp 0x4884a3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4884a3
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [esi + 0x74], 0
jmp 0x4884a3
push dword [ebp + 0x10]
mov ecx, esi
push ebx
call fcn.00493580
mov ebx, eax
jmp case.0x487d3c.6
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.NoHide
push ebx
call eax
add esp, 8
mov ecx, esi
test eax, eax
setne al
movzx eax, al
push eax
call fcn.00494480
mov ebx, eax
jmp case.0x487d3c.6
mov eax, dword [esi + 4]
test eax, eax
je 0x4884a3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4884a3
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4884a3
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4884a3
push 9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4884a3
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
imul eax, dword [esi + 0x50], 0x94
mov ecx, ebx
add eax, dword [0x4fd2bc]
push eax
call fcn.00495c10
mov ecx, dword [ebp + 8]
add esp, 8
cmp ecx, 0xffffffff
je 0x48822e
mov dword [esi + 0x54], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, 0xffffffff
jle 0x488246
mov dword [esi + 0x50], eax
mov ebx, 1
jmp 0x4884ae
xor ebx, ebx
jmp 0x4884ae
cmp word [ebx], 0
je 0x4884a3
push ebx
mov ecx, esi
call fcn.00495a40
cmp eax, dword [esi + 0x10]
jae 0x4884a3
shl eax, 6
add eax, dword [esi + 0x18]
mov cl, byte [eax + 4]
cmp edi, 0xe
jne 0x488287
cmp cl, 0xa
jne 0x4884a3
mov dword [esi + 0x48], eax
jmp 0x4884a3
cmp cl, 0xb
jne 0x4884a3
mov dword [esi + 0x4c], eax
jmp 0x4884a3
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
jne 0x4882b4
cmp word [ebx], 0
jne 0x488335
mov dword [ebp + 8], 0xff
jmp 0x4882d2
mov ecx, edi
call fcn.0041a370
sub eax, 1
mov dword [ebp + 8], eax
js 0x488426
cmp eax, 0xfe
jg 0x488426
mov ch, byte [esi + 0xc1]
movzx eax, ch
cmp eax, dword [ebp + 8]
je 0x48832b
cmp ch, 0xff
je 0x48831e
mov edi, dword [esi + 0x10]
xor cl, cl
xor eax, eax
test edi, edi
je 0x48831b
mov edx, dword [esi + 0x18]
add edx, 4
cmp byte [edx], 0x13
jne 0x488301
cmp cl, ch
je 0x48830b
inc cl
inc eax
add edx, 0x40
cmp eax, edi
jb 0x4882f6
jmp 0x48831b
shl eax, 6
add eax, dword [esi + 0x18]
je 0x48831b
push eax
mov ecx, esi
call fcn.00499720
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov byte [esi + 0xc1], al
mov byte [esi + 0x44], 0
cmp word [ebx], 0
je 0x4884a3
cmp word [edi], 0
jne 0x48835a
cmp byte [esi + 0xc1], 0xff
jne 0x48835a
mov al, byte [esi + 0xc0]
test al, al
je 0x488352
dec al
jmp 0x488354
xor al, al
mov byte [esi + 0xc1], al
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.Exact
push dword [ebp + 0x14]
call eax
add esp, 8
test eax, eax
sete byte [ebp + 0x10]
test eax, eax
je 0x4883ab
push 0
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.004b1280
add esp, 0xc
test eax, eax
je 0x4883ab
mov ecx, ebx
call fcn.0041a370
mov ecx, eax
sub ecx, 1
js 0x488028
cmp ecx, 0xff
jle 0x488408
jmp 0x488028
mov ch, byte [esi + 0xc1]
cmp ch, 0xff
je 0x4883da
mov edi, dword [esi + 0x10]
xor cl, cl
xor eax, eax
test edi, edi
je 0x4883da
mov edx, dword [esi + 0x18]
add edx, 4
cmp byte [edx], 0x13
jne 0x4883d2
cmp cl, ch
je 0x4883ef
inc cl
inc eax
add edx, 0x40
cmp eax, edi
jb 0x4883c7
mov ecx, dword [ebp - 0x14]
push ebx
push str.Tab_name_doesnt_exist_yet.
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
shl eax, 6
add eax, dword [esi + 0x18]
je 0x4883da
push dword [ebp + 0x10]
push ebx
push eax
call fcn.00499280
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4883da
movzx eax, byte [esi + 0xc2]
cmp eax, ecx
je 0x4884a3
mov byte [esi + 0xc2], cl
mov byte [esi + 0x44], 0
jmp 0x4884a3
mov ecx, dword [ebp - 0x14]
push edi
push str.Parameter_3_invalid.
call fcn.0044ec90
mov ebx, eax
jmp case.0x487d3c.6
cmp word [ebx], 0
je 0x48844f
lea eax, [esi + 0x60]
mov ecx, ebx
push eax
lea edx, [esi + 0x58]
call fcn.004b2690
add esp, 4
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x488467
lea eax, [esi + 0x64]
push eax
lea edx, [esi + 0x5c]
call fcn.004b2690
add esp, 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4884a3
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4884a3
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push 0x4e6140
push ebx
call eax
add esp, 8
neg eax
sbb eax, eax
neg eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FlashWindow]
mov ebx, 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4884e4
mov eax, dword [0x4fc58c]
test eax, eax
je 0x4884d6
push eax
call ecx
add esp, 4
cmp dword [0x4fc588], 0x400000
jbe 0x4884d6
dec dword [0x4fc584]
mov eax, dword [ebp - 0x38]
mov dword [0x4fc58c], esi
mov dword [0x4fc588], eax
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10