Function at 0x4fad00
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 [0x547e68]
mov edi, dword [ebx + 4]
test eax, eax
lea esi, [ebx + 0x140]
jne 0x4fad4b
mov dword [0x547e68], 0
lea edx, [esi + 0x1c]
push edx
push 0x547e38
push 0x55e2f8
call fcn.0041ae50
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.00424bb0
xor eax, eax
cmp esi, eax
mov dword [ebx + 0x214], eax
je 0x4fad90
lea eax, [ebx + 0x144]
mov edi, dword [eax]
mov eax, dword [0x54f458]
test eax, eax
lea esi, [ebx + 0x1b4]
jne 0x4fadab
mov dword [0x54f458], 0
lea ecx, [esi + 0x1c]
push ecx
push 0x54f428
push 0x55e2f8
call fcn.0041ae50
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.00424bb0
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 0x4fae02
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
jmp 0x4fae08
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 0x4fae1b
mov edx, ecx
jmp 0x4fae2e
mov edi, dword [esi + 0x24]
sub eax, edi
mov edi, dword [esi + 0x30]
sub eax, ecx
sub eax, edi
cmp eax, 0x64
jge 0x4fae2e
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 0x4fae63
test byte [esi + 0x44], 1
je 0x4fae50
mov ecx, esi
call fcn.00483840
jmp 0x4fae67
mov eax, dword [esi + 0x44]
shr eax, 2
test al, 1
je 0x4fae67
mov ecx, esi
call fcn.00483d20
jmp 0x4fae67
mov byte [esi + 0x40], 1
mov al, byte [ebp - 0x15]
test al, al
je 0x4fae75
mov ecx, esi
call fcn.0042dc40
lea eax, [ebx + 0x140]
test eax, eax
je 0x4fae8a
lea ecx, [ebx + 0x144]
mov dword [ebp - 4], ecx
jmp 0x4fae91
mov dword [ebp - 4], 0
push 0
push ecx
mov ecx, esp
push 1
lea edi, [ebx + 0x110]
call fcn.004124c0
push 0
push 0x500190a3
push 0
lea ecx, [ebp - 0x38]
call fcn.00432ff0
push ecx
mov ecx, esp
push eax
call fcn.004124c0
mov ecx, dword [ebp - 4]
call fcn.0046fbf0
push eax
mov ecx, edi
call fcn.004fe0c0
mov edx, dword [edi]
mov ecx, esi
mov dword [esi], edx
call fcn.0042dc40
mov eax, dword [ebx + 4]
push 0xe800
push 0x5600094c
push 0
push 0xd5
push eax
call fcn.00411430
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 0x4faf40
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.00442640
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 0x553d98
push ecx
call fcn.00518780
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 0x4faf76
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.004fbe80
mov eax, dword [eax]
push eax
push 0xe107
push esi
call fcn.0041c740
mov eax, dword [ebp - 4]
mov edx, dword [0x546564]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4fafd5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4fafd5
mov edx, dword [ebp - 4]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push ecx
mov ecx, ebx
mov eax, esp
push 0xf3
push eax
call fcn.004fbe80
mov ecx, dword [esi]
push 0x80a6
push ecx
call fcn.00518840
add esp, 8
mov ecx, ebx
mov edx, esp
push 0xf4
push edx
call fcn.004fbe80
mov eax, dword [esi]
push 0xe105
push eax
call fcn.00518840
add esp, 8
mov ecx, esp
push 0xf5
push ecx
mov ecx, ebx
call fcn.004fbe80
mov edx, dword [esi]
push 0xe106
push edx
call fcn.00518840
add esp, 8
mov ecx, ebx
mov eax, esp
push 0xf7
push eax
call fcn.004fbe80
mov ecx, dword [esi]
push 0x80a1
push ecx
call fcn.00518840
add esp, 8
mov ecx, ebx
mov edx, esp
push pe_nt_image_headers32
push edx
call fcn.004fbe80
mov eax, dword [esi]
push 0x80a2
push eax
call fcn.00518840
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.00411400
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 0x4fb0d1
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.00531732
push 0xc
mov dword [ebx + 0x138], 0
call fcn.00531ba5
add esp, 8
mov dword [ebx + 0x138], eax
test eax, eax
je 0x4fb265
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.00531740
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.004fd740
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 0x4fb1df
mov dword [edi], 0x3fffffff
jmp 0x4fb22a
lea edx, [ebp - 0x188]
push 0x80
push edx
push eax
mov eax, dword [0x55e300]
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.00429f10
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 0x4fb1cd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
push eax
push 3
call fcn.004fe010
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.004124d0
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.004f6f50
mov ecx, dword [0x55e2b8]
mov edx, dword [ebx + 0x118]
add esp, 0xc
push ecx
push 0
push 0x40f
push edx
call edi
mov eax, dword [0x55e2b8]
mov ecx, dword [ebx + 4]
push eax
push 0
push 0x80
push ecx
call edi
mov edx, dword [0x55e2bc]
mov eax, dword [ebx + 4]
push edx
push 1
push 0x80
push eax
call edi
mov ecx, dword [0x546560]
mov edx, 0x54f408
test edx, edx
mov dword [ebp - 8], ecx
jne 0x4fb2e3
xor eax, eax
jmp 0x4fb2ee
push 0x54f408
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x54f408
push eax
mov eax, dword [0x55d048]
lea ecx, [ebp - 8]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004059f0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.00405440
lea ecx, [ebp - 8]
call fcn.00405700
lea edx, [ebp - 0x10]
push 0xf0
push edx
mov ecx, ebx
call fcn.004fbe80
mov ecx, dword [0x546560]
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.004059f0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00405440
lea ecx, [ebp - 0x1c]
call fcn.00405700
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4fb399
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4fb399
mov edx, dword [ebp - 0xc]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [ebp - 4]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4fb3c6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4fb3c6
mov edx, dword [ebp - 4]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4fb3f3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4fb3f3
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push 1
lea ecx, [ebx + 0x114]
call fcn.004fe220
cmp eax, 0xffffffff
je 0x4fb418
push 0
push 0x547128
push eax
lea ecx, [ebx + 0x118]
call fcn.00488f90
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 [0x541e90]
call fcn.005327d8
push eax
push esi
call fcn.004f7030
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.004f7030
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.004f70d0
mov ecx, dword [ebx + 0x50]
push 0x80ab
push ecx
push esi
mov dword [ebp - 0xc], eax
call fcn.004f70d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
add esp, 0x18
test eax, eax
je 0x4fb4df
lea edx, [ebp - 0x24]
lea ecx, [ebx + 0x2c]
push edx
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], 4
call fcn.0043cde0
mov eax, dword [esi]
test eax, eax
je 0x4fb4fa
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x2c]
mov word [ebp - 0x20], 8
call fcn.0043cde0
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
test ecx, ecx
mov dword [ebp - 4], ecx
je 0x4fb558
mov dx, word [eax]
cmp dx, 0xffff
je 0x4fb558
cmp dx, 0xa76d
je 0x4fb52e
mov dx, word [eax + 4]
add eax, 4
add ecx, 8
cmp dx, 0xffff
jne 0x4fb511
mov dword [ebp - 4], ecx
jmp 0x4fb558
mov dx, word [ecx]
mov dword [ebp - 4], ecx
test dh, 1
jne 0x4fb54b
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 0x4fb558
or word [ebx + 0x40], ax
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
test edx, edx
mov dword [ebp - 4], edx
je 0x4fb5b6
mov cx, word [eax]
cmp cx, 0xffff
je 0x4fb5b6
cmp cx, 0xa76c
je 0x4fb58c
mov cx, word [eax + 4]
add eax, 4
add edx, 8
cmp cx, 0xffff
jne 0x4fb56f
mov dword [ebp - 4], edx
jmp 0x4fb5b6
mov cx, word [edx]
mov dword [ebp - 4], edx
test ch, 1
jne 0x4fb5a9
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 0x4fb5b6
or word [ebx + 0x40], ax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
test eax, eax
mov dword [ebp - 8], ecx
je 0x4fb667
mov dx, word [ecx]
cmp dx, 0xffff
je 0x4fb667
cmp dx, 0xa773
je 0x4fb5f2
mov dx, word [ecx + 4]
add ecx, 4
add eax, 8
cmp dx, 0xffff
jne 0x4fb5d5
mov dword [ebp - 8], ecx
jmp 0x4fb667
mov edx, dword [ebx + 0xec]
mov dword [ebp - 8], ecx
sub edx, 0
je 0x4fb63a
dec edx
je 0x4fb620
dec edx
jne 0x4fb655
mov dx, word [eax]
test dh, 4
jne 0x4fb655
mov cx, word [ecx + 2]
or cx, dx
and ecx, 0xfdff
or ch, 4
jmp 0x4fb64f
mov dx, word [eax]
test dh, 2
jne 0x4fb655
mov cx, word [ecx + 2]
or cx, dx
and ecx, 0xfbff
or ch, 2
jmp 0x4fb64f
mov dx, word [eax]
test dh, 6
je 0x4fb655
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 0x4fb667
or word [ebx + 0x40], cx
mov eax, dword [ebx + 0xec]
test eax, eax
jne 0x4fb6c5
mov eax, dword [ebx + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4fb691
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 0x4fb6b3
mov dword [ebx + 0x180], 1
lea ecx, [ebx + 0x160]
mov dword [ecx + 0x48], 1
call fcn.0042dc40
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 0x4fb6f0
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.004124c0
push 0
push 0x50010019
push 0
push ecx
lea edx, [ebp - 0x50]
mov ecx, esp
push edx
call fcn.004124c0
mov eax, dword [esi]
lea ecx, [ebx + 0x108]
push eax
call fcn.004fe060
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.004124c0
push 0
push 0x50010019
push 0
push ecx
lea edx, [ebp - 0x60]
mov ecx, esp
push edx
call fcn.004124c0
mov eax, dword [esi]
lea ecx, [ebx + 0x10c]
push eax
call fcn.004fe060
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 0x4fb841
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 0x4fb900
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4fb8c6
mov ecx, dword [ebx + 4]
lea edi, [ebx + 4]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4fb915
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 0x4fb915
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.00488dc0
push 0x54f358
lea ecx, [ebp - 0x28]
call fcn.00405730
mov edx, dword [ebp - 0x28]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.TitleChk
push edx
call fcn.0048dbb0
add esp, 0x14
test eax, eax
je 0x4fb96d
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.0048def0
add esp, 0x10
lea ecx, [ebx + 0x398]
push eax
call fcn.004129b0
lea ecx, [ebp - 0x14]
call fcn.00405700
push 1
mov ecx, ebx
call fcn.004fac20
push 0
lea ecx, [ebx + 0x2c]
call fcn.004fe410
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.004fa840
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.00405700
lea esp, [ebp - 0x194]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret