Function at 0x49bc10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58dbd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [edi + 4]
sub dword [ebp - 0x18], 0x44
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49bc67
lea edx, [edi + 0xfc]
push edx
push ebx
mov dword [edi + 0xf8], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x200
push 0x56000000
push 0
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [ebp - 0x14], esp
push edx
lea ecx, [edi + 0x24]
call fcn.0049bb90
mov eax, dword [edi + 0x28]
push 0xf
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov ecx, dword [edi + 0xf8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xa
push 0x449
push ecx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov edx, dword [edi + 0xf8]
push 0xa
push 0x4a0
push edx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov eax, dword [edi + 0xf8]
push 0xa
push 0x49f
push eax
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov ecx, dword [edi + 0xf8]
push 0xa
push 0x475
push ecx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov edx, dword [edi + 0xf8]
push 0xa
push 0xffffffffffffffff
push edx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov eax, dword [edi + 0xf8]
push 0xa
push 0x4a1
push eax
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov ecx, dword [edi + 0xf8]
push 0xa
push 0x4a2
push ecx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
push 0xc
push 2
mov edx, dword [edi + 0xf8]
push edx
call ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00497cf0
mov eax, dword [edi + 0x13c]
cmp dword [eax - 4], 1
lea ecx, [edi + 0x13c]
jle 0x49bda4
mov eax, dword [eax - 0xc]
push eax
call fcn.00403bd0
mov eax, dword [edi + 0x13c]
mov ecx, dword [edi + 4]
push eax
push 0
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x138]
push ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004021d0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00499000
xor ecx, ecx
mov dword [edi + 0x130], eax
cmp eax, ecx
jle 0x49be16
mov eax, 1
push eax
mov ecx, edi
mov dword [edi + 0x12c], eax
mov dword [edi + 0x128], eax
call fcn.0049b040
jmp 0x49be24
jne 0x49be24
mov dword [edi + 0x12c], ecx
mov dword [edi + 0x128], ecx
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
cmp dword [eax - 4], 1
jle 0x49be56
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x130]
push 0xa
push eax
push edx
call fcn.00555bde
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test ecx, ecx
jne 0x49be73
xor eax, eax
jmp 0x49be96
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x14], edx
jmp 0x49be80
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x49be80
sub eax, dword [ebp - 0x14]
sar eax, 1
js 0x49c00a
cmp eax, dword [ecx - 8]
jg 0x49c00a
mov dword [ecx - 0xc], eax
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x124]
push eax
push 0x33b
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [edi + 0x130]
mov eax, dword [edi + 0x128]
push edx
push eax
push str.__d__d
lea ecx, [ebp - 0x224]
push 0x80
push ecx
call fcn.00555ab3
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x124]
push 0x80
push eax
call fcn.00556d28
mov ecx, dword [edi + 4]
add esp, 0x20
push 0
push 0
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
lea edx, [ebp - 0x124]
push edx
push 0x5a35b4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xe00
push eax
lea ecx, [edi + 0xf8]
mov dword [edi + 0x20], eax
call fcn.00497cf0
mov eax, dword [edi + 0x28]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [edi + 0x28]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [edi + 0x20]
test eax, eax
je 0x49bf7a
lea esi, [eax - 0x20]
jmp 0x49bf7c
xor esi, esi
mov eax, dword [edi + 0x128]
mov ecx, dword [esi + 4]
push 1
push eax
push 0x4a1
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x49bfc8
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x49bfb4
lea eax, [esi - 0x20]
jmp 0x49bfb6
xor eax, eax
mov edx, dword [eax + 4]
push 0x4a1
push edx
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.00498f80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49bff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00401150
int3