Function at 0x49d2a0
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
mov ebx, ecx
push esi
lea eax, [ebp - 0x88]
mov ecx, dword [ebx + 4]
push edi
push eax
push ecx
mov dword [ebx + 0x410], ebx
mov dword [ebx + 0x3fc], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4dab58]
mov edi, dword [ebx + 4]
test eax, eax
lea esi, [ebx + 0x140]
jne 0x49d2eb
mov dword [0x4dab58], 0
lea edx, [esi + 0x1c]
push edx
push 0x4dab28
push 0x4edfe0
call fcn.00416a70
push 0
push eax
push 0
push 0x200
push 0x54000000
lea eax, [ebp - 0x88]
push 0
push eax
push edi
mov ecx, esi
call fcn.00420690
xor eax, eax
cmp esi, eax
mov dword [ebx + 0x214], eax
je 0x49d330
lea eax, [ebx + 0x144]
mov edi, dword [eax]
mov eax, dword [0x4df730]
test eax, eax
lea esi, [ebx + 0x1b4]
jne 0x49d34b
mov dword [0x4df730], 0
lea ecx, [esi + 0x1c]
push ecx
push 0x4df700
push 0x4edfe0
call fcn.00416a70
push 0
push eax
push 0
push 0
push 0x50010000
lea edx, [ebp - 0x38]
push 0
push edx
push edi
mov ecx, esi
call fcn.00420690
mov dword [ebx + 0x3fc], esi
lea esi, [ebx + 0x160]
mov dword [ebx + 0x18c], 0
mov edx, 0x64
mov eax, dword [esi + 0x18]
test eax, eax
je 0x49d3a2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
jmp 0x49d3a8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x30]
sub eax, ecx
mov ecx, dword [esi + 0x2c]
add edi, ecx
cmp edi, 0x64
jle 0x49d3bb
mov edx, ecx
jmp 0x49d3ce
mov edi, dword [esi + 0x24]
sub eax, edi
mov edi, dword [esi + 0x30]
sub eax, ecx
sub eax, edi
cmp eax, 0x64
jge 0x49d3ce
mov edx, eax
mov ecx, dword [esi + 0x1c]
mov al, byte [esi + 0x40]
cmp ecx, edx
mov dword [esi + 0x1c], edx
setne byte [ebp - 0x15]
test al, al
je 0x49d403
test byte [esi + 0x44], 1
je 0x49d3f0
mov ecx, esi
call fcn.0045b520
jmp 0x49d407
mov eax, dword [esi + 0x44]
shr eax, 2
test al, 1
je 0x49d407
mov ecx, esi
call fcn.0045b6b0
jmp 0x49d407
mov byte [esi + 0x40], 1
mov al, byte [ebp - 0x15]
test al, al
je 0x49d415
mov ecx, esi
call fcn.00426140
lea eax, [ebx + 0x140]
test eax, eax
je 0x49d42a
lea ecx, [ebx + 0x144]
mov dword [ebp - 4], ecx
jmp 0x49d431
mov dword [ebp - 4], 0
push 0
push ecx
mov ecx, esp
push 1
lea edi, [ebx + 0x110]
call fcn.0047b330
push 0
push 0x500190a3
push 0
lea ecx, [ebp - 0x38]
call fcn.00435a80
push ecx
mov ecx, esp
push eax
call fcn.0047b330
mov ecx, dword [ebp - 4]
call fcn.004568d0
push eax
mov ecx, edi
call fcn.004a0660
mov edx, dword [edi]
mov ecx, esi
mov dword [esi], edx
call fcn.00426140
mov eax, dword [ebx + 4]
push 0xe800
push 0x5600094c
push 0
push 0xd5
push eax
call fcn.0040d730
add esp, 0x14
lea esi, [ebx + 0x39c]
mov dword [ebp - 0x10], eax
push 0x31
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x10
jle 0x49d4e0
mov eax, dword [esi]
push 0
push 0
push 0x431
push eax
call edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
call fcn.0043a9c0
mov edx, dword [ebp - 4]
mov eax, dword [esi]
add esp, 4
push edx
push 0
push 0x430
push eax
call edi
mov ecx, dword [ebp - 0x10]
push 0
push 0x4e3a28
push ecx
call fcn.004b4bf0
mov edx, dword [esi]
add esp, 0xc
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x2000000
cmp eax, ecx
je 0x49d516
mov eax, dword [esi]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi]
push 0x1c001c
push 0
push 0x41f
push ecx
call edi
lea edx, [ebp - 4]
push 0xf0
push edx
mov ecx, ebx
call fcn.0049e420
mov eax, dword [eax]
push eax
push 0xe107
push esi
call fcn.004184a0
mov eax, dword [ebp - 4]
mov edx, dword [0x4d9544]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49d575
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49d575
mov edx, dword [ebp - 4]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
push ecx
mov ecx, ebx
mov eax, esp
push 0xf3
push eax
call fcn.0049e420
mov ecx, dword [esi]
push 0x80a6
push ecx
call fcn.004b4cb0
add esp, 8
mov ecx, ebx
mov edx, esp
push 0xf4
push edx
call fcn.0049e420
mov eax, dword [esi]
push 0xe105
push eax
call fcn.004b4cb0
add esp, 8
mov ecx, esp
push 0xf5
push ecx
mov ecx, ebx
call fcn.0049e420
mov edx, dword [esi]
push 0xe106
push edx
call fcn.004b4cb0
add esp, 8
mov ecx, ebx
mov eax, esp
push 0xf7
push eax
call fcn.0049e420
mov ecx, dword [esi]
push 0x80a1
push ecx
call fcn.004b4cb0
add esp, 8
mov ecx, ebx
mov edx, esp
push pe_nt_image_headers32
push edx
call fcn.0049e420
mov eax, dword [esi]
push 0x80a2
push eax
call fcn.004b4cb0
mov ecx, dword [ebx + 4]
add esp, 0xc
push 0xe801
push ecx
push str...._..._.
push 0x56000100
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
lea ecx, [ebx + 0x114]
mov dword [ebp - 0xc], eax
mov dword [ebx + 0xc0], eax
push ecx
mov eax, dword [ecx]
lea edx, [ecx + 8]
mov dword [ebp - 4], edx
call dword [eax + 4]
mov ecx, dword [ebp - 4]
push eax
call fcn.0040d700
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
push ecx
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x49d671
mov dword [ebx + 0x130], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x118], eax
mov ecx, dword [ebx + 0x138]
mov dword [ebp - 0x6c], 0
push ecx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 2
mov dword [ebx + 0x134], 3
call fcn.004c5432
push 0xc
mov dword [ebx + 0x138], 0
call fcn.004c58a5
add esp, 8
mov dword [ebx + 0x138], eax
test eax, eax
je 0x49d805
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [eax], edx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, 0xc
call fcn.004c5440
mov eax, dword [ebx + 0x118]
lea edi, [ebx + 0x118]
mov dword [ebp - 0x1c], esp
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 8], edi
call fcn.0049fce0
mov ecx, dword [edi]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x40]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi]
mov dword [ebp - 0x14], eax
xor eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
push ecx
push eax
push 0x407
push edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x186]
mov word [ebp - 0x188], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], 3
mov dword [ebp - 4], eax
lea eax, [ebp - 0x6c]
sub eax, edi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + edi]
test eax, eax
jne 0x49d77f
mov dword [edi], 0x3fffffff
jmp 0x49d7ca
lea edx, [ebp - 0x188]
push 0x80
push edx
push eax
mov eax, dword [0x4edfe8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x188]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x40]
call fcn.00421730
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add ecx, edx
lea ecx, [ecx + eax + 6]
mov dword [edi], ecx
mov edx, dword [edi]
mov eax, dword [ebp - 0xc]
add edi, 4
dec eax
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
jne 0x49d76d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
push eax
push 3
call fcn.004a05b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x40]
call fcn.00428b30
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x78]
push 3
push eax
lea eax, [ebx + 0x114]
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0x12c
mov dword [ebp - 0x70], 0xfa
call fcn.004994f0
mov ecx, dword [0x4edfa0]
mov edx, dword [ebx + 0x118]
add esp, 0xc
push ecx
push 0
push 0x40f
push edx
call edi
mov eax, dword [0x4edfa0]
mov ecx, dword [ebx + 4]
push eax
push 0
push 0x80
push ecx
call edi
mov edx, dword [0x4edfa4]
mov eax, dword [ebx + 4]
push edx
push 1
push 0x80
push eax
call edi
mov ecx, dword [0x4d9540]
mov edx, 0x4df6e0
test edx, edx
mov dword [ebp - 8], ecx
jne 0x49d883
xor eax, eax
jmp 0x49d88e
push 0x4df6e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4df6e0
push eax
mov eax, dword [0x4ecd48]
lea ecx, [ebp - 8]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004017b0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.00401200
lea ecx, [ebp - 8]
call fcn.004014c0
lea edx, [ebp - 0x10]
push 0xf0
push edx
mov ecx, ebx
call fcn.0049e420
mov ecx, dword [0x4d9540]
mov eax, dword [eax]
mov dword [ebp - 0x1c], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [ebp - 4]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004017b0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401200
lea ecx, [ebp - 0x1c]
call fcn.004014c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49d939
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49d939
mov edx, dword [ebp - 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [ebp - 4]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49d966
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49d966
mov edx, dword [ebp - 4]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49d993
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49d993
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
push 1
lea ecx, [ebx + 0x114]
call fcn.004a07c0
cmp eax, 0xffffffff
je 0x49d9b8
push 0
push 0x4d9e80
push eax
lea ecx, [ebx + 0x118]
call fcn.004799e0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push str.100__
fild dword [ebp - 0x10]
push 0x80ad
fmul qword [0x4d4b58]
call fcn.004c64c8
push eax
push esi
call fcn.004995d0
mov eax, dword [ebp - 0x10]
push str.100__
push 0x80ae
lea eax, [eax + eax*4]
push eax
push esi
mov dword [ebp - 0x14], eax
call fcn.004995d0
mov eax, dword [esi]
add esp, 0x20
push 1
push 0
push 0x454
push eax
call edi
mov ecx, dword [esi]
push 0
push 0
push 0x421
push ecx
call edi
mov edx, dword [esi]
push 0
push 0
push 0x439
push edx
call edi
or ah, 0x10
push eax
mov eax, dword [esi]
push 0
push 0x438
push eax
call edi
mov eax, dword [ebp - 0x14]
push 0x80ac
push eax
push esi
mov dword [ebx + 0x50], eax
call fcn.00499670
mov ecx, dword [ebx + 0x50]
push 0x80ab
push ecx
push esi
mov dword [ebp - 0xc], eax
call fcn.00499670
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
add esp, 0x18
test eax, eax
je 0x49da7f
lea edx, [ebp - 0x24]
lea ecx, [ebx + 0x2c]
push edx
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], 4
call fcn.00438940
mov eax, dword [esi]
test eax, eax
je 0x49da9a
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x2c]
mov word [ebp - 0x20], 8
call fcn.00438940
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
test ecx, ecx
mov dword [ebp - 4], ecx
je 0x49daf8
mov dx, word [eax]
cmp dx, 0xffff
je 0x49daf8
cmp dx, 0xa76d
je 0x49dace
mov dx, word [eax + 4]
add eax, 4
add ecx, 8
cmp dx, 0xffff
jne 0x49dab1
mov dword [ebp - 4], ecx
jmp 0x49daf8
mov dx, word [ecx]
mov dword [ebp - 4], ecx
test dh, 1
jne 0x49daeb
mov cx, word [eax + 2]
or cx, dx
or ch, 1
mov edx, ecx
mov ecx, dword [ebp - 4]
mov word [ecx], dx
mov ax, word [eax + 2]
test word [ecx], ax
je 0x49daf8
or word [ebx + 0x40], ax
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
test edx, edx
mov dword [ebp - 4], edx
je 0x49db56
mov cx, word [eax]
cmp cx, 0xffff
je 0x49db56
cmp cx, 0xa76c
je 0x49db2c
mov cx, word [eax + 4]
add eax, 4
add edx, 8
cmp cx, 0xffff
jne 0x49db0f
mov dword [ebp - 4], edx
jmp 0x49db56
mov cx, word [edx]
mov dword [ebp - 4], edx
test ch, 1
jne 0x49db49
mov dx, word [eax + 2]
or dx, cx
or dh, 1
mov ecx, edx
mov edx, dword [ebp - 4]
mov word [edx], cx
mov ax, word [eax + 2]
test word [edx], ax
je 0x49db56
or word [ebx + 0x40], ax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
test eax, eax
mov dword [ebp - 8], ecx
je 0x49dc07
mov dx, word [ecx]
cmp dx, 0xffff
je 0x49dc07
cmp dx, 0xa773
je 0x49db92
mov dx, word [ecx + 4]
add ecx, 4
add eax, 8
cmp dx, 0xffff
jne 0x49db75
mov dword [ebp - 8], ecx
jmp 0x49dc07
mov edx, dword [ebx + 0xec]
mov dword [ebp - 8], ecx
sub edx, 0
je 0x49dbda
dec edx
je 0x49dbc0
dec edx
jne 0x49dbf5
mov dx, word [eax]
test dh, 4
jne 0x49dbf5
mov cx, word [ecx + 2]
or cx, dx
and ecx, 0xfdff
or ch, 4
jmp 0x49dbef
mov dx, word [eax]
test dh, 2
jne 0x49dbf5
mov cx, word [ecx + 2]
or cx, dx
and ecx, 0xfbff
or ch, 2
jmp 0x49dbef
mov dx, word [eax]
test dh, 6
je 0x49dbf5
mov cx, word [ecx + 2]
or cx, dx
and ecx, 0xf9ff
mov word [eax], cx
mov ecx, dword [ebp - 8]
mov cx, word [ecx + 2]
mov dx, word [eax]
and edx, ecx
test dx, dx
je 0x49dc07
or word [ebx + 0x40], cx
mov eax, dword [ebx + 0xec]
test eax, eax
jne 0x49dc65
mov eax, dword [ebx + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49dc31
mov ecx, dword [ebx + 0x164]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0x160]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x180], 1
je 0x49dc53
mov dword [ebx + 0x180], 1
lea ecx, [ebx + 0x160]
mov dword [ecx + 0x48], 1
call fcn.00426140
mov eax, dword [ebx + 0x144]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x49dc90
push ecx
mov ecx, dword [ebx + 0x144]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
push 0
push 0x80af
push 0x419
push edx
call edi
push 0
push eax
mov eax, dword [esi]
push 0x416
push eax
call edi
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x50]
push 0
push 0x80ab
lea ecx, [eax + 1]
lea eax, [edx + eax - 1]
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi]
push 0x419
push ecx
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x15
call edi
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [esi]
push 0x41d
push eax
call edi
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov eax, 2
push 0
add ecx, eax
sub edx, eax
push ecx
mov dword [ebp - 0x4c], ecx
mov ecx, esp
push 0x80ab
mov dword [ebp - 0x44], edx
call fcn.0047b330
push 0
push 0x50010019
push 0
push ecx
lea edx, [ebp - 0x50]
mov ecx, esp
push edx
call fcn.0047b330
mov eax, dword [esi]
lea ecx, [ebx + 0x108]
push eax
call fcn.004a0600
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x50]
push 0
push 0x80ac
lea ecx, [eax + 1]
lea eax, [edx + eax - 1]
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi]
push 0x419
push ecx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x15
call edi
lea edx, [ebp - 0x60]
push edx
push eax
mov eax, dword [esi]
push 0x41d
push eax
call edi
mov ecx, dword [ebp - 0x5c]
mov eax, 2
add ecx, eax
mov edx, dword [ebp - 0x54]
push 0
push ecx
mov dword [ebp - 0x5c], ecx
sub edx, eax
mov ecx, esp
push 0x80ac
mov dword [ebp - 0x54], edx
call fcn.0047b330
push 0
push 0x50010019
push 0
push ecx
lea edx, [ebp - 0x60]
mov ecx, esp
push edx
call fcn.0047b330
mov eax, dword [esi]
lea ecx, [ebx + 0x10c]
push eax
call fcn.004a0600
mov ecx, dword [esi]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x49dde1
mov edx, dword [esi]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x108]
push 0x5dc0005
push 1
push 0x406
push eax
call edi
mov ecx, dword [ebx + 0x10c]
push 0x3e80005
push 1
push 0x406
push ecx
call edi
mov edx, dword [ebx + 0xfc]
mov eax, dword [ebx + 0x10c]
push edx
push 1
push 0x405
push eax
call edi
mov ecx, dword [ebx + 0xf8]
mov edx, dword [ebx + 0x108]
push ecx
push 1
push 0x405
push edx
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x49dea0
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x49de66
mov ecx, dword [ebx + 4]
lea edi, [ebx + 4]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x49deb5
mov eax, dword [ebx + 0xbc]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
sub ecx, eax
push 0x218
push ecx
mov ecx, dword [ebp - 0x38]
lea edi, [ebx + 4]
sub edx, ecx
push edx
push eax
mov eax, dword [edi]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x49deb5
mov ecx, dword [ebx + 4]
lea edi, [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.00478530
push 0x4df630
lea ecx, [ebp - 0x28]
call fcn.004014f0
mov edx, dword [ebp - 0x28]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.TitleChk
push edx
call fcn.00480e80
add esp, 0x14
test eax, eax
je 0x49df0d
mov eax, dword [ebx + 0x398]
lea ecx, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push str.Title
push eax
push ecx
call fcn.00480fb0
add esp, 0x10
lea ecx, [ebx + 0x398]
push eax
call fcn.0040ec90
lea ecx, [ebp - 0x14]
call fcn.004014c0
push 1
mov ecx, ebx
call fcn.0049d1c0
push 0
lea ecx, [ebx + 0x2c]
call fcn.004a09b0
mov edx, dword [edi]
push 0
push 0xffffffffffffffe6
push edx
call dword [sym.imp.USER32.dll_SetClassLongW]
mov edx, dword [ebx + 0xf4]
mov ecx, dword [ebx + 0x10c]
xor eax, eax
test edx, edx
sete al
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, ebx
call fcn.0049cde0
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi]
push 5
push eax
call edi
lea ecx, [ebp - 0x28]
call fcn.004014c0
lea esp, [ebp - 0x194]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret